Import
UnpackDepthRGBAShader is an addon, and must be imported explicitly, see Installation#Addons.
import { UnpackDepthRGBAShader } from 'three/addons/shaders/UnpackDepthRGBAShader.js';
Properties
.UnpackDepthRGBAShader : ShaderMaterial~Shader (inner, constant)
Depth visualization shader that shows depth values as monochrome color.