Change Water color in cesium water material

Hi. How to change the water colour in Cesium water material layer blend? There is a vector parameter in it named as WaterColor but it does not change the color of the water at all. I am using UE5.7.4 and Cesium 2.24.1. Thanks.

To modify or enhance the default water effect, you can duplicate, edit, and use the following three material-related assets:

1. MI_CesiumThreeOverlaysAndClippingAndCustomWater

Duplicate MI_CesiumThreeOverlaysAndClippingAndWater from Engine > Plugins > Cesium for Unreal > Materials > Instances into your project folder and rename it to MI_CesiumThreeOverlaysAndClippingAndCustomWater. Set up as shown below.

2. MLB_CesiumSimpleCustomWater

Duplicate MLB_CesiumSimpleWater from Engine > Plugins > Cesium for Unreal > Materials > Blends into your project folder and rename it to MLB_CesiumSimpleCustomWater.

Modify the part highlighted in the red box in the image below: replace the original ML_CesiumLandWaterBlend with your project’s ML_CesiumLandCustomWaterBlend.

3. ML_CesiumLandCustomWaterBlend

Duplicate ML_CesiumLandWaterBlend from Engine > Plugins > Cesium for Unreal > Materials > CesiumWaterMaterialFunctions into your project folder and rename it to ML_CesiumLandCustomWaterBlend.

The original ML_CesiumLandWaterBlend contains a MatLayerBlend_OverrideBaseColor node after BlendMaterialAttributes, which overrides the final output BaseColor with the BaseColor of the Input Bottom Layer (i.e., the map imagery color).

In ML_CesiumLandCustomWaterBlend, we can skip the MatLayerBlend_OverrideBaseColor node so that BaseColor is not overridden.

The left side of the image below shows the original ML_CesiumLandWaterBlend, and the right side shows the modified ML_CesiumLandCustomWaterBlend. Note the modified part in the red box.

Hope it helps.