This commit is contained in:
gpt-engineer-app[bot]
2026-02-27 01:14:49 +00:00
parent 8cced1a146
commit cb912b8f62
5 changed files with 92 additions and 3 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ export function ModelViewerCanvas({ url }: ModelViewerProps) {
return (
<Canvas
camera={{ position: [2, 2, 2], fov: 50, near: 0.001, far: 1000 }}
gl={{ antialias: true, alpha: true, powerPreference: 'high-performance' }}
gl={{ antialias: true, alpha: true, powerPreference: 'high-performance', preserveDrawingBuffer: true }}
frameloop="demand"
className="!bg-background"
onCreated={({ gl, invalidate }) => {