summaryrefslogtreecommitdiff
path: root/game/terrain.cpp
Commit message (Collapse)AuthorAge
* Fix terrain texture tilingDan Goodliffe2023-11-26
|
* Rename TerrainMesh to GeoData to drop inplaceDan Goodliffe2023-11-04
|
* Reformat with new clang-format 16Dan Goodliffe2023-04-29
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Initial commit of the shadow map generator and shadows render interfaceDan Goodliffe2022-12-03
| | | | | Lots of hard coding, buggy in places, far from great, but the basics work.
* Restructure how shaders are worked withDan Goodliffe2022-11-03
| | | | Needs a tidy-up
* Rename Shader to SceneShaderDan Goodliffe2022-11-03
|
* Setting texture unit on bindDan Goodliffe2022-10-30
| | | | Always sets the target unit before binding, allows specifying the unit
* Separate geographic data (GeoData) from its visual representation(s) (Terrain)Dan Goodliffe2022-01-02
|
* Cache allows multiple key partsDan Goodliffe2022-01-01
|
* Fix up all remaining warningsDan Goodliffe2021-11-28
|
* Enable all Jason Turner recommended warningsDan Goodliffe2021-11-26
|
* Include stb directlyDan 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.
* Fix warnings produced by new clang-tidyDan Goodliffe2021-05-02
|
* 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
|
* 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.
* Create smoother terrainDan Goodliffe2021-02-20
|
* Split landmass and water texturesDan Goodliffe2021-02-17
|
* Split landmass and water meshesDan Goodliffe2021-02-17
|
* Don't keep the terrain vertex and index vectorsDan Goodliffe2021-02-17
|
* Create terrain as collection of meshesDan Goodliffe2021-02-04
|
* Restructure to allow a resource path and testingDan Goodliffe2021-02-04
|
* Basic support for loading a heightmap from an imageDan Goodliffe2021-01-28
|
* Split common terrain code outDan Goodliffe2021-01-28
|
* Generate some random terrain with a water layerDan Goodliffe2021-01-26
|
* Use vector sizes when passing terrain to openglDan Goodliffe2021-01-26
|
* Generate some basic flat terrainDan Goodliffe2021-01-25