summaryrefslogtreecommitdiff
path: root/gfx/gl
Commit message (Collapse)AuthorAge
* Split 3D specifics of programs out of a base classDan Goodliffe2021-12-12
|
* Move GL shared source into it's own class/fileDan Goodliffe2021-12-12
|
* Move generic constexpr_strlen to libDan Goodliffe2021-12-12
|
* glm::value_ptr is neaterDan Goodliffe2021-12-12
|
* Fix up all remaining warningsDan Goodliffe2021-11-28
|
* Fix up lots of static analyzer warningsDan Goodliffe2021-11-27
|
* Enable all Jason Turner recommended warningsDan Goodliffe2021-11-26
|
* Add slope colouring to terrain shaderDan Goodliffe2021-11-25
|
* Swap y,z axisDan Goodliffe2021-11-16
| | | | This was a pain... but all the coords make much more sense now and a lot of mystery negation has disappeared.
* Create and use a shader program for things with absolute positionDan Goodliffe2021-03-03
| | | | Rails in this case.
* Only calculate and bind the model transform if the shader program uses itDan Goodliffe2021-03-03
|
* Replace Transform with LocationDan Goodliffe2021-03-03
| | | | Simpler, unbinds the transformation matrices for location, now done just in the shader.
* Pass lintersDan Goodliffe2021-02-20
|
* dos2unix shader sourcesDan Goodliffe2021-02-20
|
* 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
|
* Remove spare bits from shaders and tidy upDan 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.
* Add support for directional light color and an ambient colorDan Goodliffe2021-02-18
|
* 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
|
* Use consts for TransformDan Goodliffe2021-02-14
|
* Remove unused scale component from TransformDan Goodliffe2021-02-14
|
* Swap application of rotX and rotYDan Goodliffe2021-02-14
| | | | Makes more sense to ease pitch of vehicles on slopes in the direction of travel
* Update glsl version and interfaceDan Goodliffe2021-02-12
|
* Fix issue with normal affecting transparencyDan Goodliffe2021-02-12
|
* Input stack and logical split of camera controllerDan Goodliffe2021-01-28
|
* Basic mouse navigationDan Goodliffe2021-01-26
|
* Define light direction as a vectorDan Goodliffe2021-01-26
|
* Remove the weird view/model/camera connectednessDan Goodliffe2021-01-24
|
* Big tidy up of shader wrapperDan Goodliffe2021-01-24
|
* Factor to support worlds, objects, windows etcDan Goodliffe2021-01-18
|
* Big reshuffleDan Goodliffe2021-01-17
Fixes code quality warnings now picked up.