---
title: "Cartoon Shading"
canonical: "https://documentation.chaos.com/space/APPSDK/132841675/Cartoon%20Shading"
format: markdown
---
## **Introduction**

---

In this chapter we'll cover the cartoon shading (*VolumeVRayToon*) implemented in V-Ray. *VolumeVRayToon *is a very simple atmospheric plugin that produces cartoon-style outlines on objects in the scene. Note that *VolumeVRayToon* is not intended to be a full NPR (non-photorealistic rendering) effect. However, it may be useful in many cases.



## **Why an Atmospheric effect?**

---

There are several solutions for adding toon effects to 3d renderings for 3ds Max; most of them function either as special materials (shaders) or as render (post) effects. Each of these approaches has both advantages and limitations. VolumeVRayToon has been implemented as an atmospheric effect for several reasons:

- The implementation is very simple.
- Works with any geometry supported by V-Ray, including displaced objects, Procedural Fur and Proxy Objects, etc.
- Works with any camera type supported by V-Ray (spherical, fish-eye etc).
- Works with any camera effects (depth of field and/or motion blur).
- Works with raytraced effects such as reflection and refraction.
- Smooth and consistent outlines for intersecting objects.

## **Parameters**

---

The parameters of the effect are controlled by the *VolumeVRayToon *plugin. It renders cartoon style contours on all meshes (by default) or using an include/exclude list. It has the following parameters:

- The implementation is very simple.
- Works with any geometry supported by V-Ray, including displaced objects, Procedural Fur and Proxy Objects, etc.
- Works with any camera type supported by V-Ray (spherical, fish-eye etc).
- Works with any camera effects (depth of field and/or motion blur).
- Works with raytraced effects such as reflection and refraction.
- Smooth and consistent outlines for intersecting objects.


### Example

![image](media://b4cac15d-6baa-45df-81ee-255ed93197d2)

You can see the commented parameters in the [scene bundle.](https://drive.google.com/file/d/1kwPClE3f5ZXCTSxg0FQeoO_in825VNTV/view?usp=sharing)

## **Notes**

---

- *VolumeVRayToon *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).
- *VolumeVRayToon *has no per-object settings; however, you can add several *VolumeVRayToon *atmospherics to the scene, each applied to a different set of objects through the Include/exclude objects list.
- *VolumeVRayToon *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.