Documentation
README
CesiumJS CustomShader
Version baseline: CesiumJS 1.143. All imports use ES module style.
CustomShader injects user GLSL into the Model / Cesium3DTileset / VoxelPrimitive rendering pipeline. It exposes glTF attributes, feature IDs, and EXT_structural_metadata to per-vertex and per-fragment code, and returns values through the built-in czm_modelVertexOutput and czm_modelMaterial structs.
This is the opening of the README. Read the full README on GitHub.