Rendering, OpenGL, and Lighting - Caltech
Rendering, OpenGL, and Lighting - Caltech
Rendering, OpenGL, and Lighting - Caltech
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
GLSL syntax <strong>and</strong> programming• GLSL has very similar syntax to C– main() is entry point for both vert <strong>and</strong> fragshaders• Some extra language support for vector<strong>and</strong> matrix operations• Lots of built-in functions <strong>and</strong> variables