Hello,
I am using VRAY for Blender to render some line art using the Toon Material node (not the Toon Effect, although I imagine things are much the same with both.) It seems that the Documentation does not yet include this node.
My current setup is a White Light BRDF node plugged into the Toon node to give me shadeless white with black lines (global illumination is disabled.)
I am now trying to figure out the best way to use the Toon options and inputs, but I don't have the greatest understanding of how things should be done in VRAY nodes (I'm used to Cycles).
It looks like I can use a texture to control the Line Thickness via the Line Width Tex input. I would like to use this to make the lines thinner as they get further away from the camera. I imagine that I need to somehow get the Z-Depth, convert it to a texture, and plug that into Line Width Tex, with the proper Depth distance settings. I have tried plugging the Z-Depth node's Channel output into the Line Width Tex input, but this does not seem work. I must need some sort of texture node to convert it? Can anyone shed any light on this?
I am also looking to understand more of the options that appear in the Properties section of the N panel when the Toon Material node is selected. Specifically, if anyone can fill me in one what the following do, that would be great:
Divide by Dist
Do Secondary
Normal Threshold
Trace Bias
Z Threshold
Thank you!
I am using VRAY for Blender to render some line art using the Toon Material node (not the Toon Effect, although I imagine things are much the same with both.) It seems that the Documentation does not yet include this node.
My current setup is a White Light BRDF node plugged into the Toon node to give me shadeless white with black lines (global illumination is disabled.)
I am now trying to figure out the best way to use the Toon options and inputs, but I don't have the greatest understanding of how things should be done in VRAY nodes (I'm used to Cycles).
It looks like I can use a texture to control the Line Thickness via the Line Width Tex input. I would like to use this to make the lines thinner as they get further away from the camera. I imagine that I need to somehow get the Z-Depth, convert it to a texture, and plug that into Line Width Tex, with the proper Depth distance settings. I have tried plugging the Z-Depth node's Channel output into the Line Width Tex input, but this does not seem work. I must need some sort of texture node to convert it? Can anyone shed any light on this?
I am also looking to understand more of the options that appear in the Properties section of the N panel when the Toon Material node is selected. Specifically, if anyone can fill me in one what the following do, that would be great:
Divide by Dist
Do Secondary
Normal Threshold
Trace Bias
Z Threshold
Thank you!