I need to read depth buffer from GPU and write it to texture. How this can be done? Here is how texture for depth buffer is created: depthBufferDesc.Width = screenWidth; depthBufferDesc.Height = ...
I begin to learning direct3d10 and stuck with multiple passes. As input I have a triangle(that stored in vb/ib) and effect file: //some vertex shader and globals goes there. skip them to preserve ...
This image describes the problem I'm having: http://i42.tinypic.com/282kzlf.jpg What you are seeing consists of two images: Image A(with the alien-concept art thingy), depth value .98, the white ...