# Replacing the background sky image in cesium app.

**URL:** <https://community.cesium.com/t/replacing-the-background-sky-image-in-cesium-app/5776>\
**Category:** CesiumJS\
**Created:** [July 10, 2017, 2:37pm UTC](https://community.cesium.com/t/replacing-the-background-sky-image-in-cesium-app/5776 "2017-07-10T14:37:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sean\_lilley](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sean_lilley/32/2083_2.png) [@sean\_lilley](https://community.cesium.com/u/sean_lilley)\
**Post date:** [July 10, 2017, 11:53pm UTC](https://community.cesium.com/t/replacing-the-background-sky-image-in-cesium-app/5776/2 "2017-07-10T23:53:44Z")

</div>

You can construct the viewer with a custom skybox pointing to file paths of your choice.

var viewer = new Cesium.Viewer(‘cesiumContainer’, {

skyBox : new Cesium.SkyBox({

sources : {

positiveX : ‘skybox\_px.jpg’,

negativeX : ‘skybox\_mx.jpg’,

positiveY : ‘skybox\_py.jpg’,

negativeY : ‘skybox\_my.jpg’,

positiveZ : ‘skybox\_pz.jpg’,

negativeZ : ‘skybox\_mz.jpg’

}

})

});

``

---

_[View the full topic](https://community.cesium.com/t/replacing-the-background-sky-image-in-cesium-app/5776)._
