3d attenuation