]> git.tdb.fi Git - libs/gl.git/commit
Don't use an index when attaching lights
authorMikko Rasa <tdb@tdb.fi>
Sat, 17 Apr 2021 18:43:48 +0000 (21:43 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 17 Apr 2021 22:10:55 +0000 (01:10 +0300)
commita8383f1163cd020e2ce2c030e93defd2f9909a1d
treeaf8625ebb1197696b45126f0a0eb5a534b156973
parentaeef1c75d50f39bf57c3e608bbe41005479c44da
Don't use an index when attaching lights

It's a relic of legacy OpenGL's way of doing lighting and unnecessary
in a modern engine.
source/materials/lighting.cpp
source/materials/lighting.h
tools/viewer.cpp