Skip to content
IndexRequest a UIAboutContact

God Rays & Volumetric Beams

Beams of sunlight fanning from a corner through haze, with intensity, beam width and direction controls.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI IMAGE OR VIDEO TOOL
Atmospheric forest photograph at early morning with strong god rays, shafts of warm golden sunlight streaming diagonally through the trees from the upper left and fading with distance, misty haze making the beams visible, dark silhouetted tree trunks in the foreground cutting the light into separate columns, cool green shadows, 35mm lens, shallow depth of field, serene and cinematic. Variants: thin sparse beams in clear air, and wide soft beams in heavy fog. Negative: artificial lens flares, oversaturation, hard edged stripes, people, text. Reduced motion: static image.

About this pattern

Definition

God rays, or crepuscular rays, are visible shafts of light that appear when sunlight passes through gaps in clouds or trees and scatters off haze, dust or mist. Without particles in the air the light beams are invisible, so haze is the key ingredient.

When to use it

  • Place the light source at or just beyond the edge of the frame, behind the subject.
  • Rays fan outward from the source and get fainter with distance.
  • More haze gives brighter, wider beams; clear air gives almost none.
  • Dark shapes in front, such as trunks, cut the light into separate beams.

What the controls do

  • Intensity, Beam width and Direction sliders.

Motion & timing

  • Updates follow the sliders.
  • Reduced motion: nothing animates.

Tips & variations

  • Use screen blending so the beams add light instead of covering the scene.
  • Keep beams subtle; heavy rays look artificial.

Code of this live preview

HTML
<div class="bx"><div class="sc" id="sc"><div class="bg"></div><div class="rays" id="rays"></div><div class="tr"><i style="left:14%"></i><i style="left:34%;width:12px"></i><i style="left:58%"></i><i style="left:80%;width:14px"></i></div></div><div class="three"><label class="rw">Intensity <b id="iv">60%</b><input id="it" type="range" min="0" max="100" value="60"></label><label class="rw">Beam width <b id="wv">3°</b><input id="wd" type="range" min="1" max="6" value="3"></label><label class="rw">Direction <b id="dv">180°</b><input id="dr" type="range" min="130" max="230" value="180"></label></div></div>

Related patterns

Backlight, Rim Light & Lens Flare

↗
Backlight, Rim Light & Lens FlareNatural Light

Haze & Atmospheric Depth

↗
Haze & Atmospheric DepthMood & Tone

Dappled Light Through Leaves

↗
Dappled Light Through LeavesNatural Light