We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4dde02 commit 39957f2Copy full SHA for 39957f2
src/main.ts
@@ -138,7 +138,10 @@ camera.position.set(
138
);
139
140
// Set up the renderer
141
-const renderer = new THREE.WebGLRenderer({ antialias: true });
+const renderer = new THREE.WebGLRenderer({
142
+ antialias: true,
143
+ powerPreference: "high-performance"
144
+});
145
renderer.setSize(window.innerWidth, window.innerHeight);
146
// Remove the solid background color - we'll use a gradient background instead
147
0 commit comments