If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
-
mmh771
- Posts: 39
- Joined: Thu Apr 27, 2006 7:02 am
Post
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
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
-
Contact:
Post
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).