shader() example
This very simple shader shades a surface with a constant color.
void shader(float *color) { vec_set(color,0.2,0.3,0.5); }
[email protected]
[email protected]
Copyright © 1997 Pat Hanrahan and Andrew C. Beers