How to view the vertex color of softbody distortion

Hi, I saw a tutorial on destroying a car and realized that the tutor used a way to visualize the softbody distortion of the mesh.

example gif:

video reference:

how to do this?