|
Phong |
( |
const Color & |
d, |
|
|
const Color & |
s, |
|
|
float |
e, |
|
|
float |
r = 0.0f , |
|
|
float |
t = 0.0f , |
|
|
float |
n = 1.0f |
|
) |
|
|
|
Constructs a Phong material with diffuse color d, specular color s, and exponent (shininess) e, and (optionally) reflectivity r and transparency t, and index of refraction n.
|
|