# How do I use heightmaps to adjust Normal/Quad grid?

**URL:** <https://forums.unrealengine.com/t/how-do-i-use-heightmaps-to-adjust-normal-quad-grid/612217>\
**Category:** World Creation\
**Tags:** Terrain, Sculpting, unreal-engine, UE5-0, editor, question\
**Created:** [July 23, 2022, 4:16am UTC](https://forums.unrealengine.com/t/how-do-i-use-heightmaps-to-adjust-normal-quad-grid/612217 "2022-07-23T04:16:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dorizzdt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dorizzdt](https://forums.unrealengine.com/u/Dorizzdt)\
**Post date:** [July 23, 2022, 4:16am UTC](https://forums.unrealengine.com/t/how-do-i-use-heightmaps-to-adjust-normal-quad-grid/612217/1 "2022-07-23T04:16:46Z")

</div>

I am keen to explore the option of using the terrain sculpting tool built in or maybe a procedural terrain generator that adjust the height of the terrain in parts by its quad/normal/face only.

example:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/f/cdf2dd410ea31e0039ca0d97f993a28205602f19.jpeg)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/5/c655a11d7d6cde73ac72ffdc898249ff61fd0ba7.png)

I was thinking this could be simply marching squares of some sort? I can’t quite put a name to the algorithum i would need here but suffice to say, i want the ability to adjust the terrain so that it takes the shape in the pictures above. As the intention is to create a level whereby I use basic “puzzle” pieces to decorate the slpes with cliffs edges later.

I remember seeing this type of terrain in games like Transport Tycoon / Rollercoaster Tycoon and Sim City 2000 - however these titles are 2D where as I would need this in 3D.

ideal scenario would be to use a heightmap (perlin noise generated) that determines the height of each quad face (instead of individual pixels) to ensure there is always consistant heights per quad. As i’d even go a step further to ensure each height goes up in increments of 1m (unit) to retain grid snapping.

Any pointers or reference material I could look at would help me on this journey.

Appreciate anyones help on this.
