Skip to content

Commit

Permalink
Fix shader issue with Metal on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7c13 committed Jul 31, 2023
1 parent 4c6c875 commit 9ffebd2
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Assets/Resources/Shaders/Pal3RoundedFrostedGlass.shader
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,19 @@ Shader "Pal3/RoundedFrostedGlass"

SubShader
{
// Horizontal blur
GrabPass
{
"_HBlur"
}
/*
ZTest Off
Blend SrcAlpha OneMinusSrcAlpha
*/

Cull Off
Lighting Off
ZTest Off
ZWrite Off
//ZTest [unity_GUIZTestMode]
Blend SrcAlpha OneMinusSrcAlpha

// Horizontal blur
GrabPass
{
"_HBlur"
}

Pass
{
CGPROGRAM
Expand Down

0 comments on commit 9ffebd2

Please sign in to comment.