MAXScript Extensions > MAXScript Extensions for mental ray >

# mental_ray_Shadow_Map : Shadow

    mental_ray_Shadow_Map - superclass: Shadow;super-superclass:MAXWrapper - 9:0 - classID: #(1354802990, 1043063653)

Constructors:

    mental_ray_Shadow_Map... mrShadowMap...

Properties:

    <mental_ray_Shadow_Map>.Map_Size Integer default: 512 -- animatable; integer

Get/Set the shadow map size in pixels.

    <mental_ray_Shadow_Map>.Sample_Range Float default: 0.0 -- animatable; float

Get/Set the shadow map sampling range.

    <mental_ray_Shadow_Map>.EnableTransparency BooleanClass default: false -- animatable; boolean; Enable_Transparency

Toggle transparency support on and off.

    <mental_ray_Shadow_Map>.Samples Integer default: 4 -- animatable; integer

Get/Set the shadow map samples count.

    <mental_ray_Shadow_Map>.TransparencyAccuracy Float default: 0.0 -- animatable; world units; Transparency_Accuracy

Get/Set the transparency accuracy.

    <mental_ray_Shadow_Map>.TransparencyDoColor BooleanClass default: true -- animatable; boolean; Transparency_Do_Color

When set to true, transparent shadows will pick up the color of the transparent surface. When false, the shadow will ignore color.

    <mental_ray_Shadow_Map>.TransparencyMaxSamples Integer default: 4 -- animatable; integer; Transparency_Maximum_Samples

Get/Set the max. number of transparency samples.

    <mental_ray_Shadow_Map>.Bias Float default: 10.0 -- animatable; worldUnits

Get/Set the Shadow Map Bias value. Available in 3ds Max 8 and higher.

    <mental_ray_Shadow_Map>.UseBias BooleanClass default: false -- animatable; boolean; Use_Bias

When set to true, the Bias value will be used. Available in 3ds Max 8 and higher.

#### See Also

- MAXScript Extensions for mental ray