Advertisement Jump to content
Sign in to follow this  
tresko

DX10 and tangent frames

This topic is 4091 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

Ive just created my first DX10 app. It is basically a BRDF shader. In DX9.0c I used the D3DXComputeTangentFrameEx() function to get the tbn-vectors, however this function does not work using the ID3DX10Mesh structure. Is there a similar function for DX10? Anyway, now Im calculating the tangent frame in the geometry shader (Slooow:) using triangleadj. This works, except where there are no adjacent triangles. How can i ensure that the vertex/index buffer always have adjacent triangles?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!