I am aiming to create a 3D room using three.js. My goal is to have the walls facing the camera rotate while becoming transparent.
If you need an example, check out this link: http://jsfiddle.net/tp2f2oo4/
It appears that adding THREE.BackSide to the material might be the solution.
var material2 = new THREE.MeshPhongMaterial( {
color: 0xffffff,
transparent: false,
side: THREE.BackSide
} );
This method works well when the room is represented by a single THREE.BoxGeometry. However, in my scenario, each wall, ceiling, and floor are separate THREE.BoxGeometry objects. Is there a way to either hide them or prevent them from rendering when they are facing the camera?