From 4fffd675c9a34dfee8002ed50147a43e4c6752d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=91=D0=B5=D0=BB=D0=BE=D0=B2?= Date: Thu, 5 Dec 2024 05:03:48 +0300 Subject: [PATCH] Camera in block fix --- prismarine-viewer/examples/webgpuRenderer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/prismarine-viewer/examples/webgpuRenderer.ts b/prismarine-viewer/examples/webgpuRenderer.ts index 4c9205520..fa8880f57 100644 --- a/prismarine-viewer/examples/webgpuRenderer.ts +++ b/prismarine-viewer/examples/webgpuRenderer.ts @@ -737,6 +737,7 @@ export class WebgpuRenderer { tweenJs.update() const fov = 90 this.camera.fov = fov + this.camera.near = 0.001; this.camera.updateProjectionMatrix() const oversize = 1.1