I'm currently implementing a picking system. I render some objects in a frame buffer, which has a render target, which has the D3DFMT_R32F format. For each mesh, I set an integer constant evaluator, ...
Is it possible to set the depth buffer (i.e. draw depth values directly) in XNA? All the examples I could find are showing how to render a 3D scene to a RenderTarget2D and get the depth information ...
I can display a textured quad by using D3D11 & DirectXTex's ScratchImage and CreateShaderResourceView. How would I be able to render this texture to another one similarly created? I know that I ...