summaryrefslogtreecommitdiff
path: root/scene/resources/world_2d.cpp
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2021-07-29 13:30:39 -0300
committerreduz <reduzio@gmail.com>2021-07-29 13:51:32 -0300
commit55d357b1ebcff4560386e72500707304b6bef50b (patch)
treefab41d2343473bfe4feb9bb6e742d9bb11f41496 /scene/resources/world_2d.cpp
parent8ee7adac1e285b47bd16d7420365fc5976a88a78 (diff)
Fix directional shadow bias
* Simplified code a lot, bias based on normalized cascade size. * Lets scale cascades, max distance, etc. without creating acne. * Fixed normal biasing in directional shadows. I removed normal biasing in both omni and spot shadows, since the technique can't be easily implemented there. Will need to be replaced by something else.
Diffstat (limited to 'scene/resources/world_2d.cpp')
0 files changed, 0 insertions, 0 deletions