How do I know where the ocean is?

I need to generate an object after converting longitude and latitude to Unity coordinates, but I need to know if my current position is an ocean

If you’re using Cesium World Terrain, it has a water mask that could theoretically provide this information, but there’s no API available to access it easily. If you’re using another tileset, there’s probably no information about water/non-water at all. In either case, you might be better off using some external data and custom code to make this determination.

1 Like