Tag Archive

5. GLSL Per Pixel Lighting

Published on March 25, 2010 By Swiftless

Tutorial PreviewPreviously, we looked at simuling OpenGL per vertex lighting. Now we are going to learn how to do per pixel lighting, achieving a more realistic lighting effect.

4. GLSL Lighting

Published on March 25, 2010 By Swiftless

Tutorial PreviewGLSL also overwrites the default lighting in OpenGL, but once again, OpenGL passes all lighting information through to us in GLSL for us to use. This tutorial will teach you how to use this information to perform per-vertex lighting, identical to that in standard OpenGL.

Improve the web with Nofollow Reciprocity.