Home Reference Source
import {DepthMaskMaterial} from 'postprocessing/src/materials/DepthMaskMaterial.js'
public class | source

DepthMaskMaterial

Extends:

three~ShaderMaterial → DepthMaskMaterial

A depth mask shader material.

This material masks a color buffer by comparing two depth textures.

Constructor Summary

Public Constructor
public

Constructs a new depth mask material.

Public Constructors

public constructor() source

Constructs a new depth mask material.