light computation