3D-Tiles 1.1 voxel's customShader

I am trying to load 3DTiles voxels, and store a field ‘a’ for each voxel cell. How can I get the property value of ‘a’ in custom shader?

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);
          
          float aValue = fsInput.voxel.a; // Here is wrong! I want to get the value of property 'a'

          material.alpha = 0.5;
      }`,
    });

After modifying the code at the error location, a single voxel cell is displayed (I’ve just set only one voxel cell to be displayed). However, its shape appears abnormal. It seems to have exceeded the spatial range corresponding to a single voxel cell.

The value of ‘a’ for each voxel cell is 5.0 except the last one.When the value is not equal to 5.0, the voxel cell will be displayed. So only the last voxel cell will be displayed.

How can I solve the issue? Thanks for your assistance!

float aValue = fsInput.metadata.a;
if(aValue == 5.0) {
  material.alpha = 0.0;
}
else {
  material.alpha = 0.5;
}