Custom Depth doesn’t work.
My steps:
- Create new project
- Set custom depth “enabled with stencil” in project settings.
- Create mesh on scene. Make it “render custom depth”, set stencil to some value.
- Create post material with the only node “SceneTexture: Custom Depth”
- Add post material to postprocess volume. Result - just white color. No custom depth. But when I select “custom depth” from buffer visualisaition - it works great, I can see my object’s custom depth.