godot/servers/rendering/renderer_rd
Dario b447e1baaf Improve handling of motion vectors for multimesh instances.
Fixes #67287. There was a subtle error where due to how enabling motion vectors for multi-meshes was handled, only the first instance would have a valid transforms buffer and the rest would point to an invalid buffer. This change moves over the responsibility of enabling motion vectors only when changes happen to the individual 3D transforms or the entire buffer itself. It also fixes an unnecessary download of the existing buffer that'd get overwritten by the current cache if it exists. Another fix is handling the case where the buffer was not set, and enabling motion vectors would not cause the buffer to be recreated correctly.

(cherry picked from commit 5155870d64)
2023-09-21 14:20:04 +02:00
..
effects Allow for external python scripts to call the build python headers via external scripts 2023-03-19 21:18:52 -07:00
environment Fix integer underflow when rounding up in VoxelGI 2023-09-21 14:09:19 +02:00
forward_clustered Improve handling of motion vectors for multimesh instances. 2023-09-21 14:20:04 +02:00
forward_mobile Fix error spam when a mesh with bone weights has an invalid skeleton 2023-06-22 15:58:52 +03:00
shaders Apply reprojection in multiview for our cluster lookup 2023-06-21 11:17:01 +10:00
spirv-reflect Refactor SPIR-V reflection into a generic RenderingDevice feature 2022-12-12 14:14:53 +01:00
storage_rd Improve handling of motion vectors for multimesh instances. 2023-09-21 14:20:04 +02:00
cluster_builder_rd.cpp Fix Vulkan crash with many Omni/SpotLights, Decals or ReflectionProbes 2023-09-20 22:44:04 +02:00
cluster_builder_rd.h Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D 2023-01-31 20:04:11 +01:00
framebuffer_cache_rd.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
framebuffer_cache_rd.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
pipeline_cache_rd.cpp Properly handle wireframe mode in RendererRD pipeline cache 2023-06-14 09:14:34 +02:00
pipeline_cache_rd.h Properly handle wireframe mode in RendererRD pipeline cache 2023-06-14 09:14:34 +02:00
renderer_canvas_render_rd.cpp Merge pull request #75181 from dalexeev/fix-light-only-mode 2023-05-27 17:28:29 +02:00
renderer_canvas_render_rd.h fix normal map not flipping in sprite2D 2023-01-14 11:51:56 +05:30
renderer_compositor_rd.cpp Move roughness limiter and sort into their own classes 2023-03-09 21:58:55 +11:00
renderer_compositor_rd.h Move roughness limiter and sort into their own classes 2023-03-09 21:58:55 +11:00
renderer_scene_render_rd.cpp Take 3D resolution scaling into account for mesh LOD 2023-05-20 16:40:16 -07:00
renderer_scene_render_rd.h Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D 2023-01-31 20:04:11 +01:00
SCsub Refactor SPIR-V reflection into a generic RenderingDevice feature 2022-12-12 14:14:53 +01:00
shader_rd.cpp Move some worker_thread_pool.h includes out of header files 2023-02-13 14:02:01 -05:00
shader_rd.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
uniform_set_cache_rd.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
uniform_set_cache_rd.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00