Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Toon shader alpha ignoring fill

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
Eden_Soto2
652 Views, 7 Replies

Toon shader alpha ignoring fill

Can't quite figure out why the alpha channel for the toon shader I have on an object is only outputting the lines and not the fills (see below/attached)

Any ideas why this happening?

6214-annotation-2020-03-09-104931.png

Labels (2)
7 REPLIES 7
Message 2 of 8
Message 3 of 8
Eden_Soto2
in reply to: Eden_Soto2

@ I guess that's a workaround, yes... ideally, it would be nice to just have the alpha be whatever has color in the composite so you don't have to go through extra steps to composite an alpha in post... my expectations for the alpha output would have been more akin to the composite but anywhere there was color, it would be all white so the matte would be the whole object

Message 4 of 8

Yes, absolutely. Unfortunately currently it's a technical limitation with the toon shader. Hopefully it will be solved in a future release.

Message 5 of 8
Eden_Soto2
in reply to: Eden_Soto2

@ I wound up writing all the toon shader materials to a common RGBA AOV and this is the output I was pretty much expecting to be from the start (pic below)... this seems to be saving me a step of having to composite a matte from two AOVs

Appreciate your help!

6215-annotation-2020-03-09-122855.png

Message 6 of 8
chatect
in reply to: Eden_Soto2

Are you able to explain how you did this? im having the same issue  😞

Message 7 of 8
peter_horvath
in reply to: chatect


@chatect wrote:

Are you able to explain how you did this? im having the same issue  😞


Yeah, it's a bit tricky. Toon shader requires the contour filter which outputs only the edges in the alpha. The workaround is to setup custom AOVs with different filters. Like in the attached example:

  • beauty (gaussian filter): renders toon with no edges, entire object in the alpha
  • toon_beauty (contour filter): renders toon with edges, only edges in the alpha
  • edges (contour filter): render edges only

// Peter Horvath
// C4DtoA developer
Message 8 of 8
chatect
in reply to: peter_horvath

thank you!!!!!!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators