Reduce render distances for better performance

- Terrain load radius: 2 tiles (was 6) - 25 tiles max vs 169
- WMO render distance: 500 units (was 3000)
- M2 doodad distance: 300 units (was 1000)
This commit is contained in:
Kelsi 2026-02-03 13:37:52 -08:00
parent 01bf3b4c08
commit 3e792af3e5
3 changed files with 4 additions and 4 deletions

View file

@ -354,7 +354,7 @@ void WMORenderer::render(const Camera& camera, const glm::mat4& view, const glm:
// Render all instances with instance-level culling
const glm::vec3 camPos = camera.getPosition();
const float maxRenderDistance = 3000.0f; // Don't render WMOs beyond this distance
const float maxRenderDistance = 500.0f; // Reduced for performance
const float maxRenderDistanceSq = maxRenderDistance * maxRenderDistance;
for (const auto& instance : instances) {