summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneShader.h
Commit message (Collapse)AuthorAge
* Simplify setup of uniform locations and containing programsDan Goodliffe2024-07-07
|
* Single list of all shader programsDan Goodliffe2024-01-24
| | | | Pushes common stuff through a helper function
* Bind the network profile in as uniformsDan Goodliffe2024-01-22
| | | | Makes the network shaders generic to network type
* Render rail network using new shadersDan Goodliffe2024-01-20
| | | | Non-functional, totally unimplemented at this stage
* 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
|
* Shader viewPoint now an integerDan Goodliffe2023-12-03
|
* 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 - headersDan Goodliffe2023-11-07
|
* Fix type of basic instanced shaderDan Goodliffe2023-04-19
| | | | | It's now AbsolutePosProgram, which is kind of right, in that it takes no location data via uniform, it's all in the vertex data.
* 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
* Add rendering support for spot lightsDan Goodliffe2023-01-05
|
* Add missing explicit on constructorsDan Goodliffe2022-12-29
|
* 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
|
* Fix type of SceneShaderDan Goodliffe2022-11-14
|
* Restructure how shaders are worked withDan Goodliffe2022-11-03
| | | | Needs a tidy-up
* Rename Shader to SceneShaderDan Goodliffe2022-11-03