Go to: Related nodes. Attributes.

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

This node is MP safe

Node nameParentsClassificationMFn typeCompatible function sets
areaLightnonExtendedLightShapeNodelightkAreaLightkBase
kNamedObject
kDependencyNode
kDagNode
kShape
kLight
kNonAmbientLight
kNonExtendedLight
kAreaLight

Related nodes

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

Attributes (54)

The following quick index only shows top-level attributes (too many attributes to show them all): lightGlow, mentalRayControls (43), normalCamera (3), objectType, pointWorld (3)

Long name (short name)TypeDefaultFlags
lightGlow (lg) Messagen/aoutputinputconnectable
Connect this to the light glow.
pointWorld (pw) float31.0, 1.0, 1.0inputconnectablestorable
The point to light in world space (for shadow maps).
pointWorldX (tx) float0.0inputconnectablestorable
The x-component of the world position.
pointWorldY (ty) float0.0inputconnectablestorable
The y-component of the world position.
pointWorldZ (tz) float0.0inputconnectablestorable
The z-component of the world position.
normalCamera (n) float3outputinputconnectable
Normal Camera represents the surface normals in the camera's space. These are used to calculate lighting.
normalCameraX (nx) float1.0outputinputconnectable
normal camera x value
normalCameraY (ny) float1.0outputinputconnectable
normal camera Y value
normalCameraZ (nz) float1.0outputinputconnectable
normal camera Z value
objectType (ot) charTrenderableObjectType::kSurfaceinputconnectablestorable
The type of object being lit (volume or surface).
mentalRayControls (mrc) compoundn/aoutputinputconnectablestorable
This is a root of following mental ray attributes.
miExportMrLight (milt) boolfalseoutputinputconnectablestorable
Controls usage of default mayabase light shader, which is used by default. If enabled, the mayabase light shader will not be applied at all but any connected custom mental ray node will.
miLightShader (mils) generic typed dataNULLoutputinputconnectablestorable
Port to connect custom mental ray node of type light shader.
miPhotonEmitter (mipe) generic typed dataNULLoutputinputconnectablestorable
Port to connect custom mental ray node of type photon emitter shader.
emitPhotons (phot) boolfalseoutputinputconnectablestorable
Enable photon emission for the light.
energy (eng) float3outputinputconnectablestorable
Determines photon energy for the light. energy is a product of Photon color and Photon intensity Photon Color is available in UI only, and is not a real attribute.
energyR (engr) float8000outputinputconnectablestorable
The red component of the photon energy
energyG (engg) float8000outputinputconnectablestorable
The green component of the photon energy
energyB (engb) float8000outputinputconnectablestorable
The blue component of the photon energy
photonIntensity (phi) float1outputinputconnectablestorable
Photon intensity factor for the photon energy color to determine photon energy for the light. Should be changed through the UI only.
exponent (exp) float2outputinputconnectablestorable
Photon energy falloff. Values other than 2 produce non-physically correct indirect illumination.
causticPhotons (cph) integer10000outputinputconnectablestorable
Caustic photons to emit (actually store) from the light.
causticPhotonsEmit (cphe) integer0outputinputconnectablestorable
Caustic photon emission
globIllPhotons (gph) integer10000outputinputconnectablestorable
Global illumination photons to emit (actually store) from the light.
globIllPhotonsEmit (gphe) integer0outputinputconnectablestorable
Global illumination photon emission
shadowMap (usm) boolfalseoutputinputconnectablestorable
Turn on mental ray shadowmap creation for the light.
smapResolution (smr) integer256outputinputconnectablestorable
Resolution (both width and height) of the shadowmap for mental ray.
smapSamples (smsa) short1outputinputconnectablestorable
Number of shadowmap samples to be taken if smapSoftness is greater zero. mental ray only.
smapSoftness (smso) float0outputinputconnectablestorable
The mental ray shadowmap softness for the light. If greater zero, oversampling will be used to produce blurry shadows.
smapBias (smb) float0outputinputconnectablestorable
Controls mental ray shadow map bias. It is a factor on the internal bias value. If smapBias is 0, the Woo algorithm (mid dist shadowmap) is enabled, and the bias is not used.
smapCamera (smc) Messagen/aoutputinputconnectablehidden
For internal use only.
smapFilename (smf) stringNULLoutputinputconnectablestorable
If not empty, enable shadowmap file creation with that name for mental ray.
smapLightName (smln) bool0outputinputconnectablestorable
Include the light name in the shadow map name.
smapSceneName (smsn) bool0outputinputconnectablestorable
Include the scene name in the shadow map name.
smapFrameExt (smfe) bool0outputinputconnectablestorable
Include the frame extention in the shadow map name.
smapDetail (smd) bool0outputinputconnectablestorable
Use mental ray detail shadow map for this light. shadowMap must be enabled. This algorithm is a combination of standard shadowmaps and ray traced shadows. Unlike standard shadowmaps, the detail shadowmap algorithm invokes shadow shaders at intersection points with shadow-casting geometry In general, detail shadowmaps need less resolution than standard shadowmaps, since they may take more samples per pixel. Still, detail shadowmaps tend to be more expensive to compute than standard shadowmaps because of the shadow shader calls. They may even be more expensive than raytraced shadows. However, their cost may be offset by repeated reuse over several frames. They may also be more efficient with time and memory resources than raytraced shadows for motion blurred shadows. The file format used to store detail shadowmaps is incompatible with the file format used to store regular shadowmaps. The entire file format is tile-based and only those tiles computed or used during a rendering will be stored in the file. New tiles may be dynamically added during rendering of new frames. Detail shadowmap files tend to be larger than regular shadowmap files since more information per pixel is stored.
smapDetailSamples (sds) short0outputinputconnectablestorable
Specify the number of samples per pixel taken when computing a mental ray detail shadowmap pixel. A value of n means that nxn samples are taken per pixel, each involving a shadow intersection including a shadow shader call at some varying subpixel coordinate inside the shadowmap pixel. If smapDetailSamples is set to 0, mental ray default value is used.
smapDetailAccuracy (sdac) float0outputinputconnectablestorable
This parameter determines how far two depth values of a sample have to be separated in order to be considered two distinct values. Selecting this value too small will result in larger memory and compute resource requirements for detail shadowmaps. Selecting it too large will lead to visible artifacts. mental ray tries to use a reasonable default value for the accuracy. If smapDetailAccuracy is set to 0, mental ray default value is used.
smapDetailAlpha (sdal) bool0outputinputconnectablestorable
If smapDetailAlpha is set, then only the intensity values of the color transmission coeffiencents are used.
smapWindow (smw) compoundn/aoutputinputconnectablestorable
This is a root of following mental ray attributes.
smapWindowXMin (smxl) short0outputinputconnectablestorable
Min x-value of the window
smapWindowYMin (smyl) short0outputinputconnectablestorable
Min y-value of the window
smapWindowXMax (smxh) short0outputinputconnectablestorable
Max x-value of the window
smapWindowYMax (smyh) short0outputinputconnectablestorable
Max y-value of the window
smapMerge (smm) bool0outputinputconnectablestorable
Shadow map merge
smapTrace (smt) bool0outputinputconnectablestorable
Shadow map trace
areaLight (algt) boolfalseoutputinputconnectablestorable
Enable mental ray area light attributes for the light.
areaType (atyp) enum0 "Rectangle"outputinputconnectablestorable
Type to determine the shape of the area light.
areaShapeIntensity (alsi) float1.0outputinputconnectablestorable
Area light shape intensity
areaHiSamples (ahs) short8outputinputconnectablestorable
Area light high samples
areaHiSampleLimit (alev) short1outputinputconnectablestorable
Area light high sample limit
areaLoSamples (als) short1outputinputconnectablestorable
Area light low samples
areaVisible (avis) bool0outputinputconnectablestorable
Area light low sample limit
areaObject (aobj) Messagen/aoutputinputconnectablehidden
Area light object