Prepare for rendering attenuation.