mrdoob/three.js — Issue #685: transparent objects do not render correctly
Author: csnellman
Created: 2011-10-26 16:47:34+00:00
State: open

Hey,
I have spent few days on a weird blending issue. I created a minimal app to demo the issue (below), in which I have a scene with two objects, the other one is semi-transparent with opacity 0.3. What happens is that in some camera positions, the rendering order changes abrubtly. I was able to track this down to sorting (WebGLRenderer.sortObjects), and setting it to false remedies the issue for me. However, when sortObjects is true (default), it may cause these strange popping effects. Is this intended behavior?
Thanks,
Carl
(using Three.js R45)

three.js webgl - geometries