Optimized rain particles
- rain patches now use a closest hit sphere cast instead of GamePhysics.Trace, it collected every colliders down a 1km column to keep only the top one
- a patch only casts again when it moves
- coming back from an alt tab doesnt fire 64 casts in the same frame
- fixed rain falling under some roofs
Editor profiling raining at missile silo, average per frame:
0.42ms -> 0.06ms standing, 0.11ms running, 0.14ms at 20m/s
Applies to snow too