← Back to vivid-3d

DepthMask3D

GPU Gpu

Builds a mask from scene depth for compositing and selective post-processing.

DepthMask3D turns the incoming depth buffer into a soft near, far, or range mask that can be used for fog, blending, and layered image treatment.

Parameters

NameTypeDescription
thresholdfloatDepth threshold for the mask.
softnessfloatFeathering around the threshold.
modeintMask mode: near, far, or range.
invertintInverts the final mask output.

Ports

NameDirectionType
colorInputTEXTURE
depthInputTEXTURE
textureOutputTEXTURE