VRayToon is a very simple material that produces cartoon-style outlines on objects in the scene. Note that VRayToon is not intended to be a full NPR (non-photorealistic rendering) effect. However, it may be useful in many cases.
Line color - this is the color of the outlines.
Line width - this is the width of the outlines in world units.
Opacity - this option determines the opacity of the outlines.
Distortion - This will be used to distort the outlines. Also a texture can be use to distort the outlines. This works similar to bump-mapping and will take the gradient of the texture as direction for distortion. Note that high output values may be required for larger distortion.
Overlap threshold - this determines when outlines will be created for overlapping parts of one and the same object. Lower values will reduce the internal overlapping lines, while higher values will produce more overlap lines. Don't set this value to pure 1.0 as this will fill curved objects completely.
Trace bias - this parameter depends on the scale of your scene, it determines the ray bias when the outlines are traced in reflections/refractions.
Do secondary - this will cause the outlines to appear in reflections/refractions as well. Note that this may increase render times.
Normal threshold - this determines when lines will be created for parts of the same object with varying surface normals (for example, at the inside edges of a box). A value of 0.0 means that only 90 degrees or larger angles will generate internal lines. Higher values mean that more smooth normals can also generate an edge. Don't set this value to pure 1.0 as this will fill curved objects completely.
Do Silhouette Mult - this option enables and disables the Silhouetter Multiplier.
Silhouette Mult - this value will multiply the silhouette effect.
Divide By Distance - when this option is enabled toon lines on objects that are closer to the camera will be thicker. Toon lines will be thinner the farther away the objects are from the camera.
There are four parameters that allow the user to control the outlines using various texture maps.
Line Color map - a texture map for the outline color. Screen-mapped maps will work best. Maps with World XYZ mapping are also supported, but may not work very well.
Line Width map - a multiplier texture for the outline width. Screen-mapped maps will work best. Maps with World XYZ mapping are also supported, but may not work very well.
Opacity map - a texture for the outline opacity. Screen-mapped textures work best, although World XYZ mapping is also supported.
Distortion map - a texture that will be used to distort the outlines. This works similar to bump-mapping and will take the gradient of the texture as direction for distortion. Note that high output values may be required for larger distortion. Screen-mapped textures work best, although World XYZ mapping is also supported.
- VRayToon only provides outlines. You will need to come up with your own cartoon-style materials (for example, using falloff maps etc or other third-party material plugins).
- VRayToon will not work properly with objects that have their Cast Shadows property turned off.
- The quality of the lines depends on the current settings of the Image sampler.