diff --git a/packages/3d-web-client-core/src/ground-plane/GroundPlane.ts b/packages/3d-web-client-core/src/ground-plane/GroundPlane.ts index 02bab973..036290d5 100644 --- a/packages/3d-web-client-core/src/ground-plane/GroundPlane.ts +++ b/packages/3d-web-client-core/src/ground-plane/GroundPlane.ts @@ -1,12 +1,12 @@ import { CanvasTexture, - CircleGeometry, FrontSide, Group, LinearMipMapLinearFilter, Mesh, MeshStandardMaterial, NearestFilter, + PlaneGeometry, RepeatWrapping, Texture, } from "three"; @@ -25,7 +25,7 @@ ctx.fillRect(1, 1, 1, 1); export class GroundPlane extends Group { private readonly floorSize = 210; private readonly floorTexture: Texture | null = null; - private readonly floorGeometry = new CircleGeometry(this.floorSize, this.floorSize); + private readonly floorGeometry = new PlaneGeometry(this.floorSize, this.floorSize, 1, 1); private readonly floorMaterial: MeshStandardMaterial; private readonly floorMesh: Mesh | null = null;