HaywireInteractive / OnAllFronts-Public

UE5 MilSim FPS / RTS Game (formerly ProjectM)
MIT License
122 stars 24 forks source link

Explore screen size LOD calculation for Mass Replication #910

Closed Leroy231 closed 5 months ago

Leroy231 commented 6 months ago

Currently Mass Replication calculates LOD based on entity distance from players. This isn't great because if a player is looking at an entity really far away while zoomed in with drone the entity may not be getting replicated to their client because there's too many other entities that are closer and we hit the limit of number of entities we replicate with Mass. If we calculate Mass Replication LODs based on screen size instead, in this scenario of being zoomed into a far away entity we'd replicate it because its screen size would be large.