Snow shader on ground reacting to object movement using parallax mapping. The effect is done in the fragment shader and doesn't depend on any specific ground geometry
A drawing of how depth information is captured. Two orthographic cameras are used to capture actor and snow ground height which is used to compare their distance. By doing this, the ground terrain geometry can be uneven and still keep the desired effectAn intermediate texture that holds distance information is kept in gpu memory and used for the visual effectDemo of the final result