Topic: Unable to scale Textures

Local snowTex:ITexture = engine.video.GetTexture("tex.png")
ter.terrainMeshSceneNode.setMaterialTexture(0, snowTex)
ter.terrainMeshSceneNode.getMaterial(0).getTextureMatrix(0).setTextureScale(1, 10)

Re: Unable to scale Textures

sm.setTextureMatrix(0,sm.getTextureMatrix(0).setTextureScale(4,4));

Re: Unable to scale Textures

Thank you for your answer, but also this code seems not to work. The scale factor doesn't affect the Texture in any way...

...
Local mat:Matrix4 = ter.terrainMeshSceneNode.getMaterial(0).getTextureMatrix(0)
mat.setTextureScale(0.1, 10)
ter.terrainMeshSceneNode.getMaterial(0).setTextureMatrix(0, mat)
...

If needed I'll upload you an example code to test it yourself wink