phong lighting model glsl

phong lighting model glsl

Phong lighting model in GLSL.

Here is a basic implementation of the Phong lighting model in GLSL. It uses one light source, and the specular isn’t influenced by a material – the surfaces only have diffuse textures on them.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.