Go to: Related nodes. Attributes.

The node type hwShader is the base type for all hardware shaders. This node is abstract and cannot be created on its own. Instead some other node must derive from it in order to do anything useful.

This node is abstract

This node is MP safe

Node nameParentsMFn typeCompatible function sets

Related nodes

lambert, reflect, phongE, phong, blinn, anisotropic, volumeShader, simpleVolumeShader, displacementShader, layeredShader, useBackground, defaultShaderList, shadingMap, surfaceShader

Attributes (19)

enableHwShading, outColor, outColorB, outColorG, outColorR, outGlowColor, outGlowColorB, outGlowColorG, outGlowColorR, outMatteOpacity, outMatteOpacityB, outMatteOpacityG, outMatteOpacityR, outTransparency, outTransparencyB, outTransparencyG, outTransparencyR, uniformParameters, varyingParameters

Long name (short name)TypeDefaultFlags
outColor (oc) float3outputconnectable
Out Color is the final output color generated by this shader.
outColorR (ocr) float0.0outputconnectable
out color red value
outColorG (ocg) float1.0outputconnectable
out color green value
outColorB (ocb) float0.0outputconnectable
out color blue value
outTransparency (ot) float3outputinputconnectablestorable
Out Transparency is the final output transparency generated by this shader.
outTransparencyR (otr) float0.0outputinputconnectablestorable
out transparency red value
outTransparencyG (otg) float0.0outputinputconnectablestorable
out transparency green value
outTransparencyB (otb) float0.0outputinputconnectablestorable
out transparency blue value
outGlowColor (ogc) float3outputinputconnectablestorable
Out Glow Color is the final output glow color from this node (if this node is glowing)
outGlowColorR (ogr) float0.0outputinputconnectablestorable
out glow color red value
outGlowColorG (ogg) float0.0outputinputconnectablestorable
out glow color green value
outGlowColorB (ogb) float0.0outputinputconnectablestorable
out glow color blue value
outMatteOpacity (omo) float3outputinputconnectablestorable
output Matte Opacity
outMatteOpacityR (omor) float0.0outputinputconnectablestorable
output Matte Opacity red value
outMatteOpacityG (omog) float0.0outputinputconnectablestorable
output Matte Opacity green value
outMatteOpacityB (omob) float0.0outputinputconnectablestorable
output Matte Opacity blue value
enableHwShading (ehs) integer1outputinputconnectablestorable
Enable Hardware Shading. If this attribute is zero then all special HW shading by this node will be disabled.
varyingParameters (vpar) stringArrayemptyoutputinputconnectablestorable
The ordered list of surface data attributes defined for this shader.
uniformParameters (upar) stringArrayemptyoutputinputconnectablestorable
The ordered list of shader parameter attributes defined for this shader.