Can you make a standard transparent HDRP lit material use a stencil buffer effect?

Is it possible to make a transparent HDRP material use stencil buffer to blend in with each other? Or is this not supported by HDRP? I’m aware there are custom shaders but they’re for the old unity materials it would be great if there was an effect I could simply enable in the engine but as far as I’m aware this hasn’t been put in, someone correct me if I’m wrong.

Bumping, would appreciate a definitive answer on this.

OH! I think I found the answer!

https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@7.1/manual/Custom-Pass.html

1 Like

If somebody could detail for me how I would go about combining a stencil buffer shader with the new HDRP lit material that would be great, it seems doable it would just save me the headache of blindly experimenting.

1 Like