light geometry and stuff