Various fixes + Scattering precomputation now works

The precomputation finally works, now I just have to add the final
lighting step to make it apply to the lighting