MAXScript Language Reference > 3ds Max Objects > TextureMap : Material > TextureMap Types >

# FlatMirror : TextureMap

    flatMirror - superclass: textureMap; super-superclass:material - classID: #(608, 0)

Value > MAXWrapper > Material > TextureMap > Flat_Mirror

| Materials and Maps - Quick Navigation

Constructor

    Flat_Mirror ...
    flatMirror...

Properties

    <FlatMirror>.applyBlur Boolean default: true

Turns on filtering to blur the maps.

Anti-aliasing is also applied to the Distortion effect, if any, when Apply Blur is turned on.

    <FlatMirror>.blurAmount Float default: 1.0 -- animatable

Affects the sharpness or blurriness of the generated map based on its distance from the object.

The farther away the map is, the greater the blurring.

    <FlatMirror>.frame Integer default: 1
    <FlatMirror>.nthFrame Integer default: 1

When frame is set to 0, the renderer creates the automatic flat mirror only on the first frame.

When frame is set to 1, the renderer creates the automatic flat mirror based on nthframe .

    <FlatMirror>.useEnviroment Boolean default: true

When off, environment maps are ignored by the mirror during rendering.

It’s useful to turn this off when you have mirrors in the scene and you’re rotoscoping against a flat screen environment map.

A screen environment map does not exist in 3D space the way the other environment-map types do, and will not render properly.

    <FlatMirror>.applyToFaceID Boolean default: false

When on, a specified material is applied to the mirror face.

    <FlatMirror>.faceID Integer default: 1

Specifies the material ID number where you want the mirror assigned.

    <FlatMirror>.distortionType Integer default: 0

To simulate irregular surfaces, you can distort the flat-mirror reflections.

Distortion can be based on a bump map or on noise controls built into Flat Mirror material.

0-None (No distortion)

1-Use Bump Map (Distorts the reflection using the material’s bump map. A flat mirror surface that has a Bump map will appear bumpy, but its reflection won’t be distorted by the bumps unless you use this option.)

2-Use Built-in Noise (Distorts the reflection using the settings in the Noise group.)

    <FlatMirror>.noiseType Integer default: 0

Sets the type of noise when distortionType is set to 2.

0-Regular (Generates plain noise. Basically the same as Fractal noise with the Levels setting at 1. When the noise type is set to Regular, the Levels spinner is inactive, because Regular is not a fractal function.)

1-Fractal (Generates noise using a fractal algorithm. The Levels setting determines the number of iterations for the fractal noise.)

2-Turbulence (Generates fractal noise with an absolute value function applied to it to make fault lines.)

    <FlatMirror>.distortionAmount Float default: 0.5 -- animatable

Adjusts the amount of distortion to the reflected image. This is the only value that affects the amount of distortion.

    <FlatMirror>.phase Float default: 0.0 -- animatable

Controls the speed of the animation of the noise function.

A 3D noise function is used for the noise, so that the first two parameters are U and V and the third is phase.

    <FlatMirror>.size Float default: 10.0 -- animatable

Sets the scale of the noise function. Smaller values give smaller chunks of noise.

    <FlatMirror>.level Float default: 2.0 -- animatable

Sets the number of fractal iterations or turbulence (as a continuous function).

#### See Also

- TextureMap Common Properties, Operators, and Methods

- Material Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods