From 76c6ffc0c770be3a218e69bb0cc787c2be0ab779 Mon Sep 17 00:00:00 2001 From: Quicksticks-oss Date: Tue, 23 Apr 2024 14:47:55 -0400 Subject: [PATCH] fixed editors SAO for new near. --- app/pages/PageEnigma/js/editor.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/pages/PageEnigma/js/editor.ts b/app/pages/PageEnigma/js/editor.ts index eff3bfe1ba..20d7da334a 100644 --- a/app/pages/PageEnigma/js/editor.ts +++ b/app/pages/PageEnigma/js/editor.ts @@ -257,7 +257,7 @@ class Editor { const height = container.offsetHeight; // Sets up camera and base position. - this.camera = new THREE.PerspectiveCamera(70, width / height, 0.05, 100); + this.camera = new THREE.PerspectiveCamera(70, width / height, 0.01, 200); this.camera.position.z = 3; this.camera.position.y = 3; this.camera.position.x = -3; @@ -271,8 +271,8 @@ class Editor { this.render_camera = new THREE.PerspectiveCamera( 70, width / height, - 0.05, - 100, + 0.01, + 200, ); @@ -670,9 +670,9 @@ class Editor { this.saoPass = new SAOPass(this.activeScene.scene, this.camera); - this.saoPass.params.saoBias = 3.1; + this.saoPass.params.saoBias = 4.1; this.saoPass.params.saoIntensity = 1.0; - this.saoPass.params.saoScale = 12.0; + this.saoPass.params.saoScale = 32.0; this.saoPass.params.saoKernelRadius = 5.0; this.saoPass.params.saoMinResolution = 0.0;