API

Interface LinearDepthMaterialOptions

Options for createLinearDepthMaterial().

interface LinearDepthMaterialOptions {
    far?: number;
    name?: string;
    near?: number;
}
Index
far?: number

Camera far plane (defaults to 15 to match the source playground).

name?: string

Optional material name.

near?: number

Camera near plane (defaults to 0.03 to match the source playground).