mib_lookup_spherical
 
 
 

Category: mental ray > Environment

Shader Family: Environment

Output: Color

Given a texture shader, the mib_lookup_spherical shader assumes that the texture it produces is wrapped on an infinite sphere around the scene, evaluates the texture, and returns the color. This is useful for environment shaders.

Environment shaders return colors from color textures that are mapped to finite or infinite distances. They are useful for adding background or foreground plates to the rendered scene. Environments must be used for environment shaders, overlays must be used for lens shaders, and textures must be used for texture or material shaders on a plane or other object in the scene.

Name

The name of the shader node displayed in the render tree. Enter any name you like, or leave the default.

dir

The direction to sample. If connected to the mib_texture_vector shader, a select value of -10 is useful. It should be given in world space.

If this is the null vector, the ray direction is used, after conversion to world space.

rotate

Rotates the texture on the infinite sphere.

tex

A texture or shader to be looked up at the computed coordinate.

You can Edit the image clip, or get a New image clip from file or from source. For more information about working with images, see Managing Image Sources & Clips [Data Management].