How to receive the property value of feature in the customShader?

I set a customShader for Cesium3DTileset and want to receive the value of prop1.
In Feature, a property named prop1 is set by setProperty.

According to the guide,it seems to get value in the fragmentShader as following:

float   propValue = fsInput.attributes.prop1;

But it doesn’t work.
What is the correct approach?
I used the cesium 1.124.0.

Hi @Zhendong_Wang, welcome to the community!

Can you provide a little more information about how this prop1 is generated? A Sandcastle example would be very helpful.

Usually I would expect custom properties to be set as metadata, so they would be accessible from fsInput.metadata.prop1, similar to the Custom Shaders Property Textures Sandcastle. But I don’t know how the data was generated in your case.