THREE.JS / WEBGL SUNLIGHT

Sun, sky, shadow.

The pinned package has no native SunLight export, so this study keeps the official sunlight example’s sky, PMREM environment, shadow controls, instanced avenue, fog, and tone mapping visible through an explicitly labeled DirectionalLight fallback.

StartingWEBGL2 / FALLBACK
Building the sky and shadow scene.
direction
—
mode
—
shadows
—
resolution
—
shadow far
—
casters
—
environment
—
sample avg / p95
—
builds
—

This is partial SunLight compatibility evidence, not native SunLight execution. Current-doc SunLight/SunLightNode behavior, exact official assets/presentation, true cascaded-shadow internals, device/backend parity, and whole-example fidelity remain separate.

Sources: official WebGL sunlight example · SunLight docs · Sky docs