The texture the surfaces sample: the video's current frame. Shared with them; read it, never change or dispose it.
From world space into the surface's own frame.
The surface's radius, in meters.
Where the arc starts around the vertical axis, in radians, as SphereGeometry takes it.
How far the arc runs around the vertical axis, in radians.
Where the arc starts down from the upper pole, in radians.
How far the arc runs down from thetaStart, in radians.
The part of the frame one eye's picture fills. The whole frame for mono; the left eye's half for stereo.
Its lower left corner, in texture coordinates.
Across, 0..1.
Up, 0..1.
Its size, in texture coordinates.
Across, 0..1.
Up, 0..1.
Where a world-space direction lands in the video: what an effect drawn from the video needs to sample the frame the viewer sees, without uploading the video a second time. See BitmovinWebXR.getVideoSampling.
The surface is a three.js
SphereGeometrysegment, so a pointpon it, in the surface's own frame, sits atphi = atan2(p.z, -p.x), taken from phiStart theta = acos(p.y / radius) u = (phi - phiStart) / phiLength v = 1 - (theta - thetaStart) / thetaLength
and
(u, v)scaled byeye.repeatand moved byeye.offsetis its texture coordinate. Outside 0..1, the direction misses the arc and shows the background.