Page 1 of 1

OGRE - mesh tangents

Posted: Tue Jul 09, 2013 3:48 pm
by AtomUpgrader
Now for create a mesh using it:

Code: Select all

MeshVertexColor
MeshVertexCount
MeshVertexNormal
MeshVertexPosition
MeshVertexTextureCoordinate
add like:

Code: Select all

MeshVertexTangent
This is necessary to correct the shading using the tangent space