after posting this I went and read some more articles and realised I don't need to copy the depth buffer if I need to copy the Depth buffer Why not just
use the other depth buffer and not have 2 of the same. Man I wasted a good half a day on trying nothing lol.
and as for feature level when I started my project my video card was only dx 10 no more Now I have a new card Im not to sure if I can from my code base.
my code base follows Frank D. LUNA Introduction to 3d game programming with dx 10 way of set up.
How much work would be involved in that unsure. I would Like to.
What I was trying to do was stop my glowing objects from showing through the terrain when blocked by a hill.
My first try was to render the whole terrain again to the glow map but this added 15 milliceconds to the render time thats far to much.
then I thought I could use a multi render target to out put to both glow render target and sceene for terrain that worked but my lightning could be seen through the terrain
because there was no depth map thats what triggered me to try to copy the 2 depth maps and now its 4 hours later.
Thats a case of to long at the computer.
I would Like to here any advice on a update to dx 11.
Thanks All. and I forgot to say it only adds 3 milliseconds to the render time cool.
Edited by ankhd, 22 August 2014 - 02:18 AM.