Changed to use Qt's type of linear attenuation