home << prev next >> contents  


Overview

Base shaders are designed to form groups, such as the group of geometry base shaders or BRDF functions. Members of a group have similar parameters to make it easy to replace one base shader with another one of the same group. The replacement may have shader-specific extra parameters, but those it shares with other similar base shaders of the same group have the same names and types and the same layout. In general, common parameters come first.

Before any shader in the base shader library can be used, it must be attached to the mental ray rendering software using a statement link "base.so", and the shaders must be declared with the statement $include <base.mi>. See chapter shaderlibs on page shaderlibs for details. All shader names begin with "mib", for "mental images base". Their declarations are given in mi format, as described in chapter shader on page shader. Here is a summary:

home << prev next >> contents  


Copyright (©) 1986-2006 by mental images GmbH