Grid

 
 
 

| Texture | Grid | Advanced | Render Tree Usage

Category: Texture

Shader Family: Texture

Output: Color

Makes a rigid grid-like pattern. It consists of orthogonal overlapping lines of a specified width on an underlying area.

Name

The shader's name. Enter any name you like, or leave the default.

Texture

Texture Space

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

Bump Mapping

Enable

Switches bump mapping on or off.

Bump Map Factor

Defines how "bumpy" the bump map will be. A negative value inverts the bump inward; a positive bump map factor bumps outward.

Use Alpha

Uses the texture's alpha channel to achieve a bump map.

Grid

Fill Color

Defines the color of the area between the lines.

Line Color

Defines the color of the lines that make up the grid.

Alpha

Copy Alpha to RGB

Multiplies the RGB channels with the alpha channel by the factor defined in the Alpha Strength parameter.

Alpha Strength

Determines the factor by which the Alpha is multiplied with the RGB channels.

Contrast

Controls the contrast between the color of the lines and the color of the intervening area. At 0, the colors are averaged; for negative values, the colors are swapped.

Diffusion

Defines how much the grid diffuses into the intervening area.

Width

U, V

Defines the width of the horizontal and vertical lines of the grid.

Advanced

Bump Mapping

Step

Controls the U, V, and Z steps of a bump map. Use this parameter to "smooth" bumps or make them more jagged.

Alternate

U, V, Z

Specifies whether every other copy of the repetition should be reversed so that the successive copies of the texture are alternated.

Repeats

Texture Repeats

Contains the repetition factor in X,Y, and Z. A value of 2, for example, shrinks the texture so that it fits twice in a [0..1] interval.

UV Remap

Minimum, Maximum

Determines the remapping of the texture image. For a 2D image, only X and Y are used.

Render Tree Usage

Color parameters can be connected to other textures or image processing shaders. For example, you can connect a different texture to the Line Color and Fill Color parameters to create a grid-like blend of image clips.

A texture's scalar parameters can be altered to create interesting effects by applying Texture Generator shaders to them or another Scalar output shader. For example, try applying the Incidence shader to the U and V Width parameters. Orbit the camera to see a difference in the render region.

A texture shader has limitless capabilities in a render tree. It can texture an object, be used as a camera or light projection, define bump or displacement maps, or be blended with any number of other textures to create any effect.