Constructs a new mask material.
A mask texture.
ProtectedfarThe current camera far plane value.
Indicates whether the masking is inverted.
ProtectednearThe current camera near plane value.
The current mask strength.
Individual mask values will be clamped to [0.0, 1.0]. Has no effect when the mask function is set to DISCARD.
Copies the settings of the given camera.
Updates the camera-related uniforms and macros.
A camera.
Updates the resolution uniform (XY = resolution, ZW = texelSize).
The width.
The height.
A mask shader material.