]> git.tdb.fi Git - libs/gl.git/commit
Put transform matrices into a uniform block too
authorMikko Rasa <tdb@tdb.fi>
Sun, 28 Sep 2014 17:54:56 +0000 (20:54 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 29 Sep 2014 15:10:03 +0000 (18:10 +0300)
commit3101f1e39018b33c74898fa76664ee1cb6326dc3
tree76f80756f146320675b013350bc407fe1a9b7a73
parentd42fdf115dfd6f3e5e2f83f2c2f905fb02fc1af4
Put transform matrices into a uniform block too

I'm fairly certain the glBufferSubData call required to update the block
contents is no slower than the glUniformMatrix* calls to set the uniforms
directly.
source/programbuilder.cpp