Save shadows on ground to file ?

I am considering using Cesium within planning.

I would be interesting in saving shadows cast on the ground to a file that I can attach to zoning plans of urban development.

Is that already possible with Cesium and if not would it be difficult to build ?

All the best


Hi there,

That’s not a feature that’s available with the Cesium API. The shadow calculations are actually performed in the shader and color the pixels accordingly at runtime.

You could write some sort of plugin that writes the output to a texture, and then save this file. Or, more simply, get a screen grab of the shadows in Cesium at runtime from above.