i cant seem to change a Texture-material on my model Dynamically:
Firstly i load a 3D model into flash with its embedded texture with no problems..
During run-time i would like to change this texture to a new one that i have created like below:
var bitmapData:BitmapData = new BitmapData(256, 256, false,0xFF0000);
var texture:BitmapTexture = new BitmapTexture(bitmapData);
[url removed, login to view] = new TextureMaterial([url removed, login to view](texture));
no errors are in the output, my model is not changing to its new texture:
Im using an away3d gold engine