fix to shaders to make them more efficient in the presence of shadows