Code: Select all
virtual IMesh* createMeshWith2TCoords( IMesh* mesh ) const
I also modified makePlanarTextureMapping, to take an argument, so it can modify the 1st or 2nd texture coordinate of a mesh.
Code: Select all
virtual void makePlanarTextureMapping(scene::IMesh* mesh, bool firstTCoord, f32 resolution ) const
Here's an image of a frame of the Sydney model with a detail map texture, using 2 texture coords on the mesh -
