Hmmm this seems to be some bug that has never been fixed :p I found a class somewhere else that should fix it but decided to go for..
this.view.scene.removeChild(this.cube); this.view.scene.addChild(this.cube); Which seems to do it also :) On Aug 23, 11:48 am, Mech7 <[email protected]> wrote: > Is there something changed since 3.5.0 ? > > I cannot set a material on 1 side of a cube anymore.. > > this.cube = new Cube(); > this.cube.width = stage.stageWidth; > this.cube.depth = stage.stageWidth; > this.cube.height = stage.stageHeight; > this.camera.target = this.cube; > this.view.scene.addChild(this.cube); > this.cube.cubeMaterials.right = new ColorMaterial(0x000000, { alpha:. > 3 } ); > this.cube.updateMaterials(this.cube, this.view); > > If i just set the material to... > > this.cube.material = new ColorMaterial(0x000000, { alpha:.3 } ); > > it does work :(
