diff options
author | reduz <reduzio@gmail.com> | 2021-07-29 13:30:39 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2021-07-29 13:51:32 -0300 |
commit | 55d357b1ebcff4560386e72500707304b6bef50b (patch) | |
tree | fab41d2343473bfe4feb9bb6e742d9bb11f41496 /scene/2d/area_2d.cpp | |
parent | 8ee7adac1e285b47bd16d7420365fc5976a88a78 (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/2d/area_2d.cpp')
0 files changed, 0 insertions, 0 deletions