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

# ShadowMap : Shadow

    shadowMap - superclass: Shadow; super-superclass:MAXWrapper - classID: #(256, 0)

Value > MAXWrapper > Shadow > ShadowMap

| Lights and Cameras - Quick Navigation

Constructor

    shadowMap...

Properties

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

The shadow map size in pixels

    <shadowMap>.samplerange Float default: 4.0 -- animatable; float; Map_Range

The shadow map sample range

    <shadowMap>.mapbias Float default: 1.0 -- animatable; float; Map_Bias

Controls the shadow map bias - the distance from the shadowing surface to the shadow.

    <shadowMap>.absoluteMapBias Boolean default: false -- animatable; boolean; Absolute_Bias

When set to true, the Map bias is taken as world units. When false (relative), the bias is calculated relative to the scene size.

    <shadowMap>.twoSidedShadows Boolean default: false -- boolean

When true , backfaces are not ignored when calculating shadows. Objects seen from the inside are not lit by lights from the outside. This costs a bit more render time. When false , backfaces are ignored. Rendering is quicker, but outside lights illuminate object interiors.

#### See Also

- Area_Shadows : Shadow

- RaytraceShadow : Shadow

- Adv__Ray_traced : Shadow

- MAXScript FAQ:How do I change the Shadow type of a Light?

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods