Shader examples
All but the very simple shader example are available on the Sweet Hall
machines in:
/usr/class/cs248/assignments/assignment4/sample_shaders
The corresponding configuration files are in:
/usr/class/cs248/assignments/assignment4/sample_cfg
To use these examples, either copy the code into your own
shader.c, or copy one of the sample shaders to your working
directory and rename it shader.c. Be sure to rename
your own shader.c first! Next, recompile your viewer and execute
it using the corresponding example shader configuration file.
Copyright © 1997--1998 Pat Hanrahan and Andrew C. Beers