mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-21 20:11:34 +00:00
remove unecassary clamp in fragment shader
This commit is contained in:
parent
055cc35208
commit
500d873136
1 changed files with 0 additions and 1 deletions
|
@ -222,7 +222,6 @@ vec2 screenCoords = gl_FragCoord.xy / screenRes;
|
||||||
vec3 lighting, specular;
|
vec3 lighting, specular;
|
||||||
#if !PER_PIXEL_LIGHTING
|
#if !PER_PIXEL_LIGHTING
|
||||||
lighting = passDiffuseLighting * diffuseColor.xyz + passLighting;
|
lighting = passDiffuseLighting * diffuseColor.xyz + passLighting;
|
||||||
clampLightingResult(lighting);
|
|
||||||
lighting += shadowDiffuseLighting * diffuseColor.xyz * shadowing;
|
lighting += shadowDiffuseLighting * diffuseColor.xyz * shadowing;
|
||||||
specular = passSpecular + shadowSpecularLighting * shadowing;
|
specular = passSpecular + shadowSpecularLighting * shadowing;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue