How do you connect nodes in a way you can access mesh distortion (like comparing vertices positions in relation to their initial state) and use this information it to drive RGB in Arnold?
My previous attempt (failed) was to compare two cubes and distance between correspondent vertices. When a vertex was moved, it would change color. But the expression I have made does not update in real time. This setup also included a aiUserDataColor node in order to render color vertex from the cube.