Public Member Functions | |
Surface (double ambientReflection, double diffuseReflection, double specularReflection, double specularRefraction, double reflectiveExponent, double refractiveExponent, double refractiveIndex) | |
virtual | ~Surface () |
ColorRGBA | shade (const Light &light, const Vector3 &normal, const Vector3 &viewDirection, const Vector3 &lightDirection, const ColorRGBA &surfaceColor) const |
Phongs reflection model. | |
double | getAmbientReflection () const |
double | getDiffuseReflection () const |
double | getSpecularReflection () const |
double | getSpecularRefraction () const |
double | getRefractiveIndex () const |
virtual void | getColor (const Vector2 &texturePoint, ColorRGBA &) const =0 |
Definition at line 36 of file surface.H.