Transparent images
Opened this issue · 2 comments
simonhultgren commented
Hi,
I'm having a problem that some of the transparent images that I add to the scene are "flickering" between transparency and opaque when I look around in the scene.
Its visible on the print icon and the speach bubbles in this scene:
http://www.migrantjourneys.com/Intro/
Any advice would be appreciated!
Thanks.
mattandrews commented
I'm seeing this too using a transparent PNG. Would be interested if anyone's fixed this!
mattandrews commented
@simonhultgren I've figured this out via this StackOverflow post – you need to modify vr.js
to add this line:
var renderer = new THREE.WebGLRenderer( { alpha: true } );
(the minifed source may use a different name for THREE
but WebGLRenderer
should be the same)