Display cube when overlapped?
- by lptrung
Hi all!
I have a problem when run animation with three.j. See example: http://jsfiddle.net/5ywdE/13/
When the green cube is rotated to position of the blue cube, the red cube will be rotated.
Question: why is the blue cube displayed while the green blue is in front of it. I want the green cube is displayed in front of the blue cube (like so the red cube is displayed in front of all). Can I set the cube which will be displayed in front of other cube in case of overlapped?
What am I doing wrong??
Thanks in advance