Detailmap on MeshSceneNodes

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.
Post Reply
blackb
Posts: 13
Joined: Mon Oct 26, 2009 2:25 pm

Detailmap on MeshSceneNodes

Post by blackb »

Hi @all,
Does anyone know how to create an detailmap on other scene nodes (I read somewhere that the terrainscenenode is not that good for using with Newton Game Dynamics so I want to create my terrain with blender and import it as an .3ds)...
Ah before I forget, how to scale the textures on not-terrain scenenodes?
->scaletexture() doesn't exist for others (or not for those I searched in xD)...

BB
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Re: Detailmap on MeshSceneNodes

Post by randomMesh »

blackb wrote:Ah before I forget, how to scale the textures on not-terrain scenenodes?
->scaletexture() doesn't exist for others

Code: Select all

material.getTextureMatrix(0).setTextureScale();
"Whoops..."
blackb
Posts: 13
Joined: Mon Oct 26, 2009 2:25 pm

Post by blackb »

Thanks :)
Post Reply