wmrs_cover_1.jpg

wmrs_cover_2.jpg

wmrs_cover_3.jpg

wmrs_cover_4.jpg

Writing mental ray shaders
            A perceptual introduction

This website provides additional resources for the book Writing mental ray shaders: A perceptual introduction. It includes all the shader source code and scene files described in the book. These pages will also help you understand where and how the shaders are used in the example scenes throughout the book. In the page for a shader, the scenes that use it are linked; conversely, in the page for a scene, the shaders used by that scene are linked. The book’s bibliography is also duplicated here, but with the addition of links to the original papers and books that it references. In the on-line version of these webpages, I am also adding material beyond what is covered in the book, including teaching materials as well as additional shaders that extend ideas presented in the book or based on new shader ideas suggested by readers.
Andy Kopra
mental images
25 April 2008

Background

Getting started

Downloading examples from the book

Shaders

Shader compilation on various platforms

Shader source files

Additional shaders

A few notes on programming style

Scenes

Accessing custom shaders during rendering

Scene files

Reference

Teaching materials

Bibliography

http://www.writingshaders.com/