branchsbox/shadow-rescalercancel

11 Commits over 0 Days - ∞cph!

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