Your ScreenFader shader returns the following error when running on Metal, which is the default option in Unity Editor for macOS:
Metal: Error creating pipeline state (Custom/ScreenFade): fragment shader color output does not have enough components for the pixel format (MTLPixelFormatBGRA8Unorm_sRGB)
(null)
It can be fixed by changing frag function to this:
Hey,
Your
ScreenFader
shader returns the following error when running on Metal, which is the default option in Unity Editor for macOS:It can be fixed by changing
frag
function to this: