Creating adjacency information in a domain shader.

Started by
-1 comments, last by Grasshopper 13 years ago
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.

This topic is closed to new replies.

Advertisement