Jump to content
  • Advertisement
Sign in to follow this  
rgibson11

SDK DetailTessellation11 help

This topic is 3086 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 am learning tessellation and im currently using the shader from the sdk example DetailTessellation11. I am now having a weird problem with flickering and one of the objects behaving strangely, going invisible for a while then coming back. I noticed that you need the vertices in tangent space? How do I do that? I have actual tangent coords in my vertex but I dont know how to make the actual vertex position be in tangent space.

Share this post


Link to post
Share on other sites
Advertisement
The output from the tesselator stage contain barycentric coordinates, which I think is what you mean by tangent space vertex positions. In my engine (see link below) is a 'BasicTesselation' sample that shows how that works and how to recreate the WS position from barycentric coords.

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!