branchsbox/sunlight-reworkcancel
9 Commits over 0 Days - ∞cph!
Viewmodel shadows on mixed shadows 🙏
Cleanup lightcomponent, reenable shadow fading
Remove unnecessary debug pragmas
Consider mixed light shadows for atlas downsampler too
Add cvar to maximum mixed light shadows, make a lot of this clientside
Add option to render mixed shadows only on viewmodels
Fix self shadowing on dynamic objects with mixed shadows
Add helper method to get the wanted shadow sampler given the context, clean up code
Pass viewmodel shadow sampler on the shader side
Squashed commit of what was on master as this has been out of main branch for long
Naive shadow atlas downsampling test
Pass number of mixed cascades to shader
Make lighting data structure from shader match what's on cpu side
Multiple mixed shadows support, fix sunlight bugs with multiple mixed shadows
Reorder data structure, give support to more than 2 cascades for mixed lights, add vignietting for shadows on multiple static lights at once
Up our shader ABI, document changes, and rename elements of that enum to better clarify
Fix data structure of light info compute buffer to support multiple baked mixed shadows and cleanup
Refactor how mixed baked lights are calculated to later support multiple lights at once
Removed unused lightbinner that was mostly just duplicated code
Add sharp Stationary lights, rename Baked and Per Pixel sunlights to Static and Moveable
https://i.imgur.com/AVIUGLb.jpeg