Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| | * | Add TextureDimensions type | Dan Goodliffe | 2024-09-02 | |
| | | | ||||
| | * | Extend depth of shadow box 10m to allow for depth offsets and clamp stencil ↵ | Dan Goodliffe | 2024-09-01 | |
| | | | | | | | | | | | | to it | |||
| | * | Use billboard shadows for foliage | Dan Goodliffe | 2024-08-28 | |
| | | | ||||
| | * | Initial cut of shadow map creation with support for billboard shadows | Dan Goodliffe | 2024-08-28 | |
| | | | ||||
| | * | Set stencil texture min/mag filters | Dan Goodliffe | 2024-08-26 | |
| | | | ||||
| | * | Add helper to test if a uniform was found | Dan Goodliffe | 2024-08-26 | |
| | | | ||||
| | * | Add a foliage vertex array for just the location data | Dan Goodliffe | 2024-08-26 | |
| | | | ||||
| | * | Include sizes of shadow box extents as uniforms to shaders | Dan Goodliffe | 2024-08-26 | |
| | | | ||||
| | * | test-render loads all assets into gameState | Dan Goodliffe | 2024-08-26 | |
| | | | ||||
| | * | Persist a single ShadowStenciller within ShadowMapper | Dan Goodliffe | 2024-08-19 | |
| | | | ||||
| | * | Shuffle some GL state setting | Dan Goodliffe | 2024-08-19 | |
| | | | | | | | | | | | | | | | Ensures the right things are set at the right times, it's more calls but its less prone to randomly getting screwed over. Also updates the comments about which phases do what. | |||
| | * | Update asset stencils from shadow mapper | Dan Goodliffe | 2024-08-18 | |
| | | | ||||
| | * | Add updateStencil to Renderable interface | Dan Goodliffe | 2024-08-18 | |
| | | | ||||
| | * | Populate GameState::assets in appropriate tests | Dan Goodliffe | 2024-08-18 | |
| | | | ||||
| | * | Offset shaded position to reduce chance of self-shadowing | Dan Goodliffe | 2024-08-18 | |
| | | | ||||
| | * | Replace low poly plants with the double sided version | Dan Goodliffe | 2024-08-18 | |
| | | | | | | | | | | | | Avoids culling half the trees | |||
| | * | Calculate centre and size of mesh, wrap it all in a Dimensions object | Dan Goodliffe | 2024-08-11 | |
| | | | ||||
| | * | Use texture alpha in shadow stencil | Dan Goodliffe | 2024-08-10 | |
| | | | ||||
| | * | Use mesh extents for shadow stencil extents | Dan Goodliffe | 2024-08-10 | |
| | | | ||||
| | * | Calculate and store the extents of a mesh | Dan Goodliffe | 2024-08-10 | |
| | | | ||||
| | * | Initial commit of basic shadow depth map creation | Dan Goodliffe | 2024-08-10 | |
| | | | ||||
* | | | Bump to CTRE to v3.9.0-1-gacb2f4d to fix compilation with clang 19 | Dan Goodliffe | 2024-10-22 | |
| | | | | | | | | | | | | Swaps ctre::range to ctre::search_all | |||
* | | | Fix type of filehandle mode parameter | Dan Goodliffe | 2024-10-21 | |
| | | | ||||
* | | | Don't configure a default gcc toolset | Dan Goodliffe | 2024-10-21 | |
|/ / | ||||
* | | Merge branch 'sunpos' | Dan Goodliffe | 2024-09-23 | |
|\ \ | ||||
| * | | Adjust light colour as sun rises/sets | Dan Goodliffe | 2024-09-22 | |
| | | | | | | | | | | | | This is a bit made-up-maths/numbers, but it looks reasonable. | |||
| * | | Calculate sunlight direction from worldTime | Dan Goodliffe | 2024-09-22 | |
| | | | ||||
| * | | Move getSunPos to Environment | Dan Goodliffe | 2024-09-20 | |
| | | | ||||
| * | | Add basic environment object | Dan Goodliffe | 2024-09-20 | |
| | | | | | | | | | | | | Will hold world time/date, weather, location etc | |||
| * | | Update getSunPos to use a standard time_t | Dan Goodliffe | 2024-09-19 | |
| | | | ||||
| * | | Add helper to quickly parse an ISO date/time | Dan Goodliffe | 2024-09-19 | |
| | | | ||||
| * | | Add new mathematical constants to lib | Dan Goodliffe | 2024-09-19 | |
| | | | ||||
| * | | Initial commit of code for calculating sun position | Dan Goodliffe | 2024-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 tmps | Dan Goodliffe | 2024-08-18 | |
| | | ||||
* | | Don't set face material on each vertex index pass | Dan Goodliffe | 2024-08-18 | |
| | | ||||
* | | Offset shaded position to reduce chance of self-shadowing | Dan Goodliffe | 2024-08-18 | |
| | | ||||
* | | Replace low poly plants with the double sided version | Dan Goodliffe | 2024-08-18 | |
|/ | | | | Avoids culling half the trees | |||
* | Fix texture usage via materials in shadows | Dan Goodliffe | 2024-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 file | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Pull material lookup functions into a common file | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Add a tree to the test render scene | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Create standalone composed shader file and format it and the C++ code | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Reduce the amount of unnecessary rebuilds on shader source changes | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Simplify in/out in materialInterface | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Apply StdTypeDefs for Texture | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Add missing truthy/falsy operators to AnyPtr | Dan Goodliffe | 2024-08-10 | |
| | ||||
* | Specific exception for shader compile error | Dan Goodliffe | 2024-08-04 | |
| | | | | Outputs more details, including shader source | |||
* | Help exception class for lazy/cached message content | Dan Goodliffe | 2024-08-04 | |
| | ||||
* | Split CheckShaderError into shader/program versions | Dan Goodliffe | 2024-08-03 | |
| | | | | They're similar, but need splitting for better diagnostics | |||
* | Creating a program with no shaders is not valid | Dan Goodliffe | 2024-07-20 | |
| |