From 30b3cab3e7aebbda3880e2e75379342aee17f29d Mon Sep 17 00:00:00 2001 From: Ji-Rath Date: Thu, 14 Jul 2022 18:02:41 -0500 Subject: [PATCH] Add PrevLODSignificance when sending batched custom data. This allows the previous significance range to also receive the data (my guess for a smoother transition) --- .../Representation/Processors/ISMPerInstanceDataProcessors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/MassCommunitySample/Source/MassCommunitySample/Representation/Processors/ISMPerInstanceDataProcessors.cpp b/Plugins/MassCommunitySample/Source/MassCommunitySample/Representation/Processors/ISMPerInstanceDataProcessors.cpp index 3802aec..4c61367 100644 --- a/Plugins/MassCommunitySample/Source/MassCommunitySample/Representation/Processors/ISMPerInstanceDataProcessors.cpp +++ b/Plugins/MassCommunitySample/Source/MassCommunitySample/Representation/Processors/ISMPerInstanceDataProcessors.cpp @@ -44,7 +44,7 @@ void UismPerInstanceDataUpdater::Execute(UMassEntitySubsystem& EntitySubsystem, // This can accept any struct that the size of n floats. It seems to be required to be called every frame we want to change it - ISMInfo.AddBatchedCustomData(RenderData.Data, RepresentationLOD.LODSignificance); + ISMInfo.AddBatchedCustomData(RenderData.Data, RepresentationLOD.LODSignificance, Representation.PrevLODSignificance); } } });