The Camera Penetration Issue occurs when the camera moves too close to or passes through a 3D mesh, causing parts of the geometry to disappear or appear sliced.
Let us penetrate into your code…
Set camera.near=0.10; or camera.near=0.01;
// Create Camera
const width = this.container.clientWidth;
const height = this.container.clientHeight;
const aspect = width / height;
const viewSize = 10;
this.camera = new OrthographicCamera(-viewSize \* aspect, viewSize \* aspect, viewSize, -viewSize, 0.1, 1000);
this.camera.position.set(5, 5, 5);
this.camera.lookAt(0, 0, 0);
Try change near, far:
this.camera = new OrthographicCamera(-viewSize \* aspect, viewSize \* aspect, viewSize, -viewSize, 0.01, 100);
