Hello, I'm trying to setup a custom pass volume to mask objects in 6000.2.2f1. It works in scene view (unlit / shaded) but not in game view. I saw a forum post that mentioned the material being masked needs to be transparent with Transparent Depth Prepass enabled which I have done. My target is using HDRP/Lit and the mask object is using the below shader:
Shader "Custom/StencilMask"
{
SubShader {
Tags {"Queue" = "Geometry+10" }
ColorMask 0
ZWrite On
Pass {}
}
}
Here's the post I mentioned earlier
Any ideas why it wouldn't be working in Game View?