Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsiri

Posted 18 April 2013 - 10:09 PM

I don't think you can just grab depth in D3D9. I could be wrong but I think that's a feature that came in with D3D10. You will need to use a shader to render the depth to a floating point render target and then pass that to the particle shader.

 

Edit:

 

Hodgmans answer is better.


#1siri

Posted 18 April 2013 - 10:09 PM

I don't think you can just grab depth in D3D9. I could be wrong but I think that's a feature that came in with D3D10. You will need to use a shader to render the depth to a floating point render target and then pass that to the particle shader.


PARTNERS