Fix distant PBR rendering artifacts

Amp-Thread-ID: https://ampcode.com/threads/T-01a01ff8-b91f-724f-8952-f07c6b5042fd
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
This commit is contained in:
Amp
2026-08-21 06:19:38 +00:00
co-authored by heaust
parent 9ca12c237e
commit f40314dcdc
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -305,8 +305,8 @@ const camera = new ArcRotateCamera(scene, {
alpha: Math.PI / 2,
beta: Math.PI / 3,
radius: 30,
near: 0.1,
far: 100,
near: 1,
far: 1000,
aspect: canvas.width / canvas.height,
controls: { element: canvas, pointer: true },
});