minetest/client/shaders
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
..
3d_interlaced_merge Use vec4 for varTexCoord in interlaced shader (#11004) 2021-03-01 13:37:32 +01:00
default_shader Fix swapped vertex colors on GLES2 2021-05-11 21:15:39 +02:00
minimap_shader Fix swapped vertex colors on GLES2 2021-05-11 21:15:39 +02:00
nodes_shader Distribute shadow map update over multiple frames to reduce stutter (#11422) 2021-07-25 12:36:23 +02:00
object_shader Shadow mapping render pass (#11244) 2021-06-06 18:51:21 +02:00
selection_shader Fix swapped vertex colors on GLES2 2021-05-11 21:15:39 +02:00
shadow_shaders Shadow mapping render pass (#11244) 2021-06-06 18:51:21 +02:00
stars_shader Sky: support GLES2 2020-11-26 12:49:10 -08:00