OGRE - mesh tangents
Posted: Tue Jul 09, 2013 3:48 pm
Now for create a mesh using it:
add like:
This is necessary to correct the shading using the tangent space
Code: Select all
MeshVertexColor
MeshVertexCount
MeshVertexNormal
MeshVertexPosition
MeshVertexTextureCoordinate
Code: Select all
MeshVertexTangent