# Cesium SDK terrain tiler

**URL:** <https://community.cesium.com/t/cesium-sdk-terrain-tiler/19626>\
**Category:** Cesium ion\
**Created:** [July 20, 2022, 1:50pm UTC](https://community.cesium.com/t/cesium-sdk-terrain-tiler/19626 "2022-07-20T13:50:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruediger\_Brand](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ruediger_brand/32/4004_2.png) [@Ruediger\_Brand](https://community.cesium.com/u/Ruediger_Brand)\
**Post date:** [July 20, 2022, 1:50pm UTC](https://community.cesium.com/t/cesium-sdk-terrain-tiler/19626/1 "2022-07-20T13:50:06Z")

</div>

Hello,

I used terrain tiler 8on premise) to generate a terraindb - in whih way is it possible to generate vertex normals, i.e. for terrain lighting ?

Is there a parameter to do this ?

Rüdiger

---

<div class="post-metadata">

**Author:** ![Shehzan\_Mohammed](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/shehzan_mohammed/32/2002_2.png) [@Shehzan\_Mohammed](https://community.cesium.com/u/Shehzan_Mohammed)\
**Post date:** [July 20, 2022, 2:58pm UTC](https://community.cesium.com/t/cesium-sdk-terrain-tiler/19626/2 "2022-07-20T14:58:23Z")

</div>

Hi Ruiger

Normals are generated automatically for lightning and are done always. If you are using CesiumJS, you may need to enable lighting at runtime. See [Cesium Sandcastle](https://sandcastle.cesium.com/index.html?src=Terrain.html) as an example.

Shehzan

---

<div class="post-metadata">

**Author:** ![Ruediger\_Brand](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ruediger_brand/32/4004_2.png) [@Ruediger\_Brand](https://community.cesium.com/u/Ruediger_Brand)\
**Post date:** [July 21, 2022, 7:58am UTC](https://community.cesium.com/t/cesium-sdk-terrain-tiler/19626/3 "2022-07-21T07:58:07Z")

</div>

Hi @Shehzan_Mohammed,

thank you for the infomation, I would like to use the vertex-information at the ShadowMap - so I think the requestVertexNormals should be sufficent.

It is good that the lightning information is generated automatically - maybei my geoserver doesn’t delivers this information.

Regards

Rüdiger

---

<div class="post-metadata">

**Author:** ![Ruediger\_Brand](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ruediger_brand/32/4004_2.png) [@Ruediger\_Brand](https://community.cesium.com/u/Ruediger_Brand)\
**Post date:** [July 22, 2022, 8:19am UTC](https://community.cesium.com/t/cesium-sdk-terrain-tiler/19626/4 "2022-07-22T08:19:27Z")

</div>

@Shehzan_Mohammed

Everything fine - it works now

the error was in the server
