From 500d873136d23b4f0ff2f30ca4d303295b22ea76 Mon Sep 17 00:00:00 2001 From: Cody Glassman Date: Wed, 7 May 2025 18:19:21 -0700 Subject: [PATCH] remove unecassary clamp in fragment shader --- files/shaders/compatibility/objects.frag | 1 - 1 file changed, 1 deletion(-) diff --git a/files/shaders/compatibility/objects.frag b/files/shaders/compatibility/objects.frag index 13c311611b..150f5985c3 100644 --- a/files/shaders/compatibility/objects.frag +++ b/files/shaders/compatibility/objects.frag @@ -222,7 +222,6 @@ vec2 screenCoords = gl_FragCoord.xy / screenRes; vec3 lighting, specular; #if !PER_PIXEL_LIGHTING lighting = passDiffuseLighting * diffuseColor.xyz + passLighting; - clampLightingResult(lighting); lighting += shadowDiffuseLighting * diffuseColor.xyz * shadowing; specular = passSpecular + shadowSpecularLighting * shadowing; #else