@TagGamesDavie wrote:
Hey,
I've been reading around the forum a bit, trying to figure this out. My scene depth is all broken. Here
I have a depth buffer, it's a render target, and I render to it. Woohoo!
Unfortunately, I appear to be rendering solid black, no greyscale, no alpha. Sigh.
Also, I don't know if the renderer is taking it into account at all. Double Sigh.The first part is just a normalisation issue. I can deal with that.
The second part, though, I'm not sure about. How can I pass the depth buffer into the graphics device so that it is used to decide which pixels to render? or should I just do this manually in my shaders?
Posts: 1
Participants: 1