소스 검색

Playground: Use devicePixelRatio.

Mr.doob 1 년 전
부모
커밋
5cfc5dba4f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      playground/index.html

+ 1 - 0
playground/index.html

@@ -138,6 +138,7 @@
 
 				renderer = new WebGPURenderer( { antialias: true } );
 				renderer.setAnimationLoop( animate );
+				renderer.setPixelRatio( window.devicePixelRatio );
 				renderer.toneMapping = THREE.LinearToneMapping;
 				renderer.toneMappingExposure = 1;