Skip to content

Commit 611d89e

Browse files
committed
overlay shader: remove superfluous 'all'
1 parent c716ef7 commit 611d89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Wm3Util/Shaders/Wm3Overlay.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
float4 frag(vs_out IN) : COLOR
5555
{
5656
float4 colortex = tex2D(_MainTex, IN.tex);
57-
float trans = all(all(colortex.rgb == _TransColor.rgb)) & (_Overlay > 0);
57+
float trans = all(colortex.rgb == _TransColor.rgb) & (_Overlay > 0);
5858
clip(-trans);
5959
float4 color = Wm3Lighting(colortex, IN.normal, IN.worldPos, _Diffuse, _Color);
6060
return color;

0 commit comments

Comments
 (0)