Skip to content

Commit 500d873

Browse files
committed
remove unecassary clamp in fragment shader
1 parent 055cc35 commit 500d873

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

files/shaders/compatibility/objects.frag

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ vec2 screenCoords = gl_FragCoord.xy / screenRes;
222222
vec3 lighting, specular;
223223
#if !PER_PIXEL_LIGHTING
224224
lighting = passDiffuseLighting * diffuseColor.xyz + passLighting;
225-
clampLightingResult(lighting);
226225
lighting += shadowDiffuseLighting * diffuseColor.xyz * shadowing;
227226
specular = passSpecular + shadowSpecularLighting * shadowing;
228227
#else

0 commit comments

Comments
 (0)