Jump to content
  • Advertisement
Sign in to follow this  
Nick The Newbie

Reverse depth test using only HLSL in FxComposer?

This topic is 4216 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm attempting to make a refraction shader that takes into account the distance to the farthest away surface in addition to the closest surface. Right now I'm rendering closest surface and closest surface normals to texture and plan to access them later. I'm using HLSL in nvidia fx composer 1.8. Is there any way to reverse the depth test in HLSL/fx composer so that I can capture the distance of the farthest away surfaces, but without having to create a program which does this, and then invokes my shader?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!