Color
to a SurfacePoint
. The color may be based on any property of the surface point: e.g., the texture coordinates (for texture mapping), the point (for 3D texture mapping), the normal, etc. The Color
may then be used in any context by a Shader
or a Material
. For example, it may simply be used to control the diffuse color of a material, or the emitted color, or it may be used to control the parameters of some more complex material model.
@author Brad Kimmel
|
|