Mix material with Toon + specular

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
abraminmotion
Licensed Customer
Posts: 19
Joined: Sat Aug 21, 2021 3:57 am
Location: Los Angeles
Contact:

Image

I want the toon lines to be full black on my alien but with a slimy specular coating over the toon shader. Am I setting this up correctly?

This is the material node:
Image

Is there a way to blend the materials together with different blending modes so the black toon lines are lay over top instead of being blended?
Last edited by abraminmotion on Thu Apr 06, 2023 7:21 pm, edited 1 time in total.
RTX 4090 / i9-12900K / 128GB RAM
frankmci
Licensed Customer
Posts: 917
Joined: Fri May 26, 2017 2:00 pm
Location: Washington DC

Last question first: I think I would use a Composite material instead of a Mix and put a set of pure black and white outlines on top with a simple mask and stick it in the Diffuse channel.

As for the render itself, have you checked the Render Settings to make sure you don't have "Overwrite Kernel Settings" enabled?

For trouble shooting, I'd put your material on a sphere in an empty scene with a single light source & floor and see what you've got. Then start disabling segments of your shader. My guess is the problem lies in the SSS and your scene sampling, since all the other elements look to be rendering the same.

Also, while your at it, it's generally not a good idea to share a node between shaders, like you are doing with that bumpy normal map. Sometimes it works fine, others it causes odd problems.

This might give you some ideas. That's a MAToon.OSL node generating the outline. There are other ways to do it, but that's simple and easy.
Attachments
Cartoon Jelly
Cartoon Jelly
Animation Technical Director - Washington DC
Post Reply

Return to “Maxon Cinema 4D”