Hybrid HDR light probe

Load an 8-bit image. Clipped lights are found and rebuilt above 1.0, then saved as a hybrid PNG (alpha carries the overrange), OpenEXR or Radiance .hdr.

Working…
Fit

Zoom with the mouse wheel, + and −, or two fingers; drag to move around when zoomed. Pull exposure down: rebuilt lights stay bright and keep their colour, while the original's clipped whites go grey. Tap a light to set its value.

1Source

How strong are the lights?

Multipliers on 8-bit white (1.0). The dimmest detected light gets the low value, the brightest the high one, the rest fall between on a log scale.

2Lens & framing

Or trace edges: two lines along one direction (A) and two along a direction at right angles to it (B). Floor tiles, table edges, building sides or window frames work well. Tap each line's two ends.

Depth of field

Tap edges at different distances, some sharp and some blurred. Edges on the ground get their distance from the lens above and the camera height. For anything else, type the distance.

3Find lights

4Light strength

Tap ☀ on a light to make it the key light (the sun, a bare bulb). It gets the brightest value and every other light stays within 10× the dimmest.

For lights the finder skips because they are strongly coloured, like a neon sign or coloured LEDs. Tap the brightest part; the glowing area of the same colour becomes one light with its own colour.

For a 360° panorama. For each upright object (a post, a plant, a chair leg), tap where it meets the ground, then a point straight above that, then the tip of that point's shadow. One object is enough; two or three show how well the shadows agree.

5Measure from a shadow

For a 360° probe with a hard shadow in it: tap a spot in direct light, then a spot in shadow on the same surface. The difference is the light's own contribution, so its colour and strength are measured, not guessed. Sky light is taken from the probe as recorded; other clipped lights count as plain white.

6Scene scale

For indoor scenes and the Blender light rig. Saved inside the hybrid PNG, so Build Light Rig in Blender puts each lamp on the real ceiling or wall at the right distance. Works on a 360° panorama.

Floor edges: tap spots where the floor meets the walls, all around the room (3 or more). Ceiling edges: tap where the ceiling meets a wall, a few spots.

7Export

Alpha 255 means a plain 8-bit pixel. Below 255, the pixel's RGB holds the light's colour, and its brightness is range^((255 − alpha) / 255), with range 65536 unless a light is brighter. Ordinary viewers show these lights as see-through spots. Open the PNG here again to decode it.