Color Sampler
 
 
 

| Color Sampler

Category: Lightmap

Shader Family: Lightmap

Output: Lightmap

The Color Sampler shader is a lightmap shader that samples an object's surface and writes the result to a texture file. This is conceptually similar to RenderMap's surface color map, but works in a different way.

Rather than using a virtual camera to sample an object's surface from a specified distance, the color sampler shader evaluates the object's render tree directly. Whatever portion of the render tree is connected to the color sampler's input port is computed and written to a texture file.

Texture Space

Selects the texture projection to use. See Specifying a Texture Projection [Texturing].