remove all z_near far params in engine calls, enable ssao again (#2956)

* remove all z_near far params in engine calls, enable ssao again

* fmt
This commit is contained in:
Kurt Hutten
2024-07-09 06:53:33 +10:00
committed by GitHub
parent 74ec749560
commit e8cae630a1
4 changed files with 9 additions and 39 deletions

View File

@ -529,7 +529,6 @@ export class CameraControls {
parameters: {
fov_y:
this.camera instanceof PerspectiveCamera ? this.camera.fov : 45,
...calculateNearFarFromFOV(this.lastPerspectiveFov),
},
},
})
@ -612,8 +611,6 @@ export class CameraControls {
type: 'default_camera_set_perspective',
parameters: {
fov_y: newFov,
z_near: 0.01,
z_far: 1000,
},
},
})
@ -631,8 +628,6 @@ export class CameraControls {
target: this.target,
}),
fov_y: newFov,
z_near: 0.01,
z_far: 1000,
},
})
}