소스 검색

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 );