So your total wetness is equal to the wetness per second for rain from the top times the amount of time you spend in the rain, plus the wetness per meter for rain from the side times the number of meters you travel.