Open kfarr opened 2 months ago
I wonder if it could be a hack to adjust the PerspectiveFrustum.far
value. Right now it is set directly from camera.far
:
const loadersFrustum = new PerspectiveFrustum({
fov: (camera.fov / 180) * Math.PI,
aspectRatio: camera.aspect,
near: camera.near,
far: camera.far,
});
Maybe instead we can set this value to 1/4 of camera far, an arbitrary value, or a parameter passed to the a-frame component
Is there a way to set draw distance limits?