浏览代码

Merge pull request #19352 from sciecode/dev-ascii-background

Examples: force background color on ascii example.
Mr.doob 5 年之前
父节点
当前提交
8d7d6790ed
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/webgl_effects_ascii.html

+ 1 - 0
examples/webgl_effects_ascii.html

@@ -33,6 +33,7 @@
 				camera.position.z = 500;
 
 				scene = new THREE.Scene();
+				scene.background = new THREE.Color( 0, 0, 0 );
 
 				var light = new THREE.PointLight( 0xffffff );
 				light.position.set( 500, 500, 500 );