Skip to content
Snippets Groups Projects
Commit 4643d61f authored by Brecht Van Lommel's avatar Brecht Van Lommel
Browse files

OpenGL: implemenation of fixed function lighting as per pixel GLSL shaders. The

code is still unused, but the intention is to use this to solve the double sided
lighting problem on NVidia, and to make the materials work on OpenGL ES 2.0
eventually.

The code works and matches the fixed function lighting pretty much exactly, but
still needs optimizations. The actual integration in object draw will be
committed later when more fixing & testing, there's lots of different combinations
and unclear OpenGL state here.
parent a9facca8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment