]> git.tdb.fi Git - libs/gl.git/commit - source/resources.cpp
Add a builtin module for standard shaders
authorMikko Rasa <tdb@tdb.fi>
Tue, 15 Nov 2016 17:09:50 +0000 (19:09 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 15 Nov 2016 17:09:50 +0000 (19:09 +0200)
commit859015dce969a0d9ba2bc603d6dbb2685159e393
tree97dc298d92cd9c438ffbf30966d05c562a533df3
parentf1c6ef565577ac322693255d764eea1f2cab9e77
Add a builtin module for standard shaders

It doesn't support multiple lights as generating the necessary array
interfaces through a geometry shader turned out to be rather non-trivial.
I plan to add deferred rendering modules with multi-light support later.
Build
scripts/resgen.py [new file with mode: 0755]
shaderlib/singlepass.glsl [new file with mode: 0644]
source/resources.cpp
source/resources.h