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 node 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 outputinputconnectablestorable
The parameter.
color (c) float3 outputinputconnectablestorable
Input color
colorR (cr) float 0.0 outputinputconnectablestorable
Input color red value
colorG (cg) float 0.58824 outputinputconnectablestorable
Input color green value
colorB (cb) float 0.644 outputinputconnectablestorable
Input color blue value
pointWorld (p) float3 1.0, 1.0, 1.0 inputconnectablestorable
The surface point.
pointWorldX (px) float 0.0 inputconnectablestorable
The x-component of the position.
pointWorldY (py) float 0.0 inputconnectablestorable
The y-component of the position.
pointWorldZ (pz) float 0.0 inputconnectablestorable
The z-component of the position.
farPointWorld (fp) float3 1.0, 1.0, 1.0 inputconnectablestorable
The surface farPoint.
farPointWorldX (fpx) float 0.0 inputconnectablestorable
The x-component of the far point.
farPointWorldY (fpy) float 0.0 inputconnectablestorable
The y-component of the far point.
farPointWorldZ (fpz) float 0.0 inputconnectablestorable
The z-component of the far point.
outColor (oc) float3 outputconnectable
Output color
outColorR (ocr) float 0.0 outputconnectable
Output color red value
outColorG (ocg) float 0.0 outputconnectable
Output color green value
outColorB (ocb) float 0.0 outputconnectable
Output color blue value
outTransparency (ot) float3 outputconnectable
Output transparency
outTransparencyR (otr) float 0.0 outputconnectable
Output transparency red value
outTransparencyG (otg) float 0.0 outputconnectable
Output transparency green value
outTransparencyB (otb) float 0.0 outputconnectable
Output transparency blue value