From 6ddf30f092f9c037e8436b6ffa41311788dbe546 Mon Sep 17 00:00:00 2001 From: T1ti <40864460+T1ti@users.noreply.github.com> Date: Sat, 2 Nov 2024 02:00:18 +0100 Subject: [PATCH] update farclip value --- src/noggit/Sky.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/noggit/Sky.cpp b/src/noggit/Sky.cpp index e6b6591b..66f02909 100755 --- a/src/noggit/Sky.cpp +++ b/src/noggit/Sky.cpp @@ -911,7 +911,8 @@ void Skies::update_sky_colors(glm::vec3 pos, int time, bool global_only) const float fogStart = _fog_multiplier * fogEnd; const float fogRange = fogEnd - fogStart; - constexpr float fogFarClip = 500.f; // Max fog farclip possible + // constexpr float fogFarClip = 500.f; // Max fog farclip possible + constexpr float fogFarClip = 1583.333374f; // 1583.333374 for wrath/tbc zones, 791.666687 for vanilla zones if (fogRange <= fogFarClip) {