Globe Materials,How to specify an area?

This effect is very good:

But I don't want it to participate globally, just in the designated area.How can I achieve it?

There’s currently no easy way to do this (beyond editing the source fragment shader I think). Long term, once terrain is integrated into the 3D Tiles engine, this would be much easier if you can simply swap out the material for individual tiles.

For now, one workaround is to drape a polygon with a material over terrain, so you can get the material you want on exactly the area you define. This has a good example of it:

https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/index.html?src=Clamp%20to%20Terrain.html

Try the “textured polygon” dropdown. This can have any custom material/appearance so you could create a similar computation with a bit more work.

Hi @omar,

I think this could also be a requirement from us -

Rüdiger

1 Like