Point Cloud classification metadata shader

I want to add a feature where I can click on a point cloud tileset and highlight points with the same classification ID. Right now I can hit the vertices and get the classification ID from CesiumModelMetadata. Is there a way to compute a custom shader in Unity to realize this feature?

I know in Cesium Unreal I can style the tileset based on the metadata, but I don’t think I can click on a point to get its per-point metadata.

Thank you in advance!

I have duplicated the CesiumPointCloudShading.hlsl and added the classification and highlight mechanism, also modified the CesiumPointCloudRenderer.cs code to fetch metadata and assign the custom shader

the problem is solved