Adding water material - fit the world's shape

Hello, I’m trying to add realistic looking water to the cesium world map, but since the world map’s shape is round and the water material is flat I can’t get the water to stay off the land. It keeps overlapping the land. I’m trying to cover a large area, so going around with the Cartographic Polygon would take forever (assuming it’s even possible). I’m wondering if there’s any way to mask the world’s water out or fit the water to the world’s shape? I’m using Oceanoligy as the plugin.

Potentially, I was thinking if there’s a way to flatten the cesium map so it’s not a round shape, that would pretty much solve my problem as well.

1 Like

Hi @Eran_Shaysh,

Cesium for Unreal doesn’t currently support 2D maps, so I’m afraid it’s not possible to “flatten” the map. However, Cesium World Terrain comes with a “water mask” that applies a water material to any parts of the terrain that correspond to water. Like this:

So I just want to get on the same page as you — is this what you mean? Or are you trying to have an actual, realistic water body with depth?

In the latter case, this thread seems similar and may help to partially answer your question. Let us know!

I second the water mask solution. Worked 100% for my project.

Thanks for the reply. I’m trying to create a boat ride simulation and the ocean I want to use needs to look like actual water (the plugin I use is Oceanology). It works great when I try to cover a small area, but as soon as I start traveling a bit farther out, the flat water plugin is going over land in the curved world. I wish there was a way to match the water layer to fir the globe, that’s really what I’m trying to do.