Semen Klenov

Home / Journal / 3D & CGI

CG Lighting: a practical CGI guide

Softness depends on the light's size as seen from the subject.

CGIBy Semen Klenov26 November 2026

CG Lighting: a practical CGI guide

The physics of light is the same in a studio and in software. In CG, however, you can place a light inside a bottle, make a softbox as large as a house, and even switch off the inverse-square law. That freedom produces either excellent product images or incoherent ones.

Key points

  • Softness depends on the light’s size as seen from the subject.
  • Light falls with the square of distance: twice as far = one quarter of the light.
  • Real values: direct sun up to 100,000 lux; office 300–500 lux; living room 50–150 lux.
  • Color temperature: candle ≈ 1,900 K, tungsten 2,700–3,200 K, daylight 5,500–6,500 K, shade 7,000–10,000 K.
  • Metal and glass are lit by designing what they reflect.

Light Types and What They Mimic

  • Point light: An idealized dot: hard shadows, no real-world equivalent. Rarely right for products.
  • Spot light: A cone with falloff: stage and accent light.
  • Area light (rectangle, disk, sphere): The CG softbox. Its size and distance decide softness.
  • Sun / distant light: Parallel rays, hard shadows; the angular size of the sun sets shadow softness.
  • Environment / HDRI: Light from a panoramic image: a full world of light at once. Good for realism and reflections.
  • Mesh / emissive light: Any geometry can emit. Useful for odd shapes (a neon tube, a ring light).
  • Rule: Prefer area lights and HDRIs; use point lights only when a tiny hard source is physically right.

Softness, Distance and Size

  • Softness is relative size: A light’s softness depends on its size as seen from the subject, not its absolute size. A 1 m softbox close to a bottle is soft; the same softbox 10 m away is a hard source.
  • Falloff: Brightness falls with the square of distance for small sources; large area lights close to the subject fall off more gradually. Move the light to change the gradient across an object.
  • Intensity units: Use physically meaningful units (watts, lumens, nits, or exposure in stops) and keep them consistent; adjust exposure on the camera, not the light, where possible.
  • Color temperature: Set lights in kelvin and white-balance the camera, rather than tinting by eye.

Real-World Light Values

To light a CG scene like the real world, start from real numbers. The values below are typical; real light changes with hour, weather and place.

SituationIlluminanceColor temperature
Direct sun32,000–100,000 lux5,000–5,800 K
Overcast sky1,000–10,000 lux6,500–7,500 K
Shade under blue sky10,000–25,000 lux7,000–10,000 K
Sunrise, sunsetabout 400 lux2,000–3,000 K
Office300–500 lux3,000–5,000 K
Living room at night50–150 lux2,700–3,000 K
Candle at 1 mabout 1 luxabout 1,900 K
Full moon0.05–0.3 lux—
  • Four units, four questions: lumen (lm): how much light a source emits in total; candela (cd): how strong it is in one direction; lux (lx): how much light arrives on a surface (1 lux = 1 lumen per m²); nit (cd/m²): how bright a surface or a screen looks.
  • Inverse-square law: illuminance = intensity ÷ distance². A 100 cd lamp gives 100 lux at 1 m, 25 lux at 2 m and 11 lux at 3 m.
  • Bulbs: a 60 W incandescent bulb gives about 800 lm; an LED with the same light uses about 8–10 W. In software, “watts” usually mean emitted light power, not the number on the bulb box.
  • Screens: SDR reference white is 100 nits; HDR graphics white is about 203 nits; HDR highlights reach 1,000 nits and more.
  • Dynamic range: A sunny scene can span more than 20 stops from the sun to deep shadow; a camera records about 12–15 stops in one exposure. That is why HDRIs are shot in brackets.

Studio Product Light

  • Key: The main softbox. Defines the main highlight and shadow direction.
  • Fill: A reflector card or low-power light to lift shadows; check the ratio between key and fill.
  • Rim / edge lights: Strip softboxes behind and beside the product to outline the silhouette against the background.
  • Top light: An overhead panel gives a broad highlight on top surfaces and a clean gradient.
  • Backgrounds: A seamless sweep or gradient; a separate light for the background controls separation.
  • Flags and negative fill: Black cards remove light and add contrast; essential for dark glass and defining edges.
  • Practical approach: Start with one light, add the second only for a reason you can name.

Lighting Glass and Metal

  • Glass is invisible without edges. Light it so its outline is defined:
    • Bright field: A bright background behind glass; edges appear dark. Good for clean, airy images.
    • Dark field: A dark background; edges are defined by thin bright strips of light beside the glass. Premium, dramatic look.
  • Liquid glow: A soft light behind or below a bottle makes the liquid glow.
  • Metal is a mirror of its surroundings. To “light” metal you design what it reflects: large gradients, stripes, white cards and black flags placed where the reflection will fall. A uniform white environment gives flat metal.
  • Highlight placement: Place the reflected light shape where the form turns, not on flat areas.
  • Rule: In CG you can add a light that exists only in reflections (invisible to the camera) — and every real photographer would wish for it.

HDRI Lighting

  • Image-based lighting: A panoramic HDR image surrounds the scene; each pixel is a light source.
  • Studio HDRIs: Photographed or generated softbox layouts: fast and realistic for products.
  • Outdoor HDRIs: Real skies; the sun in the image sets the shadow.
  • Editing an HDRI: Add a bright strip, remove an unwanted light, rotate it, blur parts, or paint a custom reflection.
  • Limits: An HDRI has no depth; it lights from infinity. Objects very close to it show the wrong parallax. Combine with area lights for control.
  • Exposure and white point: Check the HDRI at its stated exposure; adjust the exposure, not the contrast, first.

Light Linking and Control

  • Light linking: Make a light illuminate only chosen objects, or exclude objects from a light. Useful for isolating an edge light or removing a spill.
  • Shadow linking: Choose which objects cast shadows from which light.
  • Light groups: Render each light to its own pass and balance them in compositing without re-rendering.
  • Cheats: Physically wrong tricks are fine if the image reads right — and they do not break the viewer’s eye. But learn the correct way first, then bend it.

In the tools

  • Blender: Light objects (Point, Sun, Spot, Area), World nodes for HDRI, Object Properties → Shading → Light Linking, Shadow Linking, Light Groups in View Layer, Ray Visibility to hide a light from the camera but keep it in reflections.
  • Unreal Engine 5: Directional Light intensity is in lux, Point, Spot and Rect lights in candela (or lumens); with real values, set the exposure by hand (Post Process Volume → Exposure → Metering Mode: Manual) as on a real camera.
  • Pro tip: Build a reusable studio light rig (HDA or asset) with sliders for key angle, size, fill ratio, rim strength, background.

Common mistakes

  • Point lights for products.
  • One huge white HDRI for everything: flat metal, no edges on glass.
  • Brightness changed on lights instead of exposure, with no record.
  • No flags: no contrast.
  • Lighting in the viewport instead of in the final renderer.