Double WMO group distance cull from 80 to 160 units

This commit is contained in:
Kelsi 2026-02-06 03:28:56 -08:00
parent e01d80f4eb
commit 74bcce4f57

View file

@ -841,7 +841,7 @@ void WMORenderer::render(const Camera& camera, const glm::mat4& view, const glm:
// Hard distance cutoff - skip groups entirely if closest point is too far
glm::vec3 closestPoint = glm::clamp(camPos, gMin, gMax);
float distSq = glm::dot(closestPoint - camPos, closestPoint - camPos);
if (distSq > 6400.0f) { // Beyond 80 units - hard skip
if (distSq > 25600.0f) { // Beyond 160 units - hard skip
lastDistanceCulledGroups++;
continue;
}