Remove some unnecessary operations in the light shader