- Unity's
FullScreenInvertColorswork in both play mode and build. - My Zebra shader only works in play mode. There doesn't seem to be any log that could hint why.
Unity 6000.2.6f1 with a fresh project on Universal 3D with mostly default settings and in the "always include shader".
Shader "My/ZebraOverlayURP"
{
Properties
{
_Opacity ("Overlay Opacity", Range(0,1)) = 0.5
_StripeSize ("Stripe Size (px)", Range(2,200)) = 24
_AngleDeg ("Stripe Angle (deg)", Range(0,180)) = 45
_Contrast ("Stripe Contrast", Range(0,1)) = 1
_Invert ("Invert (0/1)", Float) = 0
}
SubShader
{
Tags { "RenderPipeline"="UniversalRenderPipeline" }
Pass...