mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
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:
parent
01bf3b4c08
commit
3e792af3e5
3 changed files with 4 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue