Using a texture for the light attenuation.
Splitting the lighting layer into it's own file.