   D3DXComputeTangentFrame doesn't average normals
  I call the function in this way:D3DXComputeTangentFrameEx(tempMesh,D3DDECLUSAGE_TEXCOORD, 0,D3DDECLUSAGE_TANGENT, 0, D3DDECLUSAGE_BINORMAL, 0,D3DDECLUSAGE_NORMAL, 0,D3DXTANGENT_GENERATE_IN_PLACE | (computeNewNormals ? D3DXTANGENT_CALCULATE_NORMALS : 0),NULL, 0.01f, 0.25f, 0.01f, NULL, NULL);And i don't get my normals averaged. Looks like the normal is computed per-face. What could be wrong? I'm more surprised cause I remember ir worked before   
  Ok, I found the solution. I need to generate adjacency information and pass it to D3DXComputeTangentFrame. Thought that passing "NULL" would generate them   