SDK DetailTessellation11 help

Started by
0 comments, last by Jason Z 14 years ago
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.
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.

This topic is closed to new replies.

Advertisement