Okay I think I figured out your problem. For some reason, D3DXComputeTangentFrame stores the U derivative in the BINORMAL, and V in the TANGENT. So if you use D3DXComputeTangentFrameEx and use the correct semantics, it should generate the tangent frame the way you want it. For the other parameters, you can just copy what's specified in documentation.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement