# obj colour surfaces

**URL:** <https://community.cesium.com/t/obj-colour-surfaces/8091>\
**Category:** CesiumJS\
**Created:** [March 11, 2019, 8:13pm UTC](https://community.cesium.com/t/obj-colour-surfaces/8091 "2019-03-11T20:13:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oliver\_Morris](https://avatars.discourse-cdn.com/v4/letter/o/dbc845/32.png) [@Oliver\_Morris](https://community.cesium.com/u/Oliver_Morris)\
**Post date:** [March 11, 2019, 8:13pm UTC](https://community.cesium.com/t/obj-colour-surfaces/8091/1 "2019-03-11T20:13:49Z")

</div>

We have a number of overlaying geological surfaces we would like to display. It would be great if i we could colour the surfaces based on their elevation (or pseduo elevation) and allow users to create contours of the content themselves.

Showing contours and having on the fly colouring of the highs and lows of the surfaces would make the display much more easy to interpret.

Thank you

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [March 12, 2019, 6:21pm UTC](https://community.cesium.com/t/obj-colour-surfaces/8091/2 "2019-03-12T18:21:59Z")

</div>

Right now, you can do slope/elevation shading on terrain since CesiumJS has built-in support for that:

> **[Cesium Sandcastle](https://sandcastle.cesium.com/?src=Globe%20Materials.html)**
>
> The Cesium Sandcastle provides an interactive environment for testing Cesium code.

Doing it on custom models/3D Tiles is possible but you’d need to create a custom shader or a 3D Tiles style. There’s some discussion on that in this thread too:

[https://groups.google.com/d/msg/cesium-dev/kojsARLQGcQ/MhbaJyt1FQAJ](https://groups.google.com/d/msg/cesium-dev/kojsARLQGcQ/MhbaJyt1FQAJ)
