/opengl-lightning-example

Modern OpenGL programmable pipeline in Python

Primary LanguagePythonThe UnlicenseUnlicense

OpenGL lightning example

Lightning example - OpenGL programable pipeline in Python

This example shows how to implement lightning and materials (ambient, diffuse, specular) in the context of the modern programmable pipeline. I've also included an .obj file loader, which is based on the following code: https://github.com/totex/Learn-OpenGL-in-python/blob/master/ObjLoader.py

alt text