mrdoob/three.js — Issue #980: Canvas Renderer Issue for Plane. Cubes and lines sometimes disappear.
Author: littlejump
Created: 2011-12-29 08:50:17+00:00
State: open

Hi All,

I am new to three.js. Nice to meet you all. I was playing with Three.js Voxels examples (http://mrdoob.com/projects/voxels/).

[ Issues ]
I wanted to add shadows to cubes, therefore I added a plane below cubes. I got an issue on rendering objects on plane.

When I used WebGL Rendering, the plane and cubes look nice in camera rotation. All the cubes and grid lines were rendered properly; (WebGL example: http://jsfiddle.net/littlejump/qzx3p/ )

When I switched to Canvas Rendering and rotated the camera by mouse, the plane sometimes override and cubes disappeared. (Canvas example: http://jsfiddle.net/littlejump/qzx3p/1/)

[ Questions ]
Is there any settings that I missed? Any clue??

Thanks for your attention!