Viewport glitching when using Custom Depth Stencil

I had this issue. I realised I had custom depth set to “Enabled” not “Enabled with Stencil” in project settings.

9 Likes