Go to: Related nodes. Attributes.

Mountain textures are used to render terrain. For best results, use the same Mountain texture as both a color map and a bump or displacement map in your shader.

A Mountain texture gives the appearance of rough, craggy rock partially covered in snow. Snow only sticks to the elevated areas of the texture, and areas where it is not too steep. The Mountain texture is based on a 2d fractal.

Note: Changing the color attributes will have no effect on the bump or displacement effect of this texture.

Aside from the attributes listed here, Mountain 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
mountaintexture2dtexture/2d:drawdb/shader/texture/2d/mountainkMountainkBase
kNamedObject
kDependencyNode
kTexture2d
kMountain

Related nodes

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

Attributes (16)

amplitude, boundary, depthMax, rockColor, rockColorB, rockColorG, rockColorR, rockRoughness, snowAltitude, snowColor, snowColorB, snowColorG, snowColorR, snowDropoff, snowRoughness, snowSlope

Long name (short name)TypeDefaultFlags
snowColor (sc) float31.0, 1.0, 1.0outputinputconnectablestorable
Snow Color controls the color of the snow in the texture. This is normally left white.
snowColorR (scr) float0.0outputinputconnectablestorablekeyable
Snow Color red value
snowColorG (scg) float0.0outputinputconnectablestorablekeyable
Snow Color green value
snowColorB (scb) float0.0outputinputconnectablestorablekeyable
Snow Color blue value
rockColor (rc) float30.262, 0.102, 0.0outputinputconnectablestorable
Rock Color controls the color of the rock seen through the snowy parts of the texture.
rockColorR (rcr) float0.0outputinputconnectablestorablekeyable
Rock Color red value
rockColorG (rcg) float0.0outputinputconnectablestorablekeyable
Rock Color green value
rockColorB (rcb) float0.0outputinputconnectablestorablekeyable
Rock Color blue value
amplitude (a) float1.0outputinputconnectablestorablekeyable
Amplitude controls how 'craggy' the Mountain texture is. As Amplitude increases, the bumps seem more jagged, and more rock is visible through the snowy layer. As it descreases, the surface seens smoother, and less rock shows through the snow.
snowRoughness (sr) float0.4outputinputconnectablestorablekeyable
Snow Roughness controls how bumpy the snowy areas of the Mountain texture are. Increase this value to make the snow more detailed and bumpy; decrease this value to make the snow more smooth and rolling.
rockRoughness (rr) float0.707outputinputconnectablestorablekeyable
Rock Roughness controls how bumpy the rocky areas of the Mountain texture are. Increase this value to make the rock more detailed and craggy; decrease this value to make the rock smoother and more weather-worn.
boundary (bo) float1.0outputinputconnectablestorablekeyable
Boundary controls the smoothness of the boundary between the snowy and the rocky areas. Increase this value to make the boundaries more finely detailed; decrease it to make the boundaries smoother.
snowAltitude (sa) float0.5outputinputconnectablestorablekeyable
Snow Altitude controls how far down into the mountain crags the snow will reach. As you increase this value, snow covers more and more of the mountain texture. As you decrease this value, the snow 'retreats' up to just the peaks.

Note that the 'crags' and 'peaks' referred to here are the ones generated by the bump map. The texture is not affected by any crags and peaks that may be in the geometry being textured.

snowDropoff (sd) float2.0outputinputconnectablestorablekeyable
Snow Dropoff controls how the snow tapers off as we move from the snowy to the rocky areas of the texture. Increase this value to have the snow drop off more abruptly.
snowSlope (ss) float0.8outputinputconnectablestorablekeyable
Snow Slope controls how well the snow can stick to sloped areas of the texture. In areas where the texture is steep, the snow 'falls off' so that you can see rock. If you increase Snow Slope, then the snow can stick to steeper slopes, so you see more of it. If you decrease Snow Slope, you see less snow.

Note that the 'slopes' referred to here are the ones generated by the bump map. The texture is not affected by any crags and peaks that may be in the geometry being textured.

depthMax (dmx) float20.0outputinputconnectablestorablekeyable
Depth Max is used to limit the amount of calculation done by this node. Fractal textures, such as this one, are calculated by an iteratice mathematical process. The more times it iterates, the more detailed the fractal can be, but the longer it takes to calculate. The Maya renderer will try to choose the right amount of calculation for the geometry you are rendering, but you can use this attribute to limit how much calculation it does.