I am trying to load 3DTiles voxels, and store a field ‘aa’ for each voxel cell. How can I get the property value of ‘aa’ in custom shader and set different alpha according to 'aa' value? My property is stored in [.bin] file connected by [voxel.json] file.
I am trying to load 3DTiles voxels, and store a field ‘aa’ for each voxel cell. How can I get the property value of ‘aa’ in custom shader and set different alpha according to 'aa' value? My property is stored in [.bin] file connected by [voxel.json] file.
Thank you for your assistance!
const customShader = new Cesium.CustomShader({ fragmentShaderText: `void fragmentMain(FragmentInput fsInput, inout czm_modelMaterial material) { material.diffuse = vec3(0.5,0.5,0.5);