]> git.tdb.fi Git - libs/gl.git/commit
Use Renderer to bind Lighting
authorMikko Rasa <tdb@tdb.fi>
Sat, 7 Sep 2013 14:12:15 +0000 (17:12 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 9 Sep 2013 15:52:39 +0000 (18:52 +0300)
commit31f4e9f522ba3009cfa74467bec380a263eabf73
treeeb5e3e199664c2fcfe68dc66372a0c019132c5f9
parent355e3a068ea4ad6a7d3ab9318b3ce74b7f0b0b15
Use Renderer to bind Lighting

This fixes a problem where the matrix left behind by a pipeline pass could
interfere with the lighting of the next pass.  It's also required for
eventually supporting OpenGL 3.0+ without fixed-function lighting.
source/pipeline.cpp
source/renderer.cpp
source/renderer.h