Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Basic soft shadows | Dan Goodliffe | 2024-10-26 |
| | |||
* | Merge branch 'billboard-shadows' | Dan Goodliffe | 2024-10-22 |
|\ | |||
| * | Move lots of maths helpers to inline, constexpr, templates | Dan Goodliffe | 2024-10-20 |
| | | | | | | | | Always for working with different dimensions/types | ||
| * | Misc readability fixes | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Re-express viewProjections calculations as a fold expression | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Remove magic number for stencil view angles | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Don't assume size of stencil texture | Dan Goodliffe | 2024-10-17 |
| | | |||
| * | Better shadowBands sizes | Dan Goodliffe | 2024-10-17 |
| | | | | | | | | Still a bit arbitrary, but calculated now to scale across the required range | ||
| * | Generate stencils as views offset from light direction | Dan Goodliffe | 2024-10-10 |
| | | |||
| * | Use foliage yaw rotation to select shadow stencil layer | Dan Goodliffe | 2024-10-10 |
| | | |||
| * | Include foliage yaw rotation in vertex, pass through instead of whole model ↵ | Dan Goodliffe | 2024-10-10 |
| | | | | | | | | rotation matrix | ||
| * | Fix stencil shadow depth offset | Dan Goodliffe | 2024-10-10 |
| | | |||
| * | Use LightDirection for calculating/passing all light dir components | Dan Goodliffe | 2024-10-06 |
| | | |||
| * | Populate all layers of shadow stencil with view from all around | Dan Goodliffe | 2024-09-07 |
| | | |||
| * | Populate all layers of the stencil texture | Dan Goodliffe | 2024-09-03 |
| | | | | | | | | Albeit with the same projection | ||
| * | Update stencil texture to 2d array | 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 | ||
| * | 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 |
| | | |||
| * | Include sizes of shadow box extents as uniforms to shaders | 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 |
| | | |||
| * | Offset shaded position to reduce chance of self-shadowing | Dan Goodliffe | 2024-08-18 |
| | | |||
| * | 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 |
| | | |||
| * | 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 | ||
* | | Offset shaded position to reduce chance of self-shadowing | Dan Goodliffe | 2024-08-18 |
|/ | |||
* | 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 |
| | |||
* | Simplify in/out in materialInterface | Dan Goodliffe | 2024-08-10 |
| | |||
* | Specific exception for shader compile error | Dan Goodliffe | 2024-08-04 |
| | | | | Outputs more details, including shader source | ||
* | 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 |
| | |||
* | Simplify setup of uniform locations and containing programs | Dan Goodliffe | 2024-07-07 |
| | |||
* | Add shadow shader which takes into account texture transparency | Dan Goodliffe | 2024-07-07 |
| | |||
* | Psycho-rebased branch imgui on top of main | Dan Goodliffe | 2024-07-02 |
|\ | |||
| * | First cut reshuffling app/window/gl/render bits | Dan Goodliffe | 2024-06-15 |
| | | |||
* | | Maintain a reverse index in instance vertices | Dan Goodliffe | 2024-06-30 |
| | | | | | | | | Removes need to search unused and/or index when moving/adding things | ||
* | | Implement partition on InstanceVertices | Dan Goodliffe | 2024-06-29 |
| | | |||
* | | Tidy InstanceProxy | Dan Goodliffe | 2024-06-29 |
|/ | |||
* | Tidy many stringy messes with std::format | Dan Goodliffe | 2024-06-04 |
| | |||
* | Custom vertex, vertex shader and fragment shader for landmass | Dan Goodliffe | 2024-04-16 |
| | | | | Handles global position type, colourBias for surface types | ||
* | Fix water texture wrapper in light of large position values | Dan Goodliffe | 2024-04-07 |
| | |||
* | Stripped down water vertex and simplified shaders | Dan Goodliffe | 2024-04-07 |
| | |||
* | Simplify vector addition/subtraction with differnt types | Dan Goodliffe | 2024-02-24 |
| | | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly. |