Karma Toon Shader

   4666   10   3
User Avatar
Member
48 posts
Joined: Aug. 2017
Offline
Hi, I wanted to experiment a little bit with karma and though I could make a simple toon shader but I can't figure out how to get a simple lambert color output to use as emission. as it the way to do with mantra

is there any materialX node that would give me the value I need ?

Thanks for the help.
User Avatar
Member
146 posts
Joined: Jan. 2018
Offline
Bump to this. I'm interested in knowing if there's any plan to bring non-photorealistic shading to Karma.
User Avatar
Member
39 posts
Joined: Oct. 2021
Offline
+1 I need it too.
Wow factor
User Avatar
Member
22 posts
Joined: Sept. 2015
Offline
need this too
User Avatar
Member
59 posts
Joined: Nov. 2017
Offline
Interested too
User Avatar
Member
12 posts
Joined: Oct. 2018
Offline
HristoVelev
Interested too
Check this out:
https://www.rohandalvi.net/toon-shading [www.rohandalvi.net]
User Avatar
Member
7815 posts
Joined: Sept. 2011
Offline
SciTheSqrl
Hi, I wanted to experiment a little bit with karma and though I could make a simple toon shader but I can't figure out how to get a simple lambert color output to use as emission. as it the way to do with mantra

is there any materialX node that would give me the value I need ?

Thanks for the help.

Use dot product node with world geometry normal and light direction (entered manually as three numbers in world space)
User Avatar
Member
249 posts
Joined: May 2017
Offline
good workaround ⬆️, but will fail with shadows sadly (simple example - ear shadow on the head, etc)
https://twitter.com/oossoonngg [twitter.com]
User Avatar
Member
7815 posts
Joined: Sept. 2011
Offline
osong
good workaround ⬆️, but will fail with shadows sadly (simple example - ear shadow on the head, etc)
yeah, no way to do shadows without ray tracing. Maybe do depthmap shadows?
User Avatar
Member
59 posts
Joined: Nov. 2017
Offline
Yes Rohan's tests are great, buying that! Also there is the fresnel nodes that do the normal/incidence thing. I'll be checking out what's there in vray, blender and renderman too. Style transfer might also be usable as a component, there is a copycat model in nuke that does that.
User Avatar
Member
4 posts
Joined: Sept. 2016
Offline
Just bumping this, I absolutely want to use Karma and LOPs for rendering some projects but unable to work out just how to get karma to do what I want. Was thinking of baking a simple diffuse shader into a texture and sample that in the shader. It's effectively what I would do for a toon shader in say Blender to then use to create banding, but its not exactly realistic as a scene gets anything other than small. Im going to keep looking, but wish I knew more about shading :S
  • Quick Links