Go to: Related nodes. Attributes.
For example, if you connect the Translate attribute of an object to the Out Color attribute of a Volume Shader, then the color of the shader will depend on the position of the object in space.
If you are connecting this node manually to a shading group, then you should connect the Out Color attribute of the Volume Shader to the Volume Material input of the the shading group. (This is sometimes called the Volume Shader input.) (Most other shaders connect to the Surface Shader input.)
In the table below, important attributes have their names indicated in bold in the decription column.
This node is MP safe
Node name | Parents | Classification | MFn type | Compatible function sets |
---|---|---|---|---|
volumeShader | node | shader/volume/utility | kVolumeShader | kBase kNamedObject kDependencyNode kVolumeShader |
lambert, reflect, phongE, phong, blinn, anisotropic, simpleVolumeShader, surfaceShader, displacementShader, layeredShader, useBackground, defaultShaderList, shadingMap
outColor, outColorB, outColorG, outColorR, outMatteOpacity, outMatteOpacityB, outMatteOpacityG, outMatteOpacityR, outTransparency, outTransparencyB, outTransparencyG, outTransparencyR
Long name (short name) | Type | Default | Flags | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
outColor
(oc )
| float3 | 0.0, 0.0, 0.0 | ![]() ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
outMatteOpacity
(omo )
| float3 | 1.0, 1.0, 1.0 | ![]() ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
outTransparency
(ot )
| float3 | 0.0, 0.0, 0.0 | ![]() ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|