# Pointcloud not visible in image export

**URL:** <https://community.cesium.com/t/pointcloud-not-visible-in-image-export/17696>\
**Category:** CesiumJS\
**Created:** [March 14, 2022, 2:12pm UTC](https://community.cesium.com/t/pointcloud-not-visible-in-image-export/17696 "2022-03-14T14:12:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ariel](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ariel/32/3458_2.png) [@ariel](https://community.cesium.com/u/ariel)\
**Post date:** [March 14, 2022, 2:12pm UTC](https://community.cesium.com/t/pointcloud-not-visible-in-image-export/17696/1 "2022-03-14T14:12:28Z")

</div>

Hi, I am trying to create an image of the scene with a pointcloud.

viewer.render()  
viewer.canvas.toDataUrl()

If I set pointCloudShading attenuation to false everything is rendered as expected. But when it is set to true, pointcloud is not visible in the image.

Is it not possible with attenuation set to true, or am I doing something wrong?
