Lighting

Volumetric Lighting: Visible Beams, Shafts and God Rays

Also called god rays, light shafts, atmospheric lighting

Volumetric lighting is light you can see travelling through the air, appearing as beams or shafts because particles of haze, smoke or dust scatter it back toward the camera. It needs three things at once: a source with a defined edge, something in the air to scatter, and a dark area for the beam to read against.

Why a beam becomes visible

You never see light itself, only light that reaches your eye. A beam crossing a room sends almost nothing sideways in clean air, so it stays invisible. Add particles and each one becomes a tiny scatterer, redirecting a fraction of the beam toward the camera, and the path of the light becomes an object in the frame.

That is the entire mechanism, and it explains every practical rule that follows. More particles means a brighter, denser beam. A harder source means a beam with defined edges instead of a soft glow. And because the beam is dim compared with the source, it only shows up where the surrounding area is darker than it is.

The three ingredients

  1. A source with an edge. Hard light through a restricted opening. A window, a doorway, a gap in a wall, or a fresnel with barn doors. Diffuse sources fill the room with light and produce no shaft at all.
  2. Something in the air. Haze from a hazer holds evenly for a long time and is the standard tool. Smoke is denser and moves visibly, which reads more dramatically but is harder to match between takes. Rain, snow, steam and construction dust all work.
  3. Darkness to read against. A beam in a bright white room is invisible. Volumetric lighting is a contrast effect, exactly like a rim, so the shot has to give it black to sit in.

Angle matters almost as much. Particles scatter light forward far more than backward, so a beam pointed toward the camera is many times brighter than the same beam pointed away. This is why crews put the source behind or across the frame, and why an on-camera light produces nothing at all.

Where it goes wrong on set

Haze is easy to overdo. Because it lifts the shadows everywhere, a scene with too much of it loses its blacks, and no grade brings them back cleanly. The other failure is continuity: haze drifts and dissipates, so a wide shot with heavy atmosphere and a close-up with none will not cut together. Crews re-haze between takes and check the level on a monitor rather than by eye.

Ventilation, doors and people walking through the frame all disturb the medium. If a beam needs to look still, the room needs to be still.

Prompting volumetric lighting in AI generation

This phrase is one of the most over-used tokens in image prompting, and it behaves badly on its own. Models learned it from thousands of hazy, glowing, low-contrast renders, so asking for it in the abstract usually returns exactly that: a milky frame with a general glow and no defined beam anywhere.

  • hard sunlight through a high window cutting a defined shaft across dusty air, bright patch where it lands on the floor, deep shadow elsewhere
  • single stage lamp behind the subject, visible cone of light in smoke, black background
  • ⚠️ volumetric lighting, god rays, bloom, cinematic stacks four glow instructions and washes the frame out
  • ⚠️ volumetric lighting, bright airy room cancels itself, since there is nothing dark for a beam to appear against

Two specifics raise the hit rate a lot. Name where the beam lands, because a shaft that hits a floor or a wall gives the model a geometric anchor and stops the light dissolving into fog. And name the medium explicitly, dust, smoke, mist or rain, rather than leaving the model to invent a generic haze.

For video, expect trouble. Drifting particles are high-frequency detail, which is what compression and temporal models handle worst, so beams tend to flicker, crawl or pulse across frames. Keeping the beam static, the camera slow and the haze light gives the model the best chance of holding it steady.

The prompt for this

A starting point that reliably produces the effect. Adjust the subject and setting; keep the technical clauses.

Abandoned church interior, hard sunlight through a high window cutting a defined shaft across dusty air, beam landing as a bright patch on the stone floor, deep shadow everywhere else

Try Volumetric Lighting yourself

Open the generator with a starting point already filled in.

Frequently asked questions

What is the difference between volumetric lighting and god rays?
God rays, or crepuscular rays, are the specific case of sunbeams fanning out through gaps in cloud or through a window. Volumetric lighting is the general phenomenon of a visible beam, from any source, including a torch, a car headlight or a stage lamp.
Do you need fog or smoke to see a beam?
Yes. Clean air scatters almost nothing at short distances, so a beam is invisible without particles. On set that means a hazer, a fogger, dust, water spray or rain. Outdoors, morning mist, humidity and smoke do the same job for free.
How much haze is the right amount?
Less than looks right to the eye. Haze lifts the shadows and lowers contrast across the whole frame, so a room that looks lightly smoky in person can read as milky through the lens. Judge it on the monitor, and keep the level consistent between takes or the shots will not cut together.
What does volumetric lighting mean in a 3D renderer?
In Unreal, Blender and similar tools it is a render feature: the engine traces light through a participating fog volume rather than just onto surfaces. Same physics, but it is a setting with a cost in render time rather than something you rig on set.
Why does adding it to a prompt make images look washed out?
Because models treat the phrase as a global haze instruction rather than a single beam. Contrast drops everywhere and the image goes milky. Describe one beam, its source and where it lands, and keep the rest of the frame explicitly dark.

Related terms