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 name |
Parents |
Classification |
MFn type |
Compatible function sets |
mountain |
texture2d |
texture/2d:drawdb/shader/texture/2d/mountain |
kMountain |
kBase
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) |
Type |
Default |
Flags |
|
snowColor
(sc ) |
float3 |
1.0, 1.0, 1.0 |
|
|
snowColorR
(scr ) |
float |
0.0 |
|
|
|
snowColorG
(scg ) |
float |
0.0 |
|
|
|
snowColorB
(scb ) |
float |
0.0 |
|
|
|
rockColor
(rc ) |
float3 |
0.262, 0.102,
0.0 |
|
|
rockColorR
(rcr ) |
float |
0.0 |
|
|
|
rockColorG
(rcg ) |
float |
0.0 |
|
|
|
rockColorB
(rcb ) |
float |
0.0 |
|
|
|
amplitude
(a ) |
float |
1.0 |
|
|
snowRoughness
(sr ) |
float |
0.4 |
|
|
rockRoughness
(rr ) |
float |
0.707 |
|
|
boundary
(bo ) |
float |
1.0 |
|
|
snowAltitude
(sa ) |
float |
0.5 |
|
|
snowDropoff
(sd ) |
float |
2.0 |
|
|
snowSlope
(ss ) |
float |
0.8 |
|
|
depthMax
(dmx ) |
float |
20.0 |
|