mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Double WMO group distance cull from 80 to 160 units
This commit is contained in:
parent
e01d80f4eb
commit
74bcce4f57
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue