Skip to main content

Light

Overview

Configures and applies lighting data to an incoming mesh scene or hierarchy. It supports multiple light types (such as Point, Spot, and Area), transform adjustments, emission properties, and shadow configurations.


Inputs

NameTypeDescription
InputMeshDataIncoming mesh data or scene hierarchy to be lit.
Light PositionVector3The position of the light source in 3D space.
Light RotationVector3The rotation/orientation of the light source.
Spot AnglefloatThe outer angle of a Spot light's cone (in degrees).
Inner SpotAnglefloatThe inner angle of a Spot light's cone where fading begins.
WidthfloatThe width of an Area light.
HeightfloatThe height of an Area light.
Light ColorColorThe color emitted by the light.
IntensityfloatThe brightness/energy of the light source.
Indirect MultiplierfloatControls the intensity of indirect bounce lighting.
RangefloatThe maximum distance the light can travel before dying out.
Cast ShadowsboolToggles whether the light casts real-time shadows.
Shadow StrengthfloatControls the opacity/darkness of the cast shadows.
Shadow NearPlanefloatThe closest distance from the light source at which shadows begin rendering.

Outputs

NameTypeDescription
OutputMeshDataThe processed mesh data incorporating the configured light source.

Parameters

NameTypeDescription
TypeLightDataTypeDefines the light type (Point, Spot, Area, etc.).
ModeLightModeDefines the baking behavior (Realtime, Mixed, Baked).
Render ModeLightRenderModeDetermines the rendering priority (Auto, Important, NotImportant).
Culling MaskLayerMaskDetermines which object layers are affected by this light.
ShadowsLightShadowsSelects the type of shadow filtering (None, Hard, Soft).

Behavior Notes

  • Shape-Specific Fields: The settings are content specific, meaning only the related content will show depending on the type selected.