Hi, any help would be appreciated! I'm trying to render twice, one for the main scene and one for a Heads Up Display. I'm following the example here: http://codepen.io/jaamo/pen/MaOGZV
Although the HUD displays correctly in normal mode, I'm getting blank screens in WebVR mode (left eye white and right eye black). Has anyone encountered this issue?
//animate function
// Render the scene through the manager.
renderer.clear();
manager.render(scene,camera,timestamp);
manager.render(sceneHUD,cameraHUD,timestamp);
Hi, any help would be appreciated! I'm trying to render twice, one for the main scene and one for a Heads Up Display. I'm following the example here: http://codepen.io/jaamo/pen/MaOGZV Although the HUD displays correctly in normal mode, I'm getting blank screens in WebVR mode (left eye white and right eye black). Has anyone encountered this issue?
// ---- Renderer renderer = new THREE.WebGLRenderer( { antialias: false, alpha: true } ); renderer.setSize( WIDTH, HEIGHT ); renderer.setPixelRatio( pixelRatio ); renderer.setClearColor( 0x000000, 1 ); renderer.autoClear = false; container.appendChild( renderer.domElement );
//animate function // Render the scene through the manager. renderer.clear(); manager.render(scene,camera,timestamp); manager.render(sceneHUD,cameraHUD,timestamp);