Updated the shading factor