summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowStenciller.cpp
Commit message (Collapse)AuthorAge
* Move lots of maths helpers to inline, constexpr, templatesDan Goodliffe2024-10-20
| | | | Always for working with different dimensions/types
* Misc readability fixesDan Goodliffe2024-10-17
|
* Re-express viewProjections calculations as a fold expressionDan Goodliffe2024-10-17
|
* Remove magic number for stencil view anglesDan Goodliffe2024-10-17
|
* Don't assume size of stencil textureDan Goodliffe2024-10-17
|
* Generate stencils as views offset from light directionDan Goodliffe2024-10-10
|
* Use LightDirection for calculating/passing all light dir componentsDan Goodliffe2024-10-06
|
* Populate all layers of shadow stencil with view from all aroundDan Goodliffe2024-09-07
|
* Populate all layers of the stencil textureDan Goodliffe2024-09-03
| | | | Albeit with the same projection
* Update stencil texture to 2d arrayDan Goodliffe2024-09-02
|
* Set stencil texture min/mag filtersDan Goodliffe2024-08-26
|
* Persist a single ShadowStenciller within ShadowMapperDan Goodliffe2024-08-19
|
* Shuffle some GL state settingDan Goodliffe2024-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 mapperDan Goodliffe2024-08-18
|
* 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
|
* Initial commit of basic shadow depth map creationDan Goodliffe2024-08-10