Computes a color using the Phong lighting model.
Example
vec3 positionToEyeEC = // ... czm_material material = // ... gl_FragColor = czm_phong(normalize(positionToEyeEC), material);
- czm_getMaterial
vec3 positionToEyeEC = // ... czm_material material = // ... gl_FragColor = czm_phong(normalize(positionToEyeEC), material);