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

@ -364,7 +364,7 @@ void M2Renderer::render(const Camera& camera, const glm::mat4& view, const glm::
lastDrawCallCount = 0;
// Distance-based culling threshold for M2 models
const float maxRenderDistance = 1000.0f; // Don't render small doodads beyond this
const float maxRenderDistance = 300.0f; // Reduced for performance
const float maxRenderDistanceSq = maxRenderDistance * maxRenderDistance;
const glm::vec3 camPos = camera.getPosition();