Const
Advanced
A fragment that copies its colour input unchanged, for a FullscreenPass with a reads.color
reads.color
The input is stretched over the whole target, whatever their sizes.
graph.addPass( new FullscreenPass({ renderer, fragment: passthroughFragment, reads: { color: normals }, writes: copy }),); Copy
graph.addPass( new FullscreenPass({ renderer, fragment: passthroughFragment, reads: { color: normals }, writes: copy }),);
A fragment that copies its colour input unchanged, for a FullscreenPass with a
reads.colorThe input is stretched over the whole target, whatever their sizes.