summaryrefslogtreecommitdiff
path: root/modules/gltf/gltf_node.cpp
diff options
context:
space:
mode:
authorjfons <joan.fonssanchez@gmail.com>2021-08-04 17:18:06 +0200
committerjfons <joan.fonssanchez@gmail.com>2021-08-19 13:46:51 +0200
commit55e7832d7b2ff4f6c9458962977d75970e581741 (patch)
tree534429b5f0c7fe788023e7308b09defeac22098f /modules/gltf/gltf_node.cpp
parent8b6c168b3ac14d9ac6350d03e7be4d196311e0fe (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 'modules/gltf/gltf_node.cpp')
0 files changed, 0 insertions, 0 deletions