Is there way to access animation-nodes attribute in object-material with OSL script? In this example, I have assigned a velocity attribute with animation nodes and then trying to access the velocity attribute with OSL script in object-material. But it is not working, why ???
I don't think Blender allows such use of properties, see Add custom object properties as usable attributes. For alternative methods. See the Coloring Objects section of this answer.