DistanceToNearestSurface material node

That would be very useful indeed. For example, you could mask crashing waves on ocean planes and in reverse make effects for wet sand, erosion or what have you. Yes, pretty please with sugar and cream and jam and chocolate on top :slight_smile: