godot/servers/rendering/renderer_rd/forward_clustered
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
..
render_forward_clustered.cpp Improve handling of motion vectors for multimesh instances. 2023-09-21 14:20:04 +02:00
render_forward_clustered.h (Re-)Implemented Light3D's property "shadow_reverse_cull_face" 2023-05-19 19:22:10 +02:00
scene_shader_forward_clustered.cpp Varying mismatch causing shaders to fail. 2023-06-23 21:36:38 -07:00
scene_shader_forward_clustered.h Re-implement the PSSM_SPLITS debug option 2023-04-28 17:53:56 -07:00
SCsub Move clustered renderer functionality 2021-04-05 23:11:38 +10:00