mib_lookup_cube1

 
 
 

Category: mental ray > Environment

Shader Family: Environment

Output: Color

This shader is the same as the mib_lookup_spherical shader, except that it accepts one texture mapped on an infinite cube. This is useful for environment shaders.

Name

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

point

The view location.

dir

The direction to sample. If connected to the mib_texture_vector shader, a select value of -10 is useful. If this is the null vector, the ray direction is used.

size

The size of the box.

tex

The texture to be looked up at the computed coordinate. One texture contains all six sides; it has six times the number of scanlines required for a single face, with the subtextures stacked in the following order, starting from the top and going down:

-x, +x, -y, +y, -z, +z

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 Exchange].

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License