I have some tree trunks imported from blender as a mesh.
tree1Material = new ColorMaterial(0x534716);
tree1Material.bothSides = true;
tree1Material.shadowMethod = filteredShadowMapMethod;
tree1Material.lightPicker = lightPicker;
tree1Material.gloss = 100;
tree1Material.specular = 0.0;
tree1Material.ambientColor = 0xFFFFFF;
tree1Material.ambient = 0.3;
//create mesh object and assign our animation object and material object
tree1Mesh = event.asset as Mesh;
tree1Mesh.material = tree1Material;
How can I clone this mesh in order to have more trunks as a small forest?
How can I use png-files with transparency in order to show leaves?
Many thanks