Minor improvements to shaders.