moved class variable for attenuation to a separate class -> will be used for spot light as well