How to increase the thickness of plane?

Hi guys,

I want to increase the thickness of my plane to seem like a wall.

  planeGeoLR = new THREE.PlaneGeometry(measures.length, measures.height);
  planeRight = new THREE.Mesh(
    planeGeoLR,
    new THREE.MeshPhongMaterial({ map: textureWalls })
  );
  planeRight.position.x = measures.width / 2;
  planeRight.position.y = measures.height / 2;
  planeRight.rotateY(-Math.PI / 2);
  planeRight.castShadow = true;
  planeRight.receiveShadow = true;
  planeRight.name = "planeRight";
  scene.add(planeRight);

A THREE.PlaneGeometry is really only a 2D flat geometry with infinitesimally small “thickness”.
If you need a 3D object, go for a THREE.BoxGeometry.

2 Likes

Thank you very much @vielzutun.ch