To add a V-Ray Toon Effect to all geometry in the scene:
Create a Render Settings LOP fromRendering > Render Settings.
Go to the V-Raytab of the LOP and find its Toon subtab. There, enable all the parameters you need to create a toon effect, such as Silhouette Color and Width, Interior Edges Controls, etc.
This applies the toon effect to all geometry in the scene. To apply the effect on specific objects only, proceed to step 2.
Column
width
5%
Column
width
40%
Section
Column
width
55%
The result is identical lines to all objects in the scene.
Here, the following parameters are tweaked:
Silhouette Color is set to black.
Silhouette Width is set to 3.
Width Units are kept at their default - Pixels.
Interior Edges are also enabled and set to 0.7.
The Color of the Interior Edges is black too.
column
Before after
width
Panel
5%
borderStyle
column
none
width
Image Added
40%
Panel
align
borderStyle
none
Image Added
align
center
Image_comparison_slider
AddButtons
false
LabelBefore
No effect
LabelAfter
Toon effect
AttachmentImageBefore
Solaris_VRay7_ToonEffect_Off.jpg
AttachmentImageAfter
Solaris_VRay7_ToonEffect_On.jpg
UI Step
Section
Column
width
55%
Toon Effect on Specific Objects
To modify the Toon Effect for specific objects, you need to:
Add a Material Library LOP, or use an existing one if you already have it. Inside it, create a V-Ray Material Builder VOP by right-clicking and selecting V-Ray > Material > V-Ray Material Builder.
The material builder will serve as a material for the geometry in the scene that will have an altered toon effect.
Name the material accordingly, e.g., Toon_Trees. In scenarios involving more complex scenes with multiple materials, proper naming significantly facilitates navigation and management.
Column
width
5%
Column
width
40%
Section
Column
width
55%
Inside the material builder, two nodes appear automatically - a V-Ray Material (VRayMtl) and a V-Ray Output. Replace the VRayMtl with a V-Ray Toon material from V-Ray > Material > V-Ray Toon Material.
Create a V-Ray Singlematerial and link its material output to the material input slot of the V-Ray Output node.
Then link the BRDF input slot of the V-Ray Single material to the V-Ray Toon material's BRDF output. This ensures that the toon material will be the one rendered at the end.
Create a V-Ray Toon Effect from V-Ray > Effects > V-Ray Toon Effect. Plug its output slot to the usd_env_toon input slot of the V-Ray Single material.
Column
width
5%
Column
width
40%
Section
Column
width
55%
Exit the Material Library LOP and create an Assign Material LOP.
Assign the V-Ray Toon material to the geometry. To do this, drag the Tuck geometry into the Primitives field of the Assign Material parameters, and drag the Toon_Trees material to the Material Path field of the Assign Material parameters.
Alternatively, use the Select primitives button on the right of each field or directly type the paths.
Keep the Toon Effect in the Render Settings LOP enabled. Otherwise, you won't be able to render the effect.
Column
width
5%
Column
width
40%
Section
Column
width
55%
Here, the following parameters of several objects are tweaked:
Silhouette Color of the trees and hills is set to green.
Silhouette Width of the hills is 12 pixels, while that of the trees is 6 pixels.
Silhouette Color of the dog is set to brown.
Column
width
5%
Column
width
40%
UI Step
Section
Column
width
55%
Override Global Toon Effect
You can override the global toon effect for specific objects only. This is an alternative method to set custom toon effect for specific objects.
Create a Render Geometry Settings LOP.
Go to the V-Ray tab and find its Toon subtab. There, enable all the parameters you need to create a toon effect, such as Line Color, Line Width, Inner Line Controls, etc.
Set the objects you want to affect in the Primitives field of the Render Geometry Settings LOP. For example, drag the Dog object into the field. Thus, you can apply the override only to the Dog object in the scene.
Column
width
5%
Column
width
40%
Section
Column
width
55%
Here, the following parameters are tweaked and they affect only the dog geometry: