Latest releaseDownload CesiumJS 1.53
- Added image-based lighting for PBR models and 3D Tiles. #7172
Scene.specularEnvironmentMapsis a url to a KTX file that contains the specular environment map and convoluted mipmaps for image-based lighting of all PBR models in the scene.
Scene.sphericalHarmonicCoefficientsis an array of 9
Cartesian3spherical harmonics coefficients for the diffuse irradiance of all PBR models in the scene.
Cesium3DTilesetcan be used to override the values from the scene for specific models and tilesets.
Cesium3DTilesetadjusts the luminance of the procedural image-based lighting.
- Fixed contrast on imagery layers. #7382
See the change log for the complete list of changes.
The HTML reference documentation, located in the
Cesium.js and all required dependencies, located in the
Asynchronous Module Definition (AMD) modules,
HelloWorld.html, the simplest possible Cesium application, loaded in
Cesium Viewer, a simple reference application, at
Cesium Sandcastle, a live code editor and example gallery, at
- A Node.js-based development server for getting up and running quickly.
Quick start guide
Download CesiumJS and extract. Install Node.js, then navigate to the root directory and run the following command to install the dependencies:
$ npm install
Start the web server by executing the command:
$ node server.js
Finally, launch a browser and navigate to
You will see the Cesium Hello World app.
Install with npm
You can also install CesiumJS with npm with the command:
$ npm install cesium
- Source - A collection of modules that can be used with any AMD-aware loaders, such as requirejs, webpack, and browserify. This is our preferred development method and ideal for those who have embraced module-based web development.
- Build/Cesium - Combined and minified Cesium.js and associated files, suitable for deploying an application.
- Build/CesiumUnminified - Combined and unminified Cesium.js and associated files, along with extra error checking and validation, suitable for development.