Go to: Related nodes. Attributes.

The Marble texture consists of horizontal layers of one material (the Vein), sandwiched between layers of Filler material. The Vein is assumed to contain a strong pigmenting agent that crosses the boundary and diffuses into the Filler material.

Aside from the attributes listed here, Marble inherits many other attributes from Texture3d.

In the table below, important attributes have their names shown in bold in the description column.

This node is MP safe

Node nameParentsClassificationMFn typeCompatible function sets
marbletexture3dtexture/3d:drawdb/shader/texture/3d/marblekMarblekBase
kNamedObject
kDependencyNode
kTexture3d
kMarble

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, wood, rock, snow, defaultTextureList, place2dTexture, place3dTexture

Attributes (33)

amplitude, contrast, depth, depthMax, depthMin, diffusion, fillerColor, fillerColorB, fillerColorG, fillerColorR, normalCamera, normalCameraX, normalCameraY, normalCameraZ, ratio, refPointCamera, refPointCameraX, refPointCameraY, refPointCameraZ, refPointObj, refPointObjX, refPointObjY, refPointObjZ, ripples, ripplesX, ripplesY, ripplesZ, veinColor, veinColorB, veinColorG, veinColorR, veinWidth, xPixelAngle

Long name (short name)TypeDefaultFlags
xPixelAngle (xpa) float0.002053inputconnectablestorablehidden
The pixel angle
normalCamera (n) float30.0, 0.0, 1.0outputinputconnectablehidden
The input normal
normalCameraX (nx) float0.0outputinputconnectablehidden
The X component of the input normal
normalCameraY (ny) float0.0outputinputconnectablehidden
The Y component of the input normal
normalCameraZ (nz) float0.0outputinputconnectablehidden
The Z component of the input normal
refPointObj (rpo) float30.0, 0.0, 0.0outputinputconnectablehidden
The current reference sample point that has to be shaded
refPointObjX (rox) float0.0outputinputconnectablehidden
The x component of the current reference sample position
refPointObjY (roy) float0.0outputinputconnectablehidden
The y component of the current reference sample position
refPointObjZ (roz) float0.0outputinputconnectablehidden
The z component of the current reference sample position
refPointCamera (rpc) float30.0, 0.0, 0.0outputinputconnectablehidden
The current reference sample point that has to be shaded
refPointCameraX (rcx) float0.0outputinputconnectablehidden
The x component of the current sample position
refPointCameraY (rcy) float0.0outputinputconnectablehidden
The y component of the current sample position
refPointCameraZ (rcz) float0.0outputinputconnectablehidden
The z component of the current sample position
fillerColor (fc) float31.0, 1.0, 1.0outputinputconnectablestorable
Filler Color controls the color of the Filler material (the material between the veins) of the Marble texture.
fillerColorR (fcr) float0.0outputinputconnectablestorablekeyable
Filler Color red value
fillerColorG (fcg) float0.0outputinputconnectablestorablekeyable
Filler Color green value
fillerColorB (fcb) float0.0outputinputconnectablestorablekeyable
Filler Color blue value
veinColor (vc) float30.298, 0.0, 0.0outputinputconnectablestorable
Vein Color. controls the color of the Vwins that are sandwiched within the marble.
veinColorR (vcr) float0.0outputinputconnectablestorablekeyable
Vein Color red value
veinColorG (vcg) float0.0outputinputconnectablestorablekeyable
Vein Color green value
veinColorB (vcb) float0.0outputinputconnectablestorablekeyable
Vein Color blue value
veinWidth (vw) float0.1outputinputconnectablestorablekeyable
Vein Width controls the thickness of the veins.
diffusion (di) float0.5outputinputconnectablestorablekeyable
Diffusion controls how much of the Vein Color bleeds into the filler surrounding the vein. Low values of Diffusion cause the colors to be completely separated. High values cause the vein color to spread right out through the filler material, staining it. (see also Contrast).
contrast (c) float0.5outputinputconnectablestorablekeyable
Contrast controls how much the two colors blend into one another in the areas where the vein color is diffusing into the filler color. Increase Contrast to reduce the amount of mixing. Setting Contrast to its maximum value (1.0) will produce the same result as setting Diffusion to 0. (See also Diffusion)
ripples (r) float31.0, 1.0, 1.0outputinputconnectablestorable
Ripples can be used to smear the material in a direction or make it wavy. (It controls the scale of the fundamental frequency of the fractal noise used in the texture).
ripplesX (rx) float0.0outputinputconnectablestorablekeyable
The noise along X
ripplesY (ry) float0.0outputinputconnectablestorablekeyable
The noise along Y
ripplesZ (rz) float0.0outputinputconnectablestorablekeyable
The noise along Z
depth (d) float20.0, 20.0outputinputconnectablestorable
Depth controls how much calculation is done by the Marble texture. Fractal textures (such as Marble) are created by an iterative mathematical process; as the process goes over more levels, it produces a more detailed fractal, but takes longer to do so. Normally, the texture will choose a level it thinks is appropriate for the volume being rendered. You can use Depth Min and Depth Max to control the minimum and maximum amount of calculation that the texure will do.
depthMin (dmn) float0.0outputinputconnectablestorablekeyable
The minimum value for recursion depth
depthMax (dmx) float0.0outputinputconnectablestorablekeyable
The maximum value for recursion depth
amplitude (a) float1.5outputinputconnectablestorablekeyable
Amplitude controls the amount of perturbation in the veins. If you set Amplitude to 0.0, the veins in the marble become perfectly flat planes. As you increase Amplitude, the veins become more irregular in shape.
ratio (ra) float0.707outputinputconnectablestorablekeyable
Ratio controls the Ratio of the fractal noise used to generate this texture. For best results, keep this value around the middle of the range.