# How do you control terrain generation in DynamicTerrain?

**URL:** <https://forum.babylonjs.com/t/how-do-you-control-terrain-generation-in-dynamicterrain/24069>\
**Category:** Questions\
**Created:** [September 24, 2021, 7:14pm UTC](https://forum.babylonjs.com/t/how-do-you-control-terrain-generation-in-dynamicterrain/24069 "2021-09-24T19:14:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tiago\_Alves\_de\_Santa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tiago_alves_de_santa/32/18836_2.png) [@Tiago\_Alves\_de\_Santa](https://forum.babylonjs.com/u/Tiago_Alves_de_Santa)\
**Post date:** [September 24, 2021, 7:14pm UTC](https://forum.babylonjs.com/t/how-do-you-control-terrain-generation-in-dynamicterrain/24069/1 "2021-09-24T19:14:00Z")

</div>

Hi, how are you?, I’m learning to use the DynamicTerrain extension, and I wanted to know how to control the terrain generation, for example in a certain region the terrain will be higher, in a certain region it will be flatter, could someone help me with that? because I didn’t find this content in the documentation, and I’m a beginner (but not that much) at BabylonJs.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 24, 2021, 8:18pm UTC](https://forum.babylonjs.com/t/how-do-you-control-terrain-generation-in-dynamicterrain/24069/2 "2021-09-24T20:18:31Z")

</div>

What part of the doc is confusing ? I am not sure to get the question ?

@PirateJC might help with this.

---

<div class="post-metadata">

**Author:** ![Tiago\_Alves\_de\_Santa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tiago_alves_de_santa/32/18836_2.png) [@Tiago\_Alves\_de\_Santa](https://forum.babylonjs.com/u/Tiago_Alves_de_Santa)\
**Post date:** [September 24, 2021, 9:03pm UTC](https://forum.babylonjs.com/t/how-do-you-control-terrain-generation-in-dynamicterrain/24069/3 "2021-09-24T21:03:56Z")

</div>

I’ve always found the BabylonJs documentation great, especially since version 4.2, but the extension documentation, more specifically the “DynamicTerrain” extension, has a part that’s confusing, than the terrain loops part, I need to learn that fully, to make a more beautiful generation of the terrain, if anyone can point me to some place that explains it more clearly, I’ll be grateful, my question may sound silly but i need to learn this.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 24, 2021, 9:09pm UTC](https://forum.babylonjs.com/t/how-do-you-control-terrain-generation-in-dynamicterrain/24069/4 "2021-09-24T21:09:19Z")

</div>

There are no silly question just issues in the documentation, this is why I added @PirateJC to be sure he can help you and the full community by updating the doc 🙂

---

<div class="post-metadata">

**Author:** ![Tiago\_Alves\_de\_Santa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tiago_alves_de_santa/32/18836_2.png) [@Tiago\_Alves\_de\_Santa](https://forum.babylonjs.com/u/Tiago_Alves_de_Santa)\
**Post date:** [September 24, 2021, 9:13pm UTC](https://forum.babylonjs.com/t/how-do-you-control-terrain-generation-in-dynamicterrain/24069/5 "2021-09-24T21:13:56Z")

</div>

ok thanks for the help, and congratulations to all those responsible for the forum, they are doing a great job, and answer questions quickly.

---

<div class="post-metadata">

**Author:** ![PirateJC](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/piratejc/32/1003_2.png) [@PirateJC](https://forum.babylonjs.com/u/PirateJC)\
**Post date:** [September 24, 2021, 11:48pm UTC](https://forum.babylonjs.com/t/how-do-you-control-terrain-generation-in-dynamicterrain/24069/6 "2021-09-24T23:48:24Z")

</div>

Hey @Tiago_Alves_de_Santa !

Extensions are usually things created by the community to extend the core functionality of Babylon beyond the main engine. Because these often come from the community, we can’t always guarantee that they will handle every users needs.

It sounds like you want more specific control over the terrain, which means you MIGHT want to consider generating your own terrain using noise and heightmaps. This can easily be done using the Node Material Editor, and we actually have a video on this very topic:

[![](https://img.youtube.com/vi/YKqXcrWliww/maxresdefault.jpg "Procedural Terrain using the Raw Texture feature") ](https://www.youtube.com/watch?v=YKqXcrWliww)

I hope this helps!
