@Juliean Thank you for the prompt clarification.
So if I just bind that DepthStencilView as Input (using ShaderResourceView) for later stages, the later passes will read all depth information from that one, correct?
@Juliean Thank you for the prompt clarification.
So if I just bind that DepthStencilView as Input (using ShaderResourceView) for later stages, the later passes will read all depth information from that one, correct?
None
Key_C0de said:
So if I just bind that DepthStencilView as Input (using ShaderResourceView) for later stages, the later passes will read all depth information from that one, correct?
Yes, as long as you don't clear the depth-buffer in between ? There is virtually no difference between a depth-buffer and a render-target texture this way.
Juliean said:
Key_C0de said:
So if I just bind that DepthStencilView as Input (using ShaderResourceView) for later stages, the later passes will read all depth information from that one, correct?Yes, as long as you don't clear the depth-buffer in between ? There is virtually no difference between a depth-buffer and a render-target texture this way.
Well that's exactly what it is. It's a render to texture (aka offscreen buffer), specifically rendering the depth buffer to a texture like you would do with shadow maps.
There are only 2 types of renders (render to back buffer & render to texture).
None