How can I assign MultipleMaterials to cube?
MultipleMaterials on CubeSoftware: Away3D 4.x |
||
|
||
Richard Olsson, Administrator
Posted: 27 July 2012 08:57 AM Total Posts: 1192 [ # 1 ] If you want different materials, you will have to create your own cube from six plane meshes. If you want the same material (shading et c) but using different textures, draw all textures onto a single bitmap texture according to the layout described in the documentation for the tile6 property on CubeGeometry, and set that property to true. |
||
Mr Margaret Scratcher, Sr. Member
Posted: 27 July 2012 01:53 PM Total Posts: 344 [ # 2 ] I’m about to make a class that makes a cube from 6 supplied materials, once I’m done I’ll post it up here. |
||
|