Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Consider the following simplified line of code and the corresponding evaluation:

...


Ci

...

=

...

Kd

...

*

...

diffuse()

...

+

...

Ks

...

*

...

specular();



Code Block
Ci = Kd * diffuse() + Ks * specular();




...