# \#height-map

**URL:** https://discourse.threejs.org/tag/height-map/1326.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Displacement map causing gaps on edges of the box](https://discourse.threejs.org/t/displacement-map-causing-gaps-on-edges-of-the-box/59977)

<div class="topic-metadata">

**Author:** [@prusama](https://discourse.threejs.org/u/prusama)\
**Replies:** 1\
**Last updated:** [January 5, 2024, 9:05pm UTC](https://discourse.threejs.org/t/displacement-map-causing-gaps-on-edges-of-the-box/59977 "2024-01-05T21:05:14Z")

</div>

I am trying to apply displacementMap texture on a MeshStandartMaterial of a BoxGeometry. Code: // Geometry const boxGeometry =new THREE.BoxGeometry( 1, 1, 1, 256, 256, 256 ); // Material const boxMaterial = new THREE.…

---

## [Find intersection point with a terrain (created with height map)](https://discourse.threejs.org/t/find-intersection-point-with-a-terrain-created-with-height-map/48499)

<div class="topic-metadata">

**Author:** [@hesamoy](https://discourse.threejs.org/u/hesamoy)\
**Replies:** 2\
**Last updated:** [February 27, 2023, 6:19pm UTC](https://discourse.threejs.org/t/find-intersection-point-with-a-terrain-created-with-height-map/48499 "2023-02-27T18:19:37Z")

</div>

Hello, I want to raycast into a terrain (a plane with height map), however, the intersection point is logged as is on a flat plane other than a terrain. Part of my code is as follows: const disMap = new THREE.TextureLoa…

---

## [Create a thick terrain with height map](https://discourse.threejs.org/t/create-a-thick-terrain-with-height-map/43528)

<div class="topic-metadata">

**Author:** [@hesamoy](https://discourse.threejs.org/u/hesamoy)\
**Replies:** 4\
**Last updated:** [October 12, 2022, 7:38am UTC](https://discourse.threejs.org/t/create-a-thick-terrain-with-height-map/43528 "2022-10-12T07:38:33Z")

</div>

Hello, I want to create layers of earth with the aid of height map. However, when I apply the height map to the top of a BoxGeometry, it does not fill the gap between the sides and the top (the gray image). Is there a w…
