MAXScript Extensions > MAXScript Extensions for mental ray >

# mr_Physical_Sky : textureMap

    mr_Physical_Sky - superclass: textureMap; super-superclass:material - 25:0 - classID: #(1653483166, 1916299967)

This shader provides means to render realistic physical sky using mental ray.

Available in 3ds Max 9 and higher.

Constructors:

    mr_physical_sky...

Properties:

    <mr_Physical_Sky>.BackgroundMapOn BooleanClass default: false -- animatable; boolean; Background_Map_On

Get/set the state of the Use Custom Background Map checkbox.

    <mr_Physical_Sky>.BackgroundMap UndefinedClass default: undefined -- texturemap; Background_Map

Get/set the Custom Background Map.

## Sun Disk Appearance

    <mr_Physical_Sky>.SunIntensity Float default: 1.0 -- animatable; float; Sun_Intensity

Get/set the Sun Disk Intensity value.

    <mr_Physical_Sky>.SunScale Float default: 4.0 -- animatable; float; Sun_Scale

Get/set the Sun Scale value.

    <mr_Physical_Sky>.SunGlow Float default: 1.0 -- animatable; float; Glow_Intensity

Get/set the Sun Glow Intensity value.

## Inherit from mr Sky

    <mr_Physical_Sky>.InheritFromSky BooleanClass default: true -- animatable; boolean; Inherit_from_mr_Sky

Get/set the state of the Inherit from mr_Sky checkbox.

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

Get/set the Multiplier value.

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

Get/set the Haze value.

    <mr_Physical_Sky>.HazeMapOn BooleanClass default: true -- animatable; boolean; Haze_Map_On

Get/set the state of the Use Haze Map checkbox.

    <mr_Physical_Sky>.HazeMap UndefinedClass default: undefined -- texturemap

Get/set the Haze Map.

## Horizon and Ground

    <mr_Physical_Sky>.HorizonHeight Float default: 0.0 -- animatable; float; Horizon_Height

Get/set the Horizon Height value.

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

Get/set the Horizon Blur value.

    <mr_Physical_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_Physical_Sky>.GroundColorMapOn BooleanClass default: true -- animatable; boolean; Ground_Map_On

Get/set the state of the Use Ground Color Map checkbox.

    <mr_Physical_Sky>.GroundColorMap UndefinedClass default: undefined -- texturemap; Ground_Map

Get/set the Ground Color value.

## After Dark

    <mr_Physical_Sky>.NightColor Color default: (color 0 0 0) -- animatable; fRGBA color; Night_Color

Get/set the Night Color value.

    <mr_Physical_Sky>.NightColorMapOn BooleanClass default: true -- animatable; boolean; Night_Color_Map_On

Get/set the state of the Use Night Color Map checkbox.

    <mr_Physical_Sky>.NightColorMap UndefinedClass default: undefined -- texturemap; Night_Color_Map

Get/set the Night Color Map.

## Non-Physical Tuning

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

Get/set the Red/Blue Tint value.

    <mr_Physical_Sky>.RednessMapOn BooleanClass default: true -- animatable; boolean; Redness_Map_On

Get/set the state of the Use Red/Blue Tint Map checkbox.

    <mr_Physical_Sky>.RednessMap UndefinedClass default: undefined -- texturemap; Redness_Map

Get/set the Red/Blue Tint Map.

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

Get/set the Saturation value.

    <mr_Physical_Sky>.SaturationMapOn BooleanClass default: true -- animatable; boolean; Saturation_Map_On

Get/set the state of the Use Saturation Map checkbox.

    <mr_Physical_Sky>.SaturationMap UndefinedClass default: undefined -- texturemap; Saturation_Map

Get/set the Saturation Map.

## Aerial Perspective (when used as lens / volume shader only)

    <mr_Physical_Sky>.AerialPerspective Float default: 0.0 -- animatable; float; Aerial_Perspective

Get/set the Visibility Distance (10% haze) value.

mr_Physical_Sky interfaces:

    Interface: imrShaderTranslation_ClassInfo

Properties:

Methods:

Actions:

    Interface: IMtlRender_Compability_MtlBase

Properties:

Methods:

Actions:

#### See Also

- MAXScript Extensions for mental ray