THREE.JS / MATERIALS / VIDEO TEXTURE

See one stream everywhere.

The pinned webcam material example places one hidden video stream on 128 planes arranged around the camera. This contract starts with a deterministic local stream, then exposes the permission-gated physical-camera boundary separately.

Initializing—

Preparing a local video stream and the spherical plane field.

backend
—
source
—
texture
—
planes
—
video
—
tracks
—
sample
—
diagnostics
0
Selected source contractWebGLRenderer → VideoTexture(HTMLVideoElement) → 128 PlaneGeometry meshes

Local mode uses HTMLCanvasElement.captureStream() to keep runtime verification deterministic. Camera permission, official page/pixel presentation, browser/device matrices, and whole-example fidelity remain separate.

Derived from the pinned WebGL webcam material example. The source contract is reviewed at the pinned Three.js commit.