# CesiumForUnreal如何优化地球水材质？寻求帮助

**URL:** <https://community.cesium.com/t/cesiumforunreal/38123>\
**Category:** Cesium for Unreal\
**Created:** [January 21, 2025, 8:33am UTC](https://community.cesium.com/t/cesiumforunreal/38123 "2025-01-21T08:33:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wszty](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/wszty/32/12620_2.png) [@wszty](https://community.cesium.com/u/wszty)\
**Post date:** [January 21, 2025, 8:33am UTC](https://community.cesium.com/t/cesiumforunreal/38123/1 "2025-01-21T08:33:58Z")

</div>

在UE5.2，使用的Cesium插件版本是59，启用了EnableWaterMask，把WaterMaterial改成了Deprecated目录下的M\_DEPRECATED\_CesiumOverlayComplexWater材质，可以看到水面效果，一切正常。但如何才能使水面效果更好呢，像浪花这样的效果，有没有可调节的参数，正在寻求帮助

---

<div class="post-metadata">

**Author:** ![janine](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/janine/32/5135_2.png) [@janine](https://community.cesium.com/u/janine)\
**Post date:** [January 21, 2025, 5:15pm UTC](https://community.cesium.com/t/cesiumforunreal/38123/2 "2025-01-21T17:15:01Z")

</div>

Hi @wszty,

> In UE5.2, the Cesium plugin version used is 59, EnableWaterMask is enabled, and WaterMaterial is changed to M\_DEPRECATED\_CesiumOverlayComplexWater material in the Deprecated directory. The water surface effect can be seen and everything is normal. But how can the water surface effect be better? For effects like waves, are there any adjustable parameters? I am looking for help

I think you are looking at an older version of the water material! I would check out `MI_CesiumThreeOverlaysAndClippingAndWater` instead. We use `ML_CesiumWaterMask` to interpret the water mask that gets passed in by Cesium World Terrain. This is then blended with the other material layers using `MLB_CesiumSimpleWater`, which references a material function called `CesiumSimpleWaterSurface`.

Of those materials, you would probably have to edit `CesiumSimpleWaterSurface` to change how the waves appear. I personally can’t advise – I’m not a water material expert – but perhaps others in the community can provide their input? At least I hope this is a good starting point for you to work with. 😄
