diff options
author | jfons <joan.fonssanchez@gmail.com> | 2021-08-04 17:18:06 +0200 |
---|---|---|
committer | jfons <joan.fonssanchez@gmail.com> | 2021-08-19 13:46:51 +0200 |
commit | 55e7832d7b2ff4f6c9458962977d75970e581741 (patch) | |
tree | 534429b5f0c7fe788023e7308b09defeac22098f /servers/rendering/renderer_rd/cluster_builder_rd.cpp | |
parent | 8b6c168b3ac14d9ac6350d03e7be4d196311e0fe (diff) |
Improvements to SpotLight3D and OmniLight3D's shadows
OmniLight3D:
* Fixed lack of precision in cube map mode by scaling the projection's
znear.
* Fixed aliasing issues by making the paraboloids use two square regions instead of two half
squares.
* Fixed shadowmap atlas bleeding by adding padding.
* Fixed sihadow blur's inconsistent radius and unclamped sampling.
SpotLight3D:
* Fixed lack of precision by scaling the projection's znear.
* Fixed normal biasing.
Both:
* Tweaked biasing to make sure it works out of the box in most situations.
Diffstat (limited to 'servers/rendering/renderer_rd/cluster_builder_rd.cpp')
0 files changed, 0 insertions, 0 deletions