Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -1283,6 +1283,7 @@ export function ModelViewerCanvas({ url }: ModelViewerProps) {
|
||||
const isApple = /Mac|iPhone|iPad/.test(navigator.platform);
|
||||
const maxRatio = isApple ? 2 : 1.5;
|
||||
gl.setPixelRatio(Math.min(window.devicePixelRatio, maxRatio));
|
||||
gl.localClippingEnabled = true;
|
||||
}}
|
||||
>
|
||||
<CameraSwitcher />
|
||||
|
||||
Reference in New Issue
Block a user