Softimage XSI Toon Shadows
Level: Beginner



by Raffael Dickreuter
www.xsibase.com
www.raffael3d.com

In this tutorial you will learn the basics of toon rendering and how to add shadows to toon surfaces.



Load your scene or create a new one. It should contain: a flat ground, some objects taht will cast a shadow (e.g. trees) and a spotlight. Somethig like in the image below:



First let's apply a toon lens shader to our camera. To do so select the current camera:



In the "lens shaders" tab add the "toon_inks_lens" shader (load it via the "add" button, you can find in the explorer there). Then click on "inspect" and play around with the Spread value as this determines how thick your ink line will appear.



See two examples of thick the lines can appear with a value of 1 or 2.





Now select your ground object and add a toon material. Also add a toon material to your tree like objects that will cast the shadows. The select the ground object and go to the render tree.



In the render tree you will see a "Toon Pain and Host" node. Even if your spotlight has "shadows" enabled you will still see no shadow that the objects cast onto the ground. Do a test render to see that.
So now add a "mix_2_colors" node as well as shadow node (nodes > illumination > shadow) and a constant node. The connect the constant into the RGB of the shadow node. Make sure that you set the constant color to a dark color. The rest simply connect as shown in the image below:



So now you shoud see casting shadows on the toon ground: