Currently browsing tag

pixel

5. GLSL Per Pixel Lighting

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.