# Ground from Heightmap is Inversed

**URL:** <https://forum.babylonjs.com/t/ground-from-heightmap-is-inversed/26563>\
**Category:** Questions\
**Created:** [January 8, 2022, 5:28am UTC](https://forum.babylonjs.com/t/ground-from-heightmap-is-inversed/26563 "2022-01-08T05:28:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Cri5](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/_cri5/32/13066_2.png) [@\_Cri5](https://forum.babylonjs.com/u/_Cri5)\
**Post date:** [January 8, 2022, 5:28am UTC](https://forum.babylonjs.com/t/ground-from-heightmap-is-inversed/26563/1 "2022-01-08T05:28:39Z")

</div>

Why does the ground created from a heightmap is generated but it is reversed in the z axis?

Like if by default the z scale is multiplied by -1.

The problem is when I apply the same heighmap as the emissive texture of the material. it appears reversed.

Is it possible to apply the z scale as -1 and then “apply it” so it is 1 but with the changes made. Then when a material is applied it shows it “correctly”?

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [January 10, 2022, 3:32pm UTC](https://forum.babylonjs.com/t/ground-from-heightmap-is-inversed/26563/2 "2022-01-10T15:32:14Z")

</div>

What do you mean by “reversed in the z axis”? Can you provide us with a playground example?

I’ve tried setting the same height map texture as the emissive texture and it looks normal: [Heightmap and emissive texture | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#1A18ZW)
