1.118
CesiumGS/cesium1.118Jun 3, 2024by jjhembd
AI Summary
CesiumJS 1.118 expands glTF material support to include specular, anisotropy, and clearcoat extensions while fixing raycasting and image-based lighting bugs.
Key Highlights
- Added support for KHR_materials_specular extension.
- Added support for KHR_materials_anisotropy extension.
- Added support for KHR_materials_clearcoat extension.
- Fixed scene.pickPosition error when depthTestAgainstTerrain is false.
New Features
- Advanced glTF material extensions support (specular, anisotropy, clearcoat).
- Fixed raycasting against the globe when terrain depth testing is disabled.
- Fixed specular reflection calculations for image-based lighting.
Full Release Notes
1.118 - 2024-06-03 Highlights include: - Added support for glTF models with the [KHR_materials_specular extension](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_specular). [#11970](https://github.com/CesiumGS/cesium/pull/11970) - Added support for glTF models with the [KHR_materials_anisotropy extension](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_anisotropy/README.md). [#11988](https://github.com/CesiumGS/cesium/pull/11988) - Added support for glTF models with the [KHR_materials_clearcoat extension](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_clearcoat/README.md). [#12006](https://github.com/CesiumGS/cesium/pull/12006) - Fixed a bug where `scene.pickPosition` returned incorrect results against the globe when `depthTestAgainstTerrain` is `false`. [#4368](https://github.com/CesiumGS/cesium/issues/4368) - Fixed an error in the specular reflection calculations for image-based lighting from supplied environment maps. [#12008](https://github.com/CesiumGS/cesium/issues/12008) See the [changelog](https://github.com/CesiumGS/cesium/blob/1.118/CHANGES.md) for the complete list of changes.