What problem does it solve? Adding believable sun shafts and god rays to a 3D scene is difficult: naive screen-space effects produce whiteout, rectangular foliage halos, mirrored sources, and banding. This Skill provides a proven shader recipe for occlusion-aware light rays shaped by roofs and foliage. ## Core Features & Use Cases - Occlusion-Aware Ray Pass: Builds a sky mask, projects the sun position to UV space, and marches samples toward it with normalized decaying weights so exposure stays stable. - Renderer Integration Guidance: Covers HDR linear color, tone-mapping order, alpha conventions, WebGL/WebGPU adaptation, and foreground attenuation to preserve surface contrast. - Performance & Verification Checklist: Recommends 24-48 samples at half resolution, buffer resizing, GPU cost measurement, and visual checks for halos, banding, and off-screen sun behavior. - Use Case: You are building a golden-hour architectural scene in Three.js and want sunlight streaming through a roofline and tree canopy that reacts correctly as the camera orbits. ## Quick Start Use the 3d-sky-rays skill to add sun shafts shaped by the roofs and foliage in my Three.js scene.