Caustics

On this page 7

Caustics are concentrated patterns of light formed when rays are refracted or reflected by curved surfaces and focused onto another surface, such as the bright net of lines at the bottom of a swimming pool or the glowing spot behind a glass of water. In 3D graphics & animation, caustics belong to the Lighting & rendering stage, where they are a known stress test for global illumination algorithms.

The effect is physically simple but computationally expensive. Light must travel from a light source through a specular surface before it lands on a diffuse one, and the camera then sees that diffuse surface. Many render engines handle this light path poorly, so caustics are often noisy, disabled by default or faked with textures and projected lights.

How caustics form physically

Caustics appear when a specular surface bends many rays toward the same region. A convex lens, a wavy water surface or a polished metal ring changes the direction of incoming light so that some areas receive far more energy than others. Where rays cross or bunch together, the receiving surface shows bright lines and focal points; where they spread apart, it is darker.

Two physical mechanisms produce them. Refractive caustics come from transmission through glass, water, gemstones or other transparent media. Reflective caustics come from mirrors and shiny metals, such as the cardioid-shaped curve of light inside a coffee cup. The sharpness depends on the size of the light source: a small, distant light such as the sun creates crisp lines, while a large area light blurs them.

TypeLight interactionTypical example
Refractive causticsTransmission through transparent mediaPool floor, glass on a table
Reflective causticsMirror reflection from curved surfacesLight curve inside a metal ring
Volumetric causticsFocused light scattering in a mediumLight shafts under water
Dispersive causticsWavelength-dependent refractionRainbow edges from a diamond
Main types of caustics

Why caustics are difficult to render

In light path notation, a caustic is described as an LS+DE path: light, one or more specular bounces, a diffuse surface, then the eye. Standard path tracing starts from the camera, hits the diffuse floor and then has to randomly find a tiny light source through a refractive object. With a small or point light, the probability of hitting it is close to zero, so the caustic appears as scattered bright fireflies.

Next event estimation, which connects each hit directly to a light, does not help either, because the direct connection is blocked by the glass. A shadow ray cannot pass through a refractive interface and still bend correctly. This is why a glass object in a naive render often casts a solid black shadow instead of a bright caustic.

The table below lists the main rendering approaches and how well they handle caustics.

MethodCaustic qualityMain trade-off
Unidirectional path tracingVery noisy with small lightsNeeds huge sample counts
Bidirectional path tracingGood for many pathsMore complex and slower per sample
Photon mappingSharp and efficientBiased, slightly blurred detail
Metropolis light transportStrong on difficult pathsUneven noise and convergence
Manifold next event estimationClean refractive shadowsLimited to simple specular chains
Rendering methods and caustic quality

Caustics in common render engines

Production renderers expose caustics through dedicated switches and samplers, and the defaults differ. Many disable them because they slow convergence and add noise that a render denoising pass cannot always remove cleanly.

Render engineCaustic approachDefault behavior
CyclesPath tracing with optional shadow causticsReflective and refractive caustics enabled
V-RayDedicated caustics photon mapCaustics off
Corona RendererSeparate caustics solver optionCaustics off
ArnoldPath tracing, specular ray depth limitsMostly suppressed
EEVEERasterized, no true causticsFaked with textures
Typical caustic options by render engine

Recent versions of Cycles added shadow caustics based on manifold next event estimation, in which artists mark caster and receiver objects so that refractive shadows resolve much faster. Engines with photon mapping remain popular for jewelry and product rendering, where sharp caustics are part of the visual message.

Faking caustics in production

When physically correct caustics cost too much, artists use approximations that look convincing at a fraction of the render time. This is standard practice in animation and real-time graphics.

  • Projected caustic textures: an animated pattern projected by a spotlight onto a pool floor.
  • Light gobos and cookies: textured masks on a light that mimic focused patterns.
  • Rendered caustic passes: a separate high-sample render of only the caustic, combined in compositing.
  • Real-time screen-space tricks: shader-based patterns in game engines driven by water normals.

A fake works well when the pattern moves plausibly with the water surface or object. It fails when the viewer can compare it with the geometry that should cause it, as in a close-up product shot of a glass bottle.

Common mistakes and how to avoid them

Most caustic problems come from light setup and sampling, not from the material itself. The decision table below matches common symptoms with their causes.

SymptomLikely causeRecommended fix
Fireflies on the floorPoint light behind glassUse a larger light or photon mapping
Black shadow under glassCaustics disabled or blockedEnable refractive caustics or shadow caustics
Blurry caustic linesLight source too largeReduce light size or use a sun light
Caustics missing entirelySpecular depth limit too lowRaise transmission bounces
Caustic problems and fixes

Clamping indirect light and filtering glossy paths reduce fireflies, but they also remove energy from caustics. Artists should decide per shot whether caustics are essential to the story or can be traded for faster, cleaner renders.

Explained without jargon

Look at the bottom of a sunny pool. You see moving lines of bright light. The wavy water acts like many small lenses. It gathers sunlight into bright patterns. Those patterns are caustics.

Computers find them hard to draw. The program has to follow light through the water and then onto the floor. It often misses the right paths and shows noisy dots instead of clean lines. So artists either give the computer more time or special tools, or they paint the pattern in by hand.

A typical use case

A product visualization artist renders a perfume bottle on a white table for an advertising still. The first path-traced render at 512 samples per pixel shows a dark, noisy shadow below the glass, with bright fireflies scattered around it.

The artist switches the key light from a small spotlight to a sun light with a narrow angle, marks the bottle as a caustic caster and the table as a receiver, and raises transmission bounces to 12. After a final render at 1,024 samples, the table shows a crisp amber caustic inside the shadow, and the image reads as genuine glass without any compositing work.