Recall the parameters of the Phong reflectance model to compute the light intensity at a point P:
Light intensities Lij where i is "r", "g", or "b" for red, green, or blue and j is "a", "d", or "s" for ambient, diffuse, or specular. These intensities are specified as values between 0 and 1.
Material reflectances kij where i and j are the same as for the light intensities. The reflectances are specified as values between 0 and 1.