Jump to content
  • Advertisement
Sign in to follow this  

Creating adjacency information in a domain shader.

This topic is 2693 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 trying to tessellate a quad for some displacement mapping. I also need to do some edge detection in a geometry shader once my quad has been tessellated but I can't seem to find a way to generate any adjacency information in the domain shader. Does anyone know how I might go about doing this? If I could figure out how the SV_DomainLocation coordinates are generated based on the tessellation factors are generated then I might be able to predict where the neighbor vertices would be.

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!