userSam Pavloviccancel
branchsbox/light-rework-rebasecancel

2 Commits over 0 Days - ∞cph!

3 Years Ago
Update core shaders for light rework Update base addon-level shaders with the light rework changes https://i.imgur.com/cSffiRg.jpeg
3 Years Ago
Refactor how mixed baked lights are calculated to later support multiple lights at once Removed unused lightbinner that was mostly just duplicated code Fix data structure of light info compute buffer to support multiple baked mixed shadows and cleanup 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 Make lighting data structure from shader match what's on cpu side Multiple mixed shadows support, fix sunlight bugs with multiple mixed shadows Pass number of mixed cascades to shader Naive shadow atlas downsampling test 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 Viewmodel shadows on mixed shadows 🙏 Cleanup lightcomponent, reenable shadow fading Remove unnecessary debug pragmas Actually don't need VFX ABI change, old shaders will simply not receive shadows, no need to break them