Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Cypher19

Has anyone used the oDepth register in PS 2.0 (and up)?

This topic is 5424 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''ve just been racking my brain trying to figure out a useful application for the oDepth register in PS 2.0 and up, and I was wondering if anyone had any demos (preferably screen caps, I''ve only got a GeForce4) of oDepth being used, or some applications of it.

Share this post


Link to post
Share on other sites
Advertisement
I know I use it for some research apps I''m working on. But I''m working on hardware ray tracing using pixel shaders. I render a screen-aligned quad and use the pixel shader to test for intersection against the geometry. If there''s an intersection, I write out the depth of that intersection to the oDepth register.

I''m sure there are other applications that it could be used for as well.

neneboricua

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!