WSP interview question

Which code do you follow to perform lighting calculations.