Megafunk / MassSample

My understanding of Unreal Engine 5's experimental ECS plugin with a small sample project.
MIT License
681 stars 112 forks source link

ISM Custom Data Query Optimization #40

Closed Ji-Rath closed 1 year ago

Ji-Rath commented 1 year ago

Simple PR which I originally thought to fix some rare crashing with ISM Custom Data but I believe it was fixed with 5.0.3.

Really just a simple query suggestion/optimization to prevent sending updates to ISMs that aren't being rendered. It also just quickly includes the PreviousLODSignificance when sending the batched custom data. This allows the batched data to also be sent to the last LOD range (My guess for a better transition).