Skip to content

Commit 2796fbc

Browse files
authored
Disable depth testing for a screenspace shader (#165)
1 parent dfaa9ef commit 2796fbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/Shaders/UI/UIPanelFade.shader

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
{
2020
Blend SrcAlpha OneMinusSrcAlpha
2121
ZWrite Off
22+
ZTest Always
2223
Cull Off
2324

2425
HLSLPROGRAM

0 commit comments

Comments
 (0)