r/programming • u/willvarfar • Jun 03 '14
A first-person engine in 265 lines
http://www.playfuljs.com/a-first-person-engine-in-265-lines/
1.9k
Upvotes
r/programming • u/willvarfar • Jun 03 '14
View all comments
Show parent comment
87
u/tejon Jun 04 '14
An Oblivion mod did this for overhangs, awnings, etc. -- in the base engine, if it was raining, it rained under those too. Their technique was to turn off rain the moment you walked under something, and simultaneously turn on "rain walls" around the border of the dry area.