Skip to content

Commit

Permalink
bunmark renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzakm committed Mar 6, 2024
1 parent 50eceda commit 4686787
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export const initBunBench = async (count = 100000) => {
const canvas = document.getElementById('three-canvas');
if (!canvas) return;
const renderer = new WebGLRenderer({
canvas
canvas,
powerPreference: 'high-performance',
antialias: true
});

renderer.outputColorSpace = SRGBColorSpace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export const initDemonBench = async (count = 100000) => {
const canvas = document.getElementById('three-canvas');
if (!canvas) return;
const renderer = new WebGLRenderer({
canvas
canvas,
powerPreference: 'high-performance',
antialias: true
});

renderer.outputColorSpace = SRGBColorSpace;
Expand Down

0 comments on commit 4686787

Please sign in to comment.