]> git.tdb.fi Git - libs/gl.git/commitdiff
Support multiple lights in a single pass
authorMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 10:57:19 +0000 (13:57 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 16:29:55 +0000 (19:29 +0300)
Light direction is now computed in fragment shader because interface
variable locations can't use specialization constants.

Shadow map currently only affects the first light but will be improved
soon.


No differences found