LoadBalancer.beco
This article is a stub. You can help ZeldaMods (Breath of the Wild) by expanding it. (For a list of non-stub pages, see Project:Pages.) |
This resource is found in Bootup.pack.
Its canonical resource path is "Ecosystem/MapTower.beco".
LoadBalancer.beco is a beco file. It is used to temporarily reduce the draw distance in some areas to help with performance.
LODMgr[1] does the following every game tick:
Player* link = ActorSystem::sInstance->getPlayer();
int balancer = eco::getCurrentAreaData(
link->position.x,
link->position.z,
Ecosystem::sInstance,
&Ecosystem::sInstance->loadBalancer);
this->cpuLoadBalancer = balancer;
if ( balancer && this->drawDistanceMultiplier > 0.7 )
this->drawDistanceMultiplier = 0.7;
Names come from leftover debug functions in LODMgr.
- ↑ Level of Detail Manager code @ 0x7101254C38 in the Switch 1.5.0 executable