1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00
OpenMW/apps
Bo Svensson 98f8295765
allows to skip ComputeLightSpaceBounds traversal (#3152)
Currently, we always traverse the scene graph an additional time with a ComputeLightSpaceBounds visitor during shadow casting. ComputeLightSpaceBounds is only useful when the shadow casting mask allows us to shrink the bounds of the rendered scene, so we guard its traversal with a check against getCastsShadowTraversalMask. In practice, this guard never works because we build the traversal mask inclusively.

With this PR we limit the getCastsShadowTraversalMask check to relevant masks. This new check allows us to skip a superfluous ComputeLightSpaceBounds traversal with most settings.
2021-10-11 11:27:50 +02:00
..
benchmarks
bsatool
esmtool
essimporter Overhaul magic effects to work with onApply and onEnd events 2021-09-29 19:25:10 +02:00
launcher
mwiniimporter
niftest
opencs Merge branch 'omwaddon_dep' into 'master' 2021-10-08 06:40:43 +00:00
openmw allows to skip ComputeLightSpaceBounds traversal (#3152) 2021-10-11 11:27:50 +02:00
openmw_test_suite Merge branch 'options_tests' into 'master' 2021-10-08 08:02:40 +00:00
wizard
doc.hpp