MAXScript Language Reference > 3ds Max Objects > RenderElements : MAXWrapper >

# Lighting : RenderElement

    Lighting - superclass: RenderElement; super-superclass:MAXWrapper - 7:0 - classID: #(17, 0)

Value > MAXObject > (RenderElements) >Lighting

| Render and Bake Elements - Quick Navigation

The Lighting RenderElement outputs the direct lighting.

Constructor

    Lighting ... LightingRenderElement ...

Properties

    <Lighting>.enabled BooleanClass default: true -- boolean

    <Lighting>.filterOn BooleanClass default: true -- boolean; FilteringOn

    <Lighting>.elementName String default: "Lighting" -- string

    <Lighting>.bitmap UndefinedClass default: undefined -- bitmap;

    <Lighting>.shadowsOn BooleanClass default: true -- boolean; Shadows

    <Lighting>.directOn BooleanClass default: true -- boolean; Direct_Light_On

    <Lighting>.indirectOn BooleanClass default: true -- boolean; Indirect_Light_On

#### See Also

- RenderElements