minetest/builtin
x2048 bf3acbf388
Distribute shadow map update over multiple frames to reduce stutter (#11422)
Reduces stutter and freezes when playing.

 * Maintains double SM and SM Color textures
 * Light frustum update triggers incremental generation of shadow map into secondary 'future' textures.
 * Every incremental update renders a portion of the shadow draw list (split equally).
 * After defined number of frames (currently, 4), 'future' and 'current' textures are swapped, and DirectionalLight 'commits' the new frustum to use when rendering shadows on screen.

Co-authored-by: sfan5 <sfan5@live.de>
2021-07-25 12:36:23 +02:00
..
async Use "core" namespace internally 2014-05-08 13:02:04 -04:00
client Remove hardcoded "You died." message in chat (#11443) 2021-07-12 20:32:27 +02:00
common Add metatables to lua vectors (#11039) 2021-06-04 21:22:33 +02:00
fstk Mainmenu: Improve "Join Game" tab (#11078) 2021-03-20 19:48:25 +01:00
game Add wallmounted support for plantlike and plantlike_rooted nodes (#11379) 2021-07-15 21:19:59 +02:00
locale Update builtin locale (#11371) 2021-06-21 18:55:55 +01:00
mainmenu Fix spurious shadow enablement in mainmenu 2021-06-30 17:10:28 +02:00
profiler Builtin: Translatable join, leave, profiler msgs (#11064) 2021-03-19 21:46:11 +01:00
init.lua Add metatables to lua vectors (#11039) 2021-06-04 21:22:33 +02:00
settingtypes.txt Distribute shadow map update over multiple frames to reduce stutter (#11422) 2021-07-25 12:36:23 +02:00