Make attenuation part of the shading equation.