summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/spotLight.fs
Commit message (Collapse)AuthorAge
* Full implementation passing through light defs from vertex dataDan Goodliffe2024-01-11
| | | | | Note: there is a bug where the light position/direction are rotated backwards to the model even though its using the model's rotation matrix... no idea why/how.
* Initial commit with working light instancingDan Goodliffe2024-01-10
|
* Use 32bit integer texture for position render dataDan Goodliffe2023-12-17
|
* Switch to millimeters for spatial unitsDan Goodliffe2023-11-15
| | | | | | Mostly a case of changing far too many magic numbers, something else to fix I guess. I probably missed something. Also there's some hackery when loading 3D models, which are still assumed to be in metres.
* Add rendering support for spot lightsDan Goodliffe2023-01-05