more fixes for sunlight scattering