You can add custom properties to aero as well as particle simulations, including granular MPM effects. These custom properties can be used for any purpose — for example, you can modulate them using influences and then use them to control shading properties.

Add a set_property node to the graph.
Set its key to the name that you want to call the property.
vary_source_property and in other situations.Set its value to the initial value that you want.
float, connect a value node of the desired type. See Add a value node.Connect the output of the set_property node to the additional_properties port of a source node.
You can connect have any number of set_property nodes connected into a source node.