How can I set up interactive snow?

I’m wondering if someone knows how to create a similar snow effect to the Batman Origins game.The one where the snow actually “compacts” when someone or something puts weight on it. could it be done like a vertex group, or is it a material with mask? If you know a tutorial or explanation would be appreciated.

This is for UDK but the general logic should apply to UE4.
http://udn.epicgames.com/Three/DevelopmentKitGemsRealTimeDeformation.html

The add for the height mask fails to compile. I tried to fix this but to no avail.

Hi OvrCookedFunion,

The lead Rendering Programmer for Batman: Arkham Origins posted a slide show power point from GDC 2014 that may be of interest to you if you want to look at his high-level explanation of how the effect was achieved.

If you want you can link your .uasset for your material here and I can take a look and see if I can see anything that stands out.

Thank you!

Tim

link text

Here is the uasset and the three textures. The GDC might have been helpful if I actually understood the material editor. If you need more, use the link in the first answer.

There are now tutorials on how to do this, (just cleaning up my post history)