void addTexture(Texture *texture, TextureMap *map, Influence influence=DiffuseColor)
Add a texture to the material.
Definition: texturedmaterial.cpp:15
Material texture.
Definition: texture.hpp:28
Surface element to Texture map.
Definition: texturemap.hpp:27
Textured object material.
Definition: texturedmaterial.hpp:20
virtual color diffuse(const element &e, const photon &external_light) const
Get the diffuse color of a surface element.
Definition: texturedmaterial.cpp:32