Added check to see if normal is optimized out of the shaders.