You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fixed Timestep Interpolation: MultiMesh
Adds fixed timestep interpolation to multimeshes. Co-authored-by: lawnjelly <lawnjelly@gmail.com>
This commit is contained in:
@@ -4392,7 +4392,8 @@ void RendererSceneCull::set_scene_render(RendererSceneRender *p_scene_render) {
|
||||
/* INTERPOLATION API */
|
||||
|
||||
void RendererSceneCull::update_interpolation_tick(bool p_process) {
|
||||
// TODO (MultiMesh): Update interpolation in storage.
|
||||
// MultiMesh: Update interpolation in storage.
|
||||
RSG::mesh_storage->update_interpolation_tick(p_process);
|
||||
|
||||
// INSTANCES
|
||||
|
||||
@@ -4450,7 +4451,8 @@ void RendererSceneCull::update_interpolation_tick(bool p_process) {
|
||||
}
|
||||
|
||||
void RendererSceneCull::update_interpolation_frame(bool p_process) {
|
||||
// TODO (MultiMesh): Update interpolation in storage.
|
||||
// MultiMesh: Update interpolation in storage.
|
||||
RSG::mesh_storage->update_interpolation_frame(p_process);
|
||||
|
||||
if (p_process) {
|
||||
real_t f = Engine::get_singleton()->get_physics_interpolation_fraction();
|
||||
|
||||
Reference in New Issue
Block a user