implemented attenuation in entity lighting. closes #10