summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneShader.cpp
Commit message (Collapse)AuthorAge
* Add model support for point lightsDan Goodliffe2024-01-12
| | | | Still invokes non-instanced point light shader
* Initial commit with working light instancingDan Goodliffe2024-01-10
|
* Simplify and 'fix' the wave cycleDan Goodliffe2024-01-01
|
* Shader viewPoint now an integerDan Goodliffe2023-12-03
|
* Model positions as integersDan Goodliffe2023-11-25
| | | | | Introduces test failure in arcs due to rounding, but I don't want to create a complicated fix as link positions are still floats and hopefully that'll go away... somehow
* Send position and rotation matrix to GPU separately in basic programDan Goodliffe2023-11-25
| | | | Missed from earlier commit
* Send position and rotation matrix to GPU separatelyDan Goodliffe2023-11-13
|
* WIP typedefing just about everything elseDan Goodliffe2023-11-09
|
* WIP typedefing all the things - sourcesDan Goodliffe2023-11-09
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Add basic instanced shader to those which get the viewProjection configuredDan Goodliffe2023-04-19
|
* Revamp how VertexArrayObject configures attributes and dataDan Goodliffe2023-04-17
|
* 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 the dynamicPoint shader for instancingDan Goodliffe2023-04-15
| | | | Same as dynamicPoint, but the model matrix is a vertex input
* Rename lots of shader filesDan Goodliffe2023-04-15
| | | | Names and paths still not perfect, but better and the weird name missuse is gone
* Add rendering support for spot lightsDan Goodliffe2023-01-05
|
* Use VertexArrayObject for SceneShader::PointLightDan Goodliffe2023-01-02
|
* Add rendering support for point lightsDan Goodliffe2022-11-23
|
* Support setting a viewPort uniform for those shaders which need itDan Goodliffe2022-11-23
|
* Rename setView to setViewProjection to avoid ambiguityDan Goodliffe2022-11-23
|
* Restructure how shaders are worked withDan Goodliffe2022-11-03
| | | | Needs a tidy-up
* Rename Shader to SceneShaderDan Goodliffe2022-11-03