How to make player wet depend upon water depth and mud marks on collide with mud material?

How to make player wet depend upon water depth and mud marks on collide with mud material?