>>> VRayToon >>>

 

General

Parameters

Basic parameters

Maps

Notes

 

Search Keywords: toon, effects, contour, outline, line

General

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.

Parameters

[VRayToon parameters]Basic parameters

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 nd disables the Silhouetter Multiplier.

 

Silhouette Mult - this value will mulitply 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.

Maps

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.

Notes