Skip to content

Commit

Permalink
Playground: Use devicePixelRatio.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Apr 25, 2024
1 parent 0adce30 commit 5cfc5db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@

renderer = new WebGPURenderer( { antialias: true } );
renderer.setAnimationLoop( animate );
renderer.setPixelRatio( window.devicePixelRatio );
renderer.toneMapping = THREE.LinearToneMapping;
renderer.toneMappingExposure = 1;

Expand Down

1 comment on commit 5cfc5db

@mrdoob
Copy link
Owner Author

@mrdoob mrdoob commented on 5cfc5db Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @sunag

Please sign in to comment.