Iām pulling in models that, more often than not, have no normals and no tangents. I was disappointed to see this line in the comments for aiProcess_CalcTangentSpace:
"Does nothing if a mesh does not have normals.ā
The problem here is, my mesh does have normals, but they were just calculated by aiProcess_GenSmoothNormals .
Is there any way to do an additional post process pass after generating the normals? I could definitely write code to generate tangents myself, but I trust the assimp team's tangent generating skills more than mine .
UPDATE: I found that you could apply additional post process steps through the use of the Importer's member function "ApplyPostProcessing(UINT flags)"
The problem is that despite doing this, my model still has no tangents or bitangents. This screenshot sums up the problem pretty easily:
Thank you for reading