Go to: Related nodes. Attributes.

The Grid texture simply creates a regular grid of horizontal and vertical lines.

Aside from the attributes listed here, Grid inherits many other attributes from its parent node, Texture2d.

In the table below, important attributes are shown in bold in the description column.

This node is MP safe

Node nameParentsClassificationMFn typeCompatible function sets
gridtexture2dtexture/2dkGridkBase
kNamedObject
kDependencyNode
kTexture2d
kGrid

Related nodes

layeredTexture, envCube, envSphere, envSky, envBall, envChrome, bump3d, uvChooser, bump2d, texture2d, ramp, file, cloth, water, stencil, checker, fractal, bulge, mountain, texture3d, projection, cloud, granite, crater, leather, stucco, brownian, solidFractal, marble, wood, rock, snow, defaultTextureList, place2dTexture, place3dTexture

Attributes (11)

contrast, fillerColor, fillerColorB, fillerColorG, fillerColorR, lineColor, lineColorB, lineColorG, lineColorR, uWidth, vWidth

Long name (short name)TypeDefaultFlags
fillerColor (fc) float30.0, 0.0, 0.0outputinputconnectablestorable
Filler Color controls the color of the spaces between the horizontal and vertical lines of the grid.
fillerColorR (fcr) float0.0outputinputconnectablestorablekeyable
Filler Color red value
fillerColorG (fcg) float0.0outputinputconnectablestorablekeyable
Filler Color green value
fillerColorB (fcb) float0.0outputinputconnectablestorablekeyable
Filler Color blue value
lineColor (lc) float31.0, 1.0, 1.0outputinputconnectablestorable
Line Color controls the color of the horizontal and vertical grid lines.
lineColorR (lcr) float0.0outputinputconnectablestorablekeyable
Line Color red value
lineColorG (lcg) float0.0outputinputconnectablestorablekeyable
Line Color green value
lineColorB (lcb) float0.0outputinputconnectablestorablekeyable
Line Color blue value
contrast (c) float1.0outputinputconnectablestorablekeyable
Contrast is used to control the contrast between the Line Color and the Filler Color. When set to 1.0 (the default) the two colors do not affect each other at all. As contrast is decreased, each color starts to blend with other. When contrast is 0, there is no grid at all, but just a flat texture consisting of the average of the two input colors.

Use this attribute to control the sharpness of the ridges when using a Grid Texture as a bump map.

uWidth (uw) float0.1outputinputconnectablestorablekeyable
U Width controls the width of the grid lines that run in the surface's "U" direction.
vWidth (vw) float0.1outputinputconnectablestorablekeyable
V Width controls the width of the grid lines that run in the surface's "V" direction.