
278 7. Real-time 3D: OpenGL
constant, so it does not take a lot of eff or t to up gr ad e a s h ad er program for
use with the most recent syntax or make it ready for enhancement with tasks
performed in the newer processin g stages, such as the tessellation and geometr y
processors.
2
With regard to the GLSL syntax, it should not be difficult to follow the
logical statements for anyone who is familiar with C. In our book on virtual real-
ity [59] there is a comprehensive introduction to using the GL s h ad in g language
in compatibility mode, and our OpenFX s oftware offers a GPU version of its
renderer that provides all the same featu r es as the softw