How to Make a Depth Map that Scales Using Arnold’s State Float

Lee Griggs shows how you can use Range and State Float to create a depth map that can scale.

When you use the Arnold Toon Shader, you may have encountered that the edges stay the same width as they move off to the distance. One of the ways to combat this and get a better result is to create a depth map that can scale the effect. In this new tutorial, Arnold Rendering Specialist Lee Griggs shows how to use a couple of Arnold nodes.

The tutorial shows how you can use the range node and the state float shader to create a depth map that can scale toon lines depending on the distance from the camera.