Browse Source

Editor/App: Added setClearColor() as workaround for iOS ignoring the alpha parameter.

Mr.doob 10 years ago
parent
commit
b6f1e6ea96
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/js/libs/app.js

+ 1 - 0
editor/js/libs/app.js

@@ -19,6 +19,7 @@ var APP = {
 		this.load = function ( json ) {
 
 			renderer = new THREE.WebGLRenderer( { antialias: true } );
+			renderer.setClearColor( 0x000000 );
 			renderer.setPixelRatio( window.devicePixelRatio );
 
 			camera = loader.parse( json.camera );