A Simple OpenGL Shading Example

Randi Rost gives an example of the coding needed for shading in OpenGL, including the code for the vertex shader, the fragment shader, and the application code used to initialize these shaders.

4 Comments

  1. 2004-07-26 8:03 am
  2. 2004-07-26 8:11 am
  3. 2004-07-26 9:19 am
  4. 2004-07-26 5:24 pm