From 5cfc5dba4f8b26bce30f42310d5b9289e40b011e Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Wed, 24 Apr 2024 20:35:44 -0700 Subject: [PATCH] Playground: Use devicePixelRatio. --- playground/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/playground/index.html b/playground/index.html index 93dba0bb78e04..e1461571eaee2 100644 --- a/playground/index.html +++ b/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;