As the user moves throughout the space, it's best not to load everything at once. By setting a render distance you can control how much of the scene the guest gets to experience at a time. As guests wander throughout the space the things they are walking toward begin to load, and the things they walk away from no longer render.
Set Render Distance and Fog Distance in the Editor > World Editor > Environment
Set the distance that objects render for each user. Limit render distance for complex spaces with lots of objects, to prevent guests from having to load everything at once. Remember, this is a website and not a game engine. Some users may enter on a phone or mobile device with limited processing power.
As they move around and new objects come within the render radius, the new objects will be loaded and old objects will be unloaded.
The default Render Distance is 800 meters. Lower this for complex spaces with lots of objects.
Use render distance along with Portals or the Places Menu to separate large complex areas. By the time a user has moved into the new area, the previous space has left their render zone and the new area will be loaded.
Fog washes out objects outside of a specified distance, and is used to restrict the view of objects that are far away. Use Fog Distance in coordination with Render Distance to pre-load objects out-of-view of the guest.
Set Fog Distance lower than Render Distance in the World Editor > Environment Settings. The below example has a Render Distance of 250 meters, and Fog Distance at 150 meters.
Please sign in to leave a comment.