OGRE - mesh tangents

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
AtomUpgrader
User
User
Posts: 17
Joined: Fri Jun 21, 2013 11:59 am

OGRE - mesh tangents

Post 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