1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-29 07:45:33 +00:00
openmw/components
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
..
bsa devirtualises BSAFile (#3161) 2021-10-11 10:09:48 +02:00
bullethelpers Detect and ignore updates for oscillating objects 2021-04-18 23:00:13 +02:00
compiler Parse local variables sharing a name with a function as variables 2021-10-06 21:27:08 +02:00
config change setValue to replace value instead of insert 2021-07-05 13:22:46 +00:00
contentselector Allow creating omwaddons without a dependency on an omwgame 2021-09-26 17:44:28 +02:00
crashcatcher Fix MSVC's C4267 warnings 2021-05-12 10:34:39 +04:00
debug Fixing performance-faster-string-find issues 2021-05-10 22:44:07 -05:00
detournavigator Merge branch 'recast_mesh_slope' into 'master' 2021-10-11 08:56:04 +00:00
esm Overhaul magic effects to work with onApply and onEnd events 2021-09-29 19:25:10 +02:00
esmterrain Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
fallback Fixing performance-faster-string-find issues 2021-05-10 22:44:07 -05:00
files Add tests for openmw options 2021-10-05 22:51:12 +02:00
fontloader Move getFileExtension to common header and use instead of repeating same code 2021-09-14 18:09:55 +02:00
interpreter Remove duplicate GetSquareRoot implementation 2021-09-19 19:53:38 +02:00
loadinglistener Make sync terrain preloading sleep free 2021-09-07 14:52:42 +02:00
lua Merge branch 'lua_transform' into 'master' 2021-10-06 09:21:21 +00:00
misc Use common function for sync and async case. Now both cases follow the 2021-10-05 15:44:20 +02:00
myguiplatform converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
nif Handle NiExtraData *properly* 2021-07-27 07:58:57 +03:00
nifbullet Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
nifosg fixes coverity-ci warning 2021-10-06 10:04:03 +00:00
process Remove redundant includes 2019-02-23 08:02:12 +04:00
queries Add missing include from sol/sol.hpp 2021-07-10 01:01:50 +02:00
resource use StateSet define for translucentFramebuffer (#3138) 2021-10-05 14:37:08 +02:00
sceneutil allows to skip ComputeLightSpaceBounds traversal (#3152) 2021-10-11 11:27:50 +02:00
sdlutil Merge branch 'windowing-system-cleanup' into 'master' 2021-07-25 21:01:06 +00:00
settings Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
shader use StateSet define for translucentFramebuffer (#3138) 2021-10-05 14:37:08 +02:00
terrain allows to skip ComputeLightSpaceBounds traversal (#3152) 2021-10-11 11:27:50 +02:00
to_utf8 Replace a handrolled memcpy with an actual call to memcpy 2021-06-22 12:52:29 +02:00
translation Replace all NULLs to nullptr 2018-10-09 10:21:12 +04:00
version Allow getting available version information even when clone is shallow 2017-03-07 21:53:49 +01:00
vfs devirtualises BSAFile (#3161) 2021-10-11 10:09:48 +02:00
widgets Sprinkle some const-ref 2021-08-15 19:50:28 +02:00
CMakeLists.txt Fix build with system static OpenSceneGraph 2021-09-17 19:59:11 +02:00
doc.hpp