MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > Light : Node > Photometric Lights >

# mr_Sky : light

    mr_Sky - superclass: light; super-superclass:node - 11:0 - classID: #(653144912, 2040224598)

Value > MAXWrapper > Node > Light > mr_Sky

| Lights and Cameras - Quick Navigation

The mr_Sky Photometric light provides physically-based skylight illumination, esp. in conjunction with the mr_Physical_Sky : textureMap environment shader and mr_Sun : Light

Available in 3ds Max 9 and higher.

Constructor

    mr_Sky...
    mrPhysSkyLight...

Properties

## mr Sky - Parameters

    <mr_Sky>.on BooleanClass default: true -- boolean <mr_Sky>.	 enabled BooleanClass default: true -- alias for on

Get/set the state of the On (Enabled) checkbox.

    <mr_Sky>.multiplier Float default: 1.0 -- animatable; float

Get/set the Multiplier value.

    <mr_Sky>.GroundColor Color default: (color 51 51 51) -- animatable; fRGBA color; Ground_Color; Controller Scaling: ([1,1,1,1] : (color 255 255 255));

Get/set the Ground Color value.

## mr Sky - Haze

    <mr_Sky>.Haze Float default: 0.0 -- animatable; float

Get/set the Haze value.

## Perez Parameters

    <mr_Sky>.PerezDiffuseHorizIlluminanceUI Float default: 10000.0 -- float; Perez_Diffuse_Horiz__Illuminance

Get/set the Diffuse Horizontal Illuminance value exposed in the UI.

Available in 3ds Max 2009 and higher.

    <mr_Sky>.PerezDirectNormalIlluminanceUI Float default: 10000.0 -- float; Perez_Direct_Normal_Illuminance_UI

Get/set the Direct Normal Illuminance value exposed in the UI.

Available in 3ds Max 2009 and higher.

    <mr_Sky>.PerezDirectNormalIlluminance Float default: 10000.0 -- float; Perez_Direct_Normal_Illuminance

Get/set the internal Direct Normal Illuminance value.

Available in 3ds Max 2009 and higher.

    <mr_Sky>.Perez_Dew_Point_Temp Float default: 0.0 -- float; Dew_Point_Temp

Get/set the internal Dew Point Temperature value.

Available in 3ds Max 2009 and higher.

    <mr_Sky>.PerezDiffuseHorizIlluminance Float default: 10000.0 -- float; Perez_Diffuse_Horiz__Illuminance

Available in 3ds Max 2009 and higher.

    <mr_Sky>.PerezDiffuseHorizIrradiance Float default: 10000.0 -- float; Perez_Diffuse_Horiz__Irradiance

Get/set the internal Diffuse Horizontal Irradiance value.

Available in 3ds Max 2009 and higher.

    <mr_Sky>.PerezDirectNormalIrradiance Float default: 10000.0 -- float; Perez_Direct_Normal_Irradiacne

Get/set the internal Direct Normal Irradiance value.

Available in 3ds Max 2009 and higher.

## mr Sky - CIE Parameters

    <mr_Sky>.CIEDiffuseHorizIlluminance Float default: 10000.0 -- float; CIE_Diffuse_Horiz__Illuminance

Get/set the CIE Diffuse Horizontal Illuminance value.

Available in 3ds Max 2009 and higher.

    <mr_Sky>.CIEDiffuseHorizIlluminanceUI Float default: 10000.0 -- float; CIE_Diffuse_Horiz__Illuminance_UI

Get/set the CIE Diffuse Horizontal Illuminance UI value.

Available in 3ds Max 2009 and higher.

    <mr_Sky>.CIEDirectNormalIlluminance Float default: 10000.0 -- float; CIE_Direct_Normal_Illuminance

Get/set the CIE Direct Normal Illuminance value.

Available in 3ds Max 2009 and higher.

    <mr_Sky>.CIEDirectNormalIlluminanceUI Float default: 10000.0 -- float; CIE_Direct_Normal_Illuminance_UI

Get/set the CIE Direct Normal Illuminance UI value.

Available in 3ds Max 2009 and higher.

    <mr_Sky>.CIEModel Integer default: 0 -- integer; CIE_Model

Get/set the CIE Model drop-down list index.

Possible values are:

0 - Overcast sky

1 - Clear sky

Available in 3ds Max 2009 and higher.

## mr Sky - Advanced Parameters

    <mr_Sky>.HorizonHeight Float default: 0.0 -- animatable; float; Saturation

Get/set the Horizon Height value.

    <mr_Sky>.HorizonBlur Float default: 0.1 -- animatable; float; Horizon_Blur

Get/set the Horizon Blur value.

    <mr_Sky>.NightColor Color default: (color 0 0 0) -- animatable; fRGBA color; Night_Color; Controller Scaling: ([1,1,1,1] : (color 255 255 255));

Get/set the Night Color value.

    <mr_Sky>.Redness Float default: 0.0 -- animatable; float

Get/set the Red/Blue Tint value.

    <mr_Sky>.Saturation Float default: 1.0 -- animatable; float

Get/set the Saturation value.

    <mr_Sky>.UseAerialPerspective BooleanClass default: true -- boolean; Use_Aerial_Perspective

Get/set the state of the Aerial Perspective checkbox.

    <mr_Sky>.AerialPerspective Float default: 393701.0 -- animatable; float; Aerial_Perspective

Get/set the Aerial Perspective value.

## mr_Sky interfaces:

    Interface:NaturalLightClass

Methods:

    <boolean>isSun()

    <boolean>isSky()