Go to:
Related nodes. Attributes.
The Snow texture simulates snow that has fallen on a
surface. Snow only sticks to parts of the object facing upward,
and only if they are not too steeply sloped.
The rest of the object (the part not covered in snow) is rendered
using the Surface Color.
Tips and ideas:
- Try combining a Fractal bump map with a Snow color map.
The snow will only appear on the peaks and valleys of the bump-mapped
surface.
- To simulate windswept snow, rotate the Snow's 3d placement
about a horizontal line.
- To make snow appear on all objects in your scene, apply the
Snow texture as a transparency map on a white shader, and then layer
this shader onto other shaders in the scene.
Aside from the attributes listed here, Snow inherits many
other attributes from its parent,
Texture3d
In the table below, important attributes are listed with their
names shown in bold in the description column.
This node is MP safe
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
snow | texture3d | texture/3d:drawdb/shader/texture/3d/snow | kSnow | kBase kNamedObject kDependencyNode kTexture3d kSnow |
Related nodes
layeredTexture, envCube, envSphere, envSky, envBall, envChrome, bump3d, uvChooser, bump2d, texture2d, ramp, file, cloth, water, stencil, checker, fractal, bulge, grid, mountain, texture3d, projection, cloud, granite, crater, leather, stucco, brownian, solidFractal, marble, wood, rock, defaultTextureList, place2dTexture, place3dTexture
Attributes (24)
depthDecay, eyeToTextureMatrix, normalCamera, normalCameraX, normalCameraY, normalCameraZ, refPointCamera, refPointCameraX, refPointCameraY, refPointCameraZ, refPointObj, refPointObjX, refPointObjY, refPointObjZ, snowColor, snowColorB, snowColorG, snowColorR, surfaceColor, surfaceColorB, surfaceColorG, surfaceColorR, thickness, threshold
Long name (short name) | Type | Default | Flags |
---|
|
depthDecay
(dd )
| float | 5.0 | |
|
|
eyeToTextureMatrix
(e2t )
| fltMatrix | identity | |
|
|
normalCamera
(n )
| float3 | 0.0, 0.0, 1.0 | |
|
| normalCameraX
(nx )
| float | 0.0 | | |
|
| normalCameraY
(ny )
| float | 0.0 | | |
|
| normalCameraZ
(nz )
| float | 0.0 | | |
|
|
refPointCamera
(rpc )
| float3 | 0.0, 0.0, 0.0 | |
|
| refPointCameraX
(rcx )
| float | 0.0 | | |
|
| refPointCameraY
(rcy )
| float | 0.0 | | |
|
| refPointCameraZ
(rcz )
| float | 0.0 | | |
|
|
refPointObj
(rpo )
| float3 | 0.0, 0.0, 0.0 | |
|
| refPointObjX
(rox )
| float | 0.0 | | |
|
| refPointObjY
(roy )
| float | 0.0 | | |
|
| refPointObjZ
(roz )
| float | 0.0 | | |
|
|
snowColor
(sn )
| float3 | 1.0, 1.0, 1.0 | |
|
| snowColorR
(snr )
| float | 0.0 | | |
|
| snowColorG
(sng )
| float | 0.0 | | |
|
| snowColorB
(snb )
| float | 0.0 | | |
|
|
surfaceColor
(su )
| float3 | 0.5, 0.0, 0.0 | |
|
| surfaceColorR
(sur )
| float | 0.0 | | |
|
| surfaceColorG
(sug )
| float | 0.0 | | |
|
| surfaceColorB
(sub )
| float | 0.0 | | |
|
|
thickness
(tn )
| float | 1.0 | |
|
|
threshold
(th )
| float | 0.5 | |
|