2
0
Эх сурвалжийг харах

Playground: Use devicePixelRatio.

Mr.doob 1 жил өмнө
parent
commit
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;