Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -475,7 +475,7 @@ const XRSession = () => {
|
|||||||
<div className="flex-1 relative">
|
<div className="flex-1 relative">
|
||||||
<Canvas
|
<Canvas
|
||||||
gl={{ antialias: true, alpha: true, powerPreference: 'high-performance', preserveDrawingBuffer: true }}
|
gl={{ antialias: true, alpha: true, powerPreference: 'high-performance', preserveDrawingBuffer: true }}
|
||||||
camera={{ position: [0, 1.6, 0], fov: 50, near: 0.01, far: 100 }}
|
camera={{ position: [1.5, 1.2, 1.5], fov: 50, near: 0.01, far: 100 }}
|
||||||
className="!bg-transparent"
|
className="!bg-transparent"
|
||||||
onCreated={({ gl, invalidate }) => {
|
onCreated={({ gl, invalidate }) => {
|
||||||
gl.setPixelRatio(Math.min(window.devicePixelRatio, 1.5));
|
gl.setPixelRatio(Math.min(window.devicePixelRatio, 1.5));
|
||||||
|
|||||||
Reference in New Issue
Block a user