forked from: Minecraft4kAS Extreme Hills Map + Sunlight

ported from notch's javascript version: http://jsdo.it/notch/dB1E
added some brightness change (shadow) on top of the tiles if needed.
added water and waterlevel input
added fake (and wrong) ambient shadow
changed fog as yonatan did: http://wonderfl.net/c/dl6u
added some flora (bushes) and flora input
import net.hires.debug.Stats;