#import <PhongIllumination.h>
Public Member Functions | |
(void) | - setViewVector: |
(void) | - updateRGBA:forGradient:andDepth: |
Protected Attributes | |
float | ambientLight |
float | diffuseLight |
float | specularLight |
float | specularExponent |
Vector | viewVector |
Vector | lightVector |
Vector | halfwayVector |
|
setzt den view vector |
|
schattiert die übergebenen farbe, je nach dem gradienten. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|