## Description

For this homework, suppose that a point on the surface of an object lit by a single light: psurface normal n = [1; 1; 1]^{T} = 3 [0:58; 0:58; 0:58]^{T} p

lighting coming from the direction l = [2; 3; 1]^{T} = 14 [0:53; 0:80; 0:27]

direct light strength (coloring) s = 0:9 [1:0; 1:0; 0:8]^{T} (this is slightly yellowish, like an incandescent bulb)

ambient light strength (coloring) s_{amb} = 0:1 [1:0; 1:0; 0:8]^{T} (like the direct lighting but weaker)

viewing direction v = [0; 0; 1]

surface diffuse reflectance coefficients m_{diff} = [0:1; 0:2; 0:5]^{T} (a slightly greenish blue diffuse coloring)

surface specular reflectance coefficients m_{spec} = [0:5; 0:5; 0:5]^{T} (reflects half the incoming light, no change of lighting color)

surface specular glossy exponent m_{gls} = 4

surface ambient reflectance equal to the diffuse reflectance m_{amb} = m_{diff}

- What is the RGB triplet for the direct lighting reflected diffusely at that point on the surface? (In the slides this is c
_{diff}.)

- What is the RGB triplet for the specular reflection off that point on the surface? (In the slides this is c
_{spec}.)

- What is the RGB triplet for the ambient lighting reflected off that point on the surface? (In the slides this is c
_{amb}.)

4. What is the RGB triplet for the total light reflected off that point on the surface?