Hey, I want to define new material which is combination of two materials which have uniforms with the same name like image and color.
It would something like:
fabric : {
materials : {
arrowMaterial : {
type : ‘PolylineArrow’,
uniforms : {
color : Cesium.Color.YELLOW
}
},
dashMaterial : {
type : ‘PolylineDash’,
uniforms : {
color : Cesium.Color.RED
}
}, …
I want to create also MaterialProperty for this material to use in entity. What should be the schema of the getValue method return type if I want different colors for the two combined materials.
Thanks