center pixel: -
- readbacks
- 0
- bytes
- -
A cube render target stores six camera views in one cube texture. This lab updates the six faces with CubeCamera, uses the result for a live reflection, and reads individual faces with faceIndex.
Creating a six-face cube render target.
CubeCamera writes one scene from six coordinate-system-aware directions.
Backend capability snapshot pending.
Each CubeCamera update writes six faces; face readback is a separate explicit address.
scene -> CubeCamera -> cube render target[face 0..5] -> envMap / faceIndex readback
The face order is 0/+X, 1/-X, 2/+Y, 3/-Y, 4/+Z, 5/-Z. CubeCamera updates its coordinate-system-aware cameras before writing those six target faces. Hide the reflective object during the capture to avoid feedback.
Compare array-layer readback next →LAB 125 / CUBE FACE TARGET TOPOLOGY