Go to: Related nodes. Attributes.
the asm version os probably now slower than the revised C version
-- so lets eliminate it... -- I.A.
The Granite texture is used to create the appearance of
granite or other granite-like stone. The texture simulates a
material comprising three different minerals (colors) suspended in
a medium (filler). Used as a bump map, the Granite texture can
produce a rough, even, sandpaper-like texture. If used as both bump
and color, it can be used to look like the inside surface of a rock
that has been broken open.
Tip:
Granite is an expensive texture to calculate. To save time on a
final render, convert your Granite texture to a File texture after
you have set it up the way you like it.
Aside from the attributes listed here, Granite 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 |
granite |
texture3d |
texture/3d:drawdb/shader/texture/3d/granite |
kGranite |
kBase
kNamedObject
kDependencyNode
kTexture3d
kGranite |
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,
crater, leather, stucco,
brownian, solidFractal, marble, wood, rock, snow, defaultTextureList, place2dTexture, place3dTexture
Attributes (31)
cellSize, color1, color1B,
color1G, color1R, color2,
color2B, color2G, color2R,
color3, color3B, color3G,
color3R, creases, density,
fillerColor, fillerColorB, fillerColorG, fillerColorR, mixRatio, randomness, refPointCamera, refPointCameraX, refPointCameraY, refPointCameraZ, refPointObj, refPointObjX, refPointObjY, refPointObjZ, spottyness, threshold
Long name (short name) |
Type |
Default |
Flags |
|
refPointObj
(rpo ) |
float3 |
0.0, 0.0, 0.0 |
|
|
refPointObjX
(rox ) |
float |
0.0 |
|
|
|
refPointObjY
(roy ) |
float |
0.0 |
|
|
|
refPointObjZ
(roz ) |
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 |
|
|
|
color1
(c1 ) |
float3 |
0.0, 0.0, 0.0 |
|
|
|
|
|
color2
(c2 ) |
float3 |
0.549, 0.784,
0.392 |
|
|
|
|
|
color3
(c3 ) |
float3 |
0.627, 0.824,
0.823 |
|
|
|
|
|
fillerColor
(fc ) |
float3 |
0.588, 0.294,
0.196 |
|
|
fillerColorR
(fcr ) |
float |
0.0 |
|
|
|
fillerColorG
(fcg ) |
float |
0.0 |
|
|
|
fillerColorB
(fcb ) |
float |
0.0 |
|
|
|
cellSize
(cs ) |
float |
0.15 |
|
|
density
(dy ) |
float |
1.0 |
|
|
mixRatio
(mr ) |
float |
0.5 |
|
|
spottyness
(s ) |
float |
0.3 |
|
|
randomness
(ra ) |
float |
1.0 |
|
|
threshold
(th ) |
float |
0.5 |
|
|
creases
(c ) |
bool |
true |
|