Go to: Related nodes. Attributes.
You can easily create effects ranging from simple stripes to geometric patterns and mottled surfaces are easily created by the choice of Ramp and Interpolation types. By default, the Ramp texture graduates from red to green to blue in a linear, horizontal (V ramp) fashion.
When applied as a bump map, the colors in a ramp appear as a gray scale based on the luminance of each color.
Aside from the attributes listed here, Ramp 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 name | Parents | Classification | MFn type | Compatible function sets |
---|---|---|---|---|
ramp | texture2d | texture/2d:drawdb/shader/texture/2d/ramp | kRamp | kBase kNamedObject kDependencyNode kTexture2d kRamp |
layeredTexture, envCube, envSphere, envSky, envBall, envChrome, bump3d, uvChooser, bump2d, texture2d, file, cloth, water, stencil, checker, fractal, bulge, grid, mountain, texture3d, projection, cloud, granite, crater, leather, stucco, brownian, solidFractal, marble, wood, rock, snow, defaultTextureList, place2dTexture, place3dTexture
color, colorB, colorEntryList, colorG, colorR, hueNoise, hueNoiseFreq, interpolation, noise, noiseFreq, position, satNoise, satNoiseFreq, type, uWave, vWave, valNoise, valNoiseFreq
Long name (short name) | Type | Default | Flags | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
colorEntryList
(cel )
| compound | n/a | ![]() ![]() ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
hueNoise
(hn )
| float | 0.0 | ![]() ![]() ![]() ![]() | ||||||||||||||
hueNoiseFreq
(hnf )
| float | 0.5 | ![]() ![]() ![]() ![]() | ||||||||||||||
interpolation
(in )
| enum | LINEAR_INTERP | ![]() ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
noise
(n )
| float | 0.0 | ![]() ![]() ![]() ![]() | ||||||||||||||
noiseFreq
(nf )
| float | 0.5 | ![]() ![]() ![]() ![]() | ||||||||||||||
satNoise
(sn )
| float | 0.0 | ![]() ![]() ![]() ![]() | ||||||||||||||
satNoiseFreq
(snf )
| float | 0.5 | ![]() ![]() ![]() ![]() | ||||||||||||||
type
(t )
| enum | V_RAMP | ![]() ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
uWave
(uw )
| float | 0.0 | ![]() ![]() ![]() ![]() | ||||||||||||||
valNoise
(vn )
| float | 0.0 | ![]() ![]() ![]() ![]() | ||||||||||||||
valNoiseFreq
(vnf )
| float | 0.5 | ![]() ![]() ![]() ![]() | ||||||||||||||
vWave
(vw )
| float | 0.0 | ![]() ![]() ![]() ![]() | ||||||||||||||