File: module-MirrorShader.md | Updated: 11/15/2025
MirrorShader is an addon, and must be imported explicitly, see Installation#Addons.
import { MirrorShader } from 'three/addons/shaders/MirrorShader.js';
Copies half the input to the other half.
side: side of input to mirror (0 = left, 1 = right, 2 = top, 3 = bottom).