summaryrefslogtreecommitdiff
path: root/gfx/gl/shader.h
Commit message (Collapse)AuthorAge
* Move GL shared source into it's own class/fileDan Goodliffe2021-12-12
|
* Create and use a shader program for things with absolute positionDan Goodliffe2021-03-03
| | | | Rails in this case.
* Replace Transform with LocationDan Goodliffe2021-03-03
| | | | Simpler, unbinds the transformation matrices for location, now done just in the shader.
* Remove now redundent Shader::Source classDan Goodliffe2021-02-20
| | | | Moves compile functionality to GLsource.
* m4 based GLSL embeddingDan Goodliffe2021-02-20
| | | | Passes a lint check, less mangling, more automation
* Pass a cppcheckDan Goodliffe2021-02-20
|
* Custom land and water shadersDan Goodliffe2021-02-20
| | | | | | | Create sandy beaches, snow topped mountains and grassy hills with a single texture, coloured according to land height by a custom shader. Also use the land mass mesh with a new water texture and a custom shader to create rather nice looking water effect with depth, waves and motion.
* Allow setting any uniform in shadersDan Goodliffe2021-02-18
| | | | Move less commonly used (lightDirection) to a named one
* Support multiple shader programs, set by modelDan Goodliffe2021-02-17
|
* Remove the weird view/model/camera connectednessDan Goodliffe2021-01-24
|
* Big tidy up of shader wrapperDan Goodliffe2021-01-24
|
* Big reshuffleDan Goodliffe2021-01-17
Fixes code quality warnings now picked up.