Hey all,
I’m having an issues where I’d like to apply a custom material to the terrain in some cases only. I’d like to still use the water mask as it’s currently setup by default, but with the water mask enabled my custom material break. I’m using Cesium World Terrain with Sentinel-2.
The only thing you need to do to reproduce this is follow the steps here to create the red tint overlay, and turn on the water mask.
I can’t figure out exactly what’s going wrong. I’ve tried to mess around with the various blend modes and overlays but nothing works. It seems like any tile that’s close to water doesn’t show the tint at all, and the rest of the tiles show the tint but the material logic doesn’t quite work as expected for more complex materials.
Is this a known issue or am I doing something wrong?
Thank you!