Go to: Related nodes. Attributes.
This class describes a simple volume shader.
This node is MP safe
| Node name |
Parents |
MFn type |
Compatible function sets |
| simpleVolumeShader |
dependNode |
kSimpleVolumeShader |
kBase
kNamedObject
kDependencyNode
kSimpleVolumeShader |
Related nodes
lambert, reflect, phongE,
phong, blinn,
anisotropic, volumeShader, surfaceShader, displacementShader, layeredShader, useBackground, defaultShaderList, shadingMap
Attributes (21)
color, colorB, colorG,
colorR, farPointWorld, farPointWorldX, farPointWorldY, farPointWorldZ, outColor, outColorB, outColorG, outColorR, outTransparency, outTransparencyB, outTransparencyG, outTransparencyR, parameter1, pointWorld, pointWorldX, pointWorldY, pointWorldZ
| Long name (short name) |
Type |
Default |
Flags |
|
parameter1
(p1) |
float |
0.45 |
    |
|
color
(c) |
float3 |
|
    |
|
|
|
colorG
(cg) |
float |
0.58824 |
    |
|
|
|
|
pointWorld
(p) |
float3 |
1.0, 1.0, 1.0 |
   |
|
pointWorldX
(px) |
float |
0.0 |
   |
|
|
pointWorldY
(py) |
float |
0.0 |
   |
|
|
pointWorldZ
(pz) |
float |
0.0 |
   |
|
|
farPointWorld
(fp) |
float3 |
1.0, 1.0, 1.0 |
   |
|
farPointWorldX
(fpx) |
float |
0.0 |
   |
|
|
farPointWorldY
(fpy) |
float |
0.0 |
   |
|
|
farPointWorldZ
(fpz) |
float |
0.0 |
   |
|
|
outColor
(oc) |
float3 |
|
  |
|
outColorR
(ocr) |
float |
0.0 |
  |
|
|
outColorG
(ocg) |
float |
0.0 |
  |
|
|
outColorB
(ocb) |
float |
0.0 |
  |
|
|
outTransparency
(ot) |
float3 |
|
  |
|
outTransparencyR
(otr) |
float |
0.0 |
  |
|
|
outTransparencyG
(otg) |
float |
0.0 |
  |
|
|
outTransparencyB
(otb) |
float |
0.0 |
  |
|