May I ask, can you achieve online water material effect in the case of offline loading terrain, how to do, only found that water material can only be used online

Hi @QinYi896, welcome to the community!

I can’t tell from your screenshot whether you’re using Cesium World Terrain, or some other terrain dataset. Can you confirm that for me?

In order for Enable Water Mask to work, your data needs to be a quantized-mesh dataset containing a water mask. Cesium World Terrain includes this water mask, so Cesium for Unreal can use it to apply the water effect. If you’re not using Cesium World Terrain, then you need to make sure that the dataset you’re using actually contains the water mask.

Thank you very much for your reply. Now I use Cesium World Terrain to load local Terrain data offline because functions need to be loaded offline, so I use Cesium World Terrain to load local terrain data offline. According to what you said, local terrain data is not quantized-mesh. As a result, the water material cannot be set successfully. What I want to know is how to set the local terrain data including quantized-mesh. My current local terrain data is set by the “terrain slice” of “cesiumLab”

Hi @QinYi896,

I think there may be a misunderstanding here. Cesium World Terrain is a dataset curated by Cesium (ourselves). This dataset comes with a water mask that we use to enable visual effects in Unreal. You may stream Cesium World Terrain through Cesium ion, or license it from us for offline use.

It seems like instead, you’re trying to load your own local terrain data, from a different terrain provider. cesiumlab is actually not affilated with Cesium, despite the trademark violation.

From a glance, your URL is successfully loading your layer.json. The problem is, if your data doesn’t include a water mask, then the Enable Water Mask setting will not have any effect. I suggest you check with the provider of that data about including a water mask, because it is difficult for us to troubleshoot data produced by external tilers.

I hope that makes more sense. Let me know if there is anything unclear in my explanation. :smiley: