Go to: Related nodes. Attributes.

This class contains the "shape" information for ambient lights.

This node is MP safe

Node name Parents Classification MFn type Compatible function sets
ambientLight renderLight light kAmbientLight kBase
kNamedObject
kDependencyNode
kDagNode
kShape
kLight
kAmbientLight

Related nodes

camera, light, dropoffLocator, nonAmbientLightShapeNode, nonExtendedLightShapeNode, areaLight, directionalLight, spotLight, pointLight

Attributes (9)

ambientShade, castSoftShadows, normalCamera, normalCameraX, normalCameraY, normalCameraZ, objectType, receiveShadows, shadowRadius

Long name (short name) Type Default Flags
ambientShade (as) float 0.45 outputinputconnectablestorable
The ambient shade as used by the material/shader.
objectType (ot) char TrenderableObjectType::kSurface inputconnectablestorable
The type of object being lit (volume or surface).
shadowRadius (sr) float 0.0 outputinputconnectablestorable
The softshadow light radius.
castSoftShadows (cw) bool false outputinputconnectablestorable
Turn on soft shadows (applicable to raytracing only).
normalCamera (n) float3 inputconnectable
surface normal at sample point
normalCameraX (nx) float 1.0 inputconnectable
normal x value
normalCameraY (ny) float 1.0 inputconnectable
normal Y value
normalCameraZ (nz) float 1.0 inputconnectable
normal Z value
receiveShadows (gs) bool true outputinputconnectablestorable
sampleData = geometry receives shadows