Skip to content

Commit 5cfc5db

Browse files
committed
Playground: Use devicePixelRatio.
1 parent 0adce30 commit 5cfc5db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

playground/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138

139139
renderer = new WebGPURenderer( { antialias: true } );
140140
renderer.setAnimationLoop( animate );
141+
renderer.setPixelRatio( window.devicePixelRatio );
141142
renderer.toneMapping = THREE.LinearToneMapping;
142143
renderer.toneMappingExposure = 1;
143144

0 commit comments

Comments
 (0)