summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/spotLight.vs
Commit message (Collapse)AuthorAge
* Shader viewPoint now an integerDan Goodliffe2023-12-03
|
* 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.
* Send position and rotation matrix to GPU separatelyDan Goodliffe2023-11-13
|
* Fix up the way spotlight shader worksDan Goodliffe2023-04-17
| | | | | Was mostly through lack of understanding and coincidences. Position is now the only vertex data, direction is moved to a uniform. Instancing will address this by making everything instance data.
* Add rendering support for spot lightsDan Goodliffe2023-01-05