HomeWildfire Games

Moves foam calculation into a separate function and fixes its lighting.