소스 검색

Examples: Clean up.

Mr.doob 1 년 전
부모
커밋
966e9fee64
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      examples/webgl_postprocessing_hbao.html

+ 2 - 1
examples/webgl_postprocessing_hbao.html

@@ -7,7 +7,7 @@
 		<link type="text/css" rel="stylesheet" href="main.css">
 		<style>
 			body {
-				background-color: #bfe3dd;
+				background-color: #ffffff;
 				color: #000;
 			}
 			a {
@@ -56,6 +56,7 @@
 			container.appendChild( stats.dom );
 
 			const renderer = new THREE.WebGLRenderer( { antialias: true } );
+			// renderer.setPixelRatio( window.devicePixelRatio );
 			renderer.setSize( window.innerWidth, window.innerHeight );
 			document.body.appendChild( renderer.domElement );