Determines which computation should be performed based on the magic number XSIMR_LIGHTDATA_LABEL.
Calculate the diffuse component.
Calculate the specular component.