Extracted common fragment light function from model shader
Extracted common light function for vertex shader