mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
remove clamp fix that didn't work anyway
This commit is contained in:
parent
73db8b3fd2
commit
b5a1690f9a
|
@ -276,12 +276,6 @@ vec3 outColor = Tri(pos);
|
|||
#endif
|
||||
if(shadowMask > 0.0)
|
||||
outColor.rgb*=Mask(vTexCoord.xy / global.OutputSize.zw * 1.000001);
|
||||
//hacky clamp fix
|
||||
vec2 bordertest = pos;
|
||||
if ( bordertest.x > 1.0 && bordertest.x < 0.0 && bordertest.y > 1.0 && bordertest.y < 0.0)
|
||||
outColor.rgb = vec3(0.0);
|
||||
else
|
||||
outColor.rgb = outColor.rgb;
|
||||
|
||||
FragColor = vec4(ToSrgb(outColor.rgb), 1.0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue