CS 445 / 645: Introductory Computer Graphics: Light
CS 445 / 645: Introductory Computer Graphics: Light
=
Calculating The R Vector
This is illustrated below:
( ) ( ) L N L N R
2
=
( ) ( )N L N L R
2
= +
Phong Examples
These spheres illustrate the Phong model as
L and n
shiny
are varied:
The Phong Lighting Model
Lets combine ambient, diffuse, and specular
components:
Commonly called Phong lighting
Note: once per light
Note: once per color component
Do k
a
, k
d
, and k
s
vary with color component?
( ) ( )
=
|
.
|
\
|
+ + =
lights
i
n
s d i ambient a total
shiny
R V k L N k I I k I
#
1
Phong Lighting: Intensity Plots