mib_texture_filter_lookup_2

 
 
 

Category: mental ray > Texture

Shader Family: Texture

Output: Color

This shader looks up the texture image using elliptical filtering. It also accepts a texture vertex and scales, rotates, translates, crops, and joins textures. The order of operations is transform first, then repeat, alternate, torus, and finally min/max crop.

See Texture Shaders for more information.

Name

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

tex

Displays the texture map (connected in the texture parameter port) to be looked up.

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

coord

The central texture sampling location.

transform

A general transformation applied to the texture vector before the remaining parameters are applied. If transform[3][3] is 0.0, the matrix is ignored (normally transform[3][3] is 1.0).

repeat

Specifies repetition factors in X, Y, and Z by which the texture vector is multiplied. A value of 2, for example, shrinks the texture such that it fits twice in the [0, 1] interval. Repeating has no effect outside of this interval. After the multiplication by the repetition factor, the integer part is removed. This algorithm allows finite repetition in an interval determined by the transform parameter. A repetition value of 0 turns off repetition in the corresponding component, as if the value were 1.

alt_x, alt_y

Specifies whether every other copy of the repetition would be reversed such that successive copies of the texture are traversed in alternate, back-and-forth directions. Alternate flags have an effect only if the corresponding repetition component is greater than 1, and also work only in the [0, 1] interval.

torus_x, torus_y

Maps the texture space into the range [0, 1] such that values less than 0 and equal to or greater than 1 are put into this range by cutting off the integer part.

min, max

Crops the image or volume by specifying the range of the texture to be considered. Portions of the texture outside this range are trimmed off. If repetition is used, the maximum point of one copy joins the minimum point of the next copy (unless alternation is turned on). min is inclusive, max is exclusive. If a min component is equal to the corresponding max component, both are ignored.

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