Hi guys,
we would like to exaggerate bathymetry in Unity similar to this: Bathymetry Sandcastle Example
Is this possible with Cesium for Unity yet?
Kind Regards,
Eugen
Hi guys,
we would like to exaggerate bathymetry in Unity similar to this: Bathymetry Sandcastle Example
Is this possible with Cesium for Unity yet?
Kind Regards,
Eugen
Hi @ereiswich,
Currently, terrain exaggeration is not an official feature in Cesium for Unity, but you might be able to accomplish something similar with custom materials and vertex displacement. You’d just have to pick a relative height, and move vertices away from that height proportional to their existing distance. The exact shader code that CesiumJS uses can be found here, for reference:
I also made sure to open a Github issue for this so we can formally keep this on our radar. We’ll be sure to update this thread once we make progress on the feature.
In the meantime, let us know if we can give more assistance with that shader workaround.
Thanks Janine. If I unterstand you correctly we could try to write custom materials and/or shaders in Unity for the CesiumWorldBathymetry 3DTileset. Is that correct?
Yep, that’s correct @ereiswich ! And we’d be interested in the final result if you’re willing to share how it goes.
We’re breaking our teeth on it right now. If we’re successful, I’ll post the result
We’ve found an OpenSource project working on something similar: GeoViz. But even with this help we have to give up for the moment. Our shader and unity skills are not sufficient for the problem.