# Water doesn't work?

**URL:** <https://community.cesium.com/t/water-doesnt-work/16534>\
**Category:** Cesium for Unreal\
**Created:** [December 14, 2021, 4:00pm UTC](https://community.cesium.com/t/water-doesnt-work/16534 "2021-12-14T16:00:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![agallegos](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/agallegos/32/4464_2.png) [@agallegos](https://community.cesium.com/u/agallegos)\
**Post date:** [December 15, 2021, 7:59pm UTC](https://community.cesium.com/t/water-doesnt-work/16534/2 "2021-12-15T19:59:52Z")

</div>

Hello @lehuan5062,

The water mask on Cesium World Terrain doesn’t cover all water bodies on the planet. Fortunately, due to recent material changes you can define custom areas of water with a [Cesium Cartographic Polygon](https://community.cesium.com/t/cesium-cartographic-polygon/15128/2).

You ask at a convenient time, I’m currently working on an addition to the Cesium for Unreal Samples that includes a material that does this automatically. If you don’t want to make your own material, you can download this premade material by cloning [this branch](https://github.com/CesiumGS/cesium-unreal-samples/tree/add-new1.8-levels) of the Cesium for Unreal Samples repository. You’ll want to copy the MI\_CesiumCustomWater material and all of it’s dependencies in to your own project folder.

Then, add a Cesium Polygon Raster Overlay to Cesium World Terrain. Set the layer key to CustomWater, and uncheck “exclude tiles inside”. Add the material on to Cesium World Terrain in the Cesium|Rendering category of the details panel.

The Cesium for Unreal Samples update should be published on the Unreal Marketplace around the start of the new year. I’m also working on a tutorial to cover all of this more in-depth.

Let me know if you have further questions.

-Alex

---

_[View the full topic](https://community.cesium.com/t/water-doesnt-work/16534)._
