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); }
hanrahan@cs.stanford.edu
beers@graphics.stanford.edu
Copyright © 1997 Pat Hanrahan and Andrew C. Beers