Lots of shit done, no shadowmap tho

Something wrong somewhere, can't figure out where thought, think it's in
the calculation of the shadowfactor thingymabob, but whatever, will fix
later.