Downloading examples from the book

The shaders and scenes in Writing mental ray shaders can be examined and downloaded individually in the shaders and scenes pages. For convenience, you can download all the files in a single zip file.
Shader code and scene files WMRS_source_april_2008.zip Directory contents
The zip file expands to a directory that contains two subdirectories, shaders and scenes. This directory structure is also used in the training classes offered by mental images.

For information on shader compilation, see “Shader compilation on various platforms.” For information on using custom shaders, see “Accessing custom shaders during rendering.”
25 April 2008 00:21:11