Page 1 of 1

How to scale an IAnimatedMeshSceneNode Texture!

Posted: Fri May 19, 2006 3:54 pm
by mmh771
Does anyone here know how to scale a SceneNode texure, like repeating it 20 or 30 times! ...

I only found in the tutorials how to scale a TerrainSceneNode texure by using:

Myterrain->setscale(....)

But i want to scale it for a different SceneNode rather than the terrainSceceNode

Posted: Fri May 19, 2006 7:09 pm
by hybrid
Change the texture coords of the mesh such that instead of going from 0 to 1 they go from 0 to 20 or 30 (i.e. scale the coords).