summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * Update asset stencils from shadow mapperDan Goodliffe2024-08-18
| | |
| | * Add updateStencil to Renderable interfaceDan Goodliffe2024-08-18
| | |
| | * Populate GameState::assets in appropriate testsDan Goodliffe2024-08-18
| | |
| | * Offset shaded position to reduce chance of self-shadowingDan Goodliffe2024-08-18
| | |
| | * Replace low poly plants with the double sided versionDan Goodliffe2024-08-18
| | | | | | | | | | | | Avoids culling half the trees
| | * Calculate centre and size of mesh, wrap it all in a Dimensions objectDan Goodliffe2024-08-11
| | |
| | * Use texture alpha in shadow stencilDan Goodliffe2024-08-10
| | |
| | * Use mesh extents for shadow stencil extentsDan Goodliffe2024-08-10
| | |
| | * Calculate and store the extents of a meshDan Goodliffe2024-08-10
| | |
| | * Initial commit of basic shadow depth map creationDan Goodliffe2024-08-10
| | |
* | | Bump to CTRE to v3.9.0-1-gacb2f4d to fix compilation with clang 19Dan Goodliffe2024-10-22
| | | | | | | | | | | | Swaps ctre::range to ctre::search_all
* | | Fix type of filehandle mode parameterDan Goodliffe2024-10-21
| | |
* | | Don't configure a default gcc toolsetDan Goodliffe2024-10-21
|/ /
* | Merge branch 'sunpos'Dan Goodliffe2024-09-23
|\ \
| * | Adjust light colour as sun rises/setsDan Goodliffe2024-09-22
| | | | | | | | | | | | This is a bit made-up-maths/numbers, but it looks reasonable.
| * | Calculate sunlight direction from worldTimeDan Goodliffe2024-09-22
| | |
| * | Move getSunPos to EnvironmentDan Goodliffe2024-09-20
| | |
| * | Add basic environment objectDan Goodliffe2024-09-20
| | | | | | | | | | | | Will hold world time/date, weather, location etc
| * | Update getSunPos to use a standard time_tDan Goodliffe2024-09-19
| | |
| * | Add helper to quickly parse an ISO date/timeDan Goodliffe2024-09-19
| | |
| * | Add new mathematical constants to libDan Goodliffe2024-09-19
| | |
| * | Initial commit of code for calculating sun positionDan Goodliffe2024-09-18
|/ / | | | | | | | | | | | | | | | | Given the longitude and latitude, and a time into 2024, calculate the relative sun position suitable for providing lighting angles. Based on code from https://www.psa.es/ Loosely checked against https://www.pveducation.org/ and its close, working on faith really, but the numbers look plausible. Could do with a tidy up!
* | Don't create lots of unnecessary tmpsDan Goodliffe2024-08-18
| |
* | Don't set face material on each vertex index passDan Goodliffe2024-08-18
| |
* | Offset shaded position to reduce chance of self-shadowingDan Goodliffe2024-08-18
| |
* | Replace low poly plants with the double sided versionDan Goodliffe2024-08-18
|/ | | | Avoids culling half the trees
* Fix texture usage via materials in shadowsDan Goodliffe2024-08-10
| | | | | This is a mess of a commit much like the shader folder, need a better way of dealing with them.
* Pull material detail function into a common fileDan Goodliffe2024-08-10
|
* Pull material lookup functions into a common fileDan Goodliffe2024-08-10
|
* Add a tree to the test render sceneDan Goodliffe2024-08-10
|
* Create standalone composed shader file and format it and the C++ codeDan Goodliffe2024-08-10
|
* Reduce the amount of unnecessary rebuilds on shader source changesDan Goodliffe2024-08-10
|
* Simplify in/out in materialInterfaceDan Goodliffe2024-08-10
|
* Apply StdTypeDefs for TextureDan Goodliffe2024-08-10
|
* Add missing truthy/falsy operators to AnyPtrDan Goodliffe2024-08-10
|
* Specific exception for shader compile errorDan Goodliffe2024-08-04
| | | | Outputs more details, including shader source
* Help exception class for lazy/cached message contentDan Goodliffe2024-08-04
|
* Split CheckShaderError into shader/program versionsDan Goodliffe2024-08-03
| | | | They're similar, but need splitting for better diagnostics
* Creating a program with no shaders is not validDan Goodliffe2024-07-20
|
* Build cpp parts of ImGuiDan Goodliffe2024-07-07
|
* Update Doxyfile, remove comments, exclude thirdparty dirDan Goodliffe2024-07-07
|
* Simplify setup of uniform locations and containing programsDan Goodliffe2024-07-07
|
* Add shadow shader which takes into account texture transparencyDan Goodliffe2024-07-07
|
* Merge branch 'imgui'Dan Goodliffe2024-07-07
|\
| * Replace deprecated GL_QUADS usage in text renderingDan Goodliffe2024-07-06
| |
| * Fix up perf tests in light of window management changesDan Goodliffe2024-07-05
| |
| * Re-add testHelpers.hDan Goodliffe2024-07-02
| |
| * Psycho-rebased branch imgui on top of mainDan Goodliffe2024-07-02
| |\
| | * Build ImGui as a static libraryDan Goodliffe2024-06-24
| | |
| | * Use shared installed libraries explicitlyDan Goodliffe2024-06-24
| | |