fix(rendering): synchronize hidden live projections

Inbound state continues while portal reveal blocks ordinary world simulation. Synchronize only the derived render projection after those hidden-frame network and command phases so the first revealed draw cannot observe a stale live transform, without advancing effects, particles, attachments, or lights.
This commit is contained in:
Erik 2026-07-25 03:14:15 +02:00
parent 528dec6072
commit 6a026c5ab0
6 changed files with 52 additions and 4 deletions

View file

@ -1,16 +1,16 @@
using AcDream.App.Update;
using AcDream.App.World;
using AcDream.Core.World;
namespace AcDream.App.Rendering.Scene;
internal interface ILiveRenderProjectionSink
internal interface ILiveRenderProjectionSink : IRenderProjectionSyncPhase
{
bool OnEntityReady(LiveEntityReadyCandidate candidate);
void OnProjectionVisibilityChanged(LiveEntityRecord record, bool visible);
void OnProjectionPoseReady(uint serverGuid);
void OnProjectionRemoved(uint localEntityId);
void OnResourceUnregister(WorldEntity entity);
void SynchronizeActiveSources();
}
/// <summary>