# Save shadows on ground to file ?

**URL:** <https://community.cesium.com/t/save-shadows-on-ground-to-file/6818>\
**Category:** CesiumJS\
**Created:** [April 21, 2018, 12:01pm UTC](https://community.cesium.com/t/save-shadows-on-ground-to-file/6818 "2018-04-21T12:01:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bs1](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@bs1](https://community.cesium.com/u/bs1)\
**Post date:** [April 21, 2018, 12:01pm UTC](https://community.cesium.com/t/save-shadows-on-ground-to-file/6818/1 "2018-04-21T12:01:25Z")

</div>

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

/B

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [April 23, 2018, 2:04pm UTC](https://community.cesium.com/t/save-shadows-on-ground-to-file/6818/2 "2018-04-23T14:04:11Z")

</div>

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.

Thanks,

Gabby
