branchsbox/shadow-rescalercancel

11 Commits over 0 Days - ∞cph!

3 Years Ago
Prefixed downsample ratios, maybe we should make these dynamic from bottom up?
3 Years Ago
Calculate & Pass LODs for shadows but don't do anything with them yet
3 Years Ago
For spot & ortho lights, calculate the closest points between the fustrums
3 Years Ago
Doesn't make sense to use radius for ortho
3 Years Ago
Account for distance when light sorting
3 Years Ago
Remove light count tracking
3 Years Ago
Account for sunlight when resampling
3 Years Ago
Allow mixed shadows to resample at a different ratio
3 Years Ago
Fixed mixed shadow resampler too
3 Years Ago
Move resampler to shadow cache
3 Years Ago
Initial fix for shadows not upsampling once downsampled