Why my pass can not write Scene Depth?

_Z11
Mon, 19 Sep 2022 03:55:19 +0000
Rendering

I set the DepthStencilState as<true, CF_DepthNearOrEqual>，and bind my pass RenderTargets.DepthStencil = BasePassRenderTargets.DepthStencil . Use RDG add MyPass into BasePass to Draw.Finally color buffer，normal buffer … every buffer is correct，except SenceDepth.I don’t know what I did less or did wrong.
Sorry for my bad english.I struggled with this problem for many days，I was expecting some help here.
Thank you.

3 posts - 2 participants