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
..
2021-02-24 11:47:50 +01:00
2021-07-21 22:07:13 +02:00
2017-08-17 22:19:39 +02:00
2021-06-20 17:20:24 +02:00
2020-05-18 23:23:25 +02:00
2019-12-07 23:46:24 +01:00
2019-01-16 13:39:13 +01:00
2017-08-30 08:09:41 +02:00
2021-01-22 15:09:26 +00:00
2018-03-30 18:32:52 +02:00
2020-10-04 15:24:34 +02:00
2021-01-24 14:40:34 +00:00
2017-08-17 22:19:39 +02:00
2017-08-17 22:19:39 +02:00
2020-10-19 09:31:09 -07:00
2020-09-09 19:12:03 +02:00
2019-08-07 19:16:31 +02:00
2020-12-23 14:48:08 -08:00
2019-08-13 19:56:55 +02:00
2017-08-17 22:19:39 +02:00
2017-08-17 22:19:39 +02:00
2019-09-22 22:12:21 +02:00
2017-08-17 22:19:39 +02:00