# How to set up watermask

**URL:** <https://community.cesium.com/t/how-to-set-up-watermask/15049>\
**Category:** Cesium for Unreal\
**Created:** [August 29, 2021, 5:08pm UTC](https://community.cesium.com/t/how-to-set-up-watermask/15049 "2021-08-29T17:08:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fatorice](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/fatorice/32/3476_2.png) [@Fatorice](https://community.cesium.com/u/Fatorice)\
**Post date:** [August 29, 2021, 5:08pm UTC](https://community.cesium.com/t/how-to-set-up-watermask/15049/1 "2021-08-29T17:08:52Z")

</div>

Hi!

I saw there’s an option to enable watermask with a custom water material, but is there a tutorial on how to set it up? If I tick the option and assign a material, nothing happens (the landscape and especially the water look exactly the same).

Thanks already and best wishes!

---

<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:** [August 30, 2021, 4:33pm UTC](https://community.cesium.com/t/how-to-set-up-watermask/15049/2 "2021-08-30T16:33:44Z")

</div>

Hello @fatorice,

We are currently in the process of overhauling our material system, which should be ready soon. Once that is complete, we will create a tutorial on custom materials.

Currently, you’ll want to make sure that the Water Material parameter on Cesium World Terrain is set to M\_CesiumOverlayWater. This parameter can be found in the details panel, under the Cesium | Rendering category. Also, try hitting the “Refresh Tileset” button. To make a custom water material, you’ll want to duplicate M\_CesiumOverlayWater and do your edits there for now. This material samples the watermask to determine where to place the water material, and so your setup will have to be similar in order for the watermask to work.

If you still aren’t seeing the watermask, please try checking in a different location, and then let me know if you still aren’t seeing anything. The watermask currently does not work on all bodies of water. Most large bodies of water, such as the oceans, should work fine, but others (like the Great Lakes) currently do not have a watermask.

-Alex

---

<div class="post-metadata">

**Author:** ![Fatorice](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/fatorice/32/3476_2.png) [@Fatorice](https://community.cesium.com/u/Fatorice)\
**Post date:** [August 30, 2021, 5:05pm UTC](https://community.cesium.com/t/how-to-set-up-watermask/15049/3 "2021-08-30T17:05:23Z")

</div>

Hi Alex,

thanks for your first response! I tried another location and it’s working, so it should be location-related. Thanks!

Best whishes
