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