Topic: Unable to scale Textures
According to this site http://www.irrlicht3d.org/wiki/index.ph … dMaterials it should be possible to scale the texture in the following code sample:
Local snowTex:ITexture = engine.video.GetTexture("tex.png") ter.terrainMeshSceneNode.setMaterialTexture(0, snowTex) ter.terrainMeshSceneNode.getMaterial(0).getTextureMatrix(0).setTextureScale(1, 10)
The problem: It doesn't matter which scale-factors I use, the result is always the same 1:1 unscaled texture. I possibly have to show more code but it seems not to be my fault (sadly ).
It would be nice if there is any solution or sth. else. Getting the Matrix to set it after the manipulation again doesn't work, too.