Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 5e59651

Browse files
committed
Force alpha to 1 after FXAA
FXAA stores luma info in alpha, when rendering to a RT used as a texture in UI it messes up everything.
1 parent a49e546 commit 5e59651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PostProcessing/Resources/Shaders/FXAA.shader

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Shader "Hidden/Post FX/FXAA"
6363

6464
color.rgb = UberSecondPass(color.rgb, i.uv);
6565

66-
return color;
66+
return half4(color.rgb, 1.0);
6767
}
6868

6969
ENDCG

0 commit comments

Comments
 (0)