How do I get an ocean with a sea surface height of 0 based on elevation data and do not want to see the sea bottom elevation?
Hi @jksdsdf,
Please tell us more about what you’re trying to do. Cesium World Terrain doesn’t include any undersea data, so the height of the oceans will be close to zero MSL (but the WGS84 height will be different, as expected). You can also upload your own terrain data to Cesium ion if you need more control over heights.
Simple water is textured on the elevation grid, so in the ocean area, the height of simple water is not 0 meters, and it rises and falls with the sea floor elevation. Now I want to get an effect that the simple water is not attached to the sea bottom elevation, but the elevation is 0 like the real ocean. How can I modify it?
The sea surface will never be at Z=0 in Unreal world coordinates, because Cesium renders a round globe. It also won’t be at exactly Height=0 because heights are expressed relative to the WGS84 ellipsoid, not relative to a mean sea level (MSL) surface. The difference between WGS84 and MSL varies by roughly +/- tens of meters on different parts of the globe.
However, I’ll reiterate that Cesium World Terrain doesn’t have undersea data, so the surface should indeed be at or near an MSL height of zero. Can you confirm that you are using Cesium World Terrain and not some other tileset? If it’s a different tileset, which one?