Published on

Mastering Eevee Lighting in Blender: A Comprehensive Guide

Authors
  • avatar
    Name
    Sparrow Hawk
    Twitter

Introduction to Eevee Lighting

Blender's Eevee is a real-time render engine that has revolutionized the way artists approach 3D visualization. Unlike Cycles, which is a path-tracing engine focused on physical accuracy (often at the cost of render time), Eevee prioritizes speed, allowing for near-instantaneous feedback. This makes it ideal for look development, animation previews, and even final renders where speed is critical.

A key component of achieving believable and visually appealing scenes in Eevee is understanding its lighting system. Eevee uses a combination of direct light sources and baked indirect lighting (via light probes) to create convincing illumination. It's important to note that Eevee is not an add-on; it's a core part of Blender, selectable as your render engine in the Render Properties panel.

This guide will walk you through the essential aspects of lighting in Eevee, from basic light objects to the more advanced concepts of Light Probes.

Core Light Objects in Eevee

Eevee supports several types of light objects, each with its own characteristics and use cases. You can add these to your scene via Add > Light.

  • Point Light: Emits light in all directions from a single point. Useful for omnidirectional sources like light bulbs or candles. Key settings include Power, Radius (softness), and Shadow options.
  • Sun Light: Simulates a very distant light source, like the sun. Its rays are parallel, and its position in the scene doesn't matter, only its rotation. Key settings are Strength, Angle (softness of shadows), and shadow cascade options for large scenes.
  • Spot Light: Emits a cone of light from a point in a specific direction. Ideal for flashlights, headlights, or stage lighting. Parameters include Power, Radius, Spot Size (cone angle), and Blend (softness of the cone edge).
  • Area Light: Emits light from a surface (rectangle, square, disk, or ellipse). Great for soft, diffuse lighting like softboxes, windows, or emissive screens. Power, Size, and Shape are important parameters. Area lights provide softer shadows than point or spotlights.

Common Light Settings

Most Eevee lights share common settings found in the Object Data Properties tab when a light is selected:

  • Power/Strength: Controls the intensity of the light.
  • Color: Sets the color of the emitted light.
  • Specular: Affects the intensity of specular highlights produced by this light.
  • Radius/Size/Angle: These parameters (depending on the light type) control the softness of the light and its shadows. Larger values generally produce softer shadows.
  • Shadows: Eevee can render shadows for most light types. Key shadow settings include:
    • Contact Shadows: Adds fine detail shadows based on screen-space information, useful for small gaps and contact points.
    • Cascade Shadow Maps (Sun Light): Divides the scene into several cascades to improve shadow quality over large distances.
    • Bias: Helps prevent shadow acne (self-shadowing artifacts) but can cause "peter-panning" (shadows appearing disconnected from objects) if set too high.
  • Custom Distance: Allows you to limit the influence of a light to a specific range.

Achieving Realism with Light Probes

While direct lights illuminate surfaces, true realism comes from how light bounces and interacts with the environment. Eevee uses Light Probes to capture and simulate this indirect lighting. You must bake the lighting for probes to see their effect. Baking can be initiated from the Render Properties panel under "Indirect Lighting".

There are three main types of Light Probes in Eevee:

1. Reflection Cubemap Probes

  • Purpose: Captures an omnidirectional (360-degree) view of the scene from its position. This captured image (cubemap) is then used to generate reflections on glossy and metallic surfaces within its influence.
  • How it works: Imagine a camera at the probe's location taking a panoramic photo. This photo is mapped onto reflective objects.
  • Usage: Place them strategically where reflections are important. For example, in the center of a room or near highly reflective objects.
  • Key Settings:
    • Influence Distance/Shape: Defines the area affected by the probe.
    • Clipping Start/End: Controls the near and far clipping planes for the cubemap render.

2. Reflection Plane Probes

  • Purpose: Specifically designed to create accurate reflections on flat, mirror-like surfaces (e.g., floors, calm water, mirrors).
  • How it works: Captures the scene from a planar perspective, essentially creating a perfect mirror reflection for surfaces aligned with or near its plane.
  • Usage: Align them closely with the flat reflective surface. For a floor, the probe's Z-axis should point upwards.
  • Key Settings:
    • Influence Distance: How far the reflection effect extends.
    • Falloff: How quickly the reflection fades at the edges of its influence.

3. Irradiance Volume Probes

  • Purpose: Captures the diffuse indirect lighting (global illumination) within a volume. This is crucial for realistic bounced light and color bleeding, making scenes feel more grounded and natural.
  • How it works: An Irradiance Volume creates a grid of internal sample points. At each point, it bakes the incoming diffuse light from all directions. When an object is inside this volume, Eevee interpolates the lighting from these baked points to determine how it should be lit by indirect light.
  • Usage: Enclose areas where indirect lighting is significant, like rooms or outdoor areas where light bounces off multiple surfaces.
  • Key Settings:
    • Resolution (X, Y, Z): Determines the density of the internal grid of sample points. Higher resolution means more accurate indirect lighting but longer bake times and more memory usage.
    • Intensity: A multiplier for the baked indirect light.
    • Bake Settings (in Render Properties > Indirect Lighting):
      • Diffuse Occlusion: Bakes ambient occlusion into the probes.
      • Diffuse Bounces: Number of light bounces to simulate for indirect lighting.
    • Probe Properties (Object Data):
      • Normal Bias, View Bias, Facing Bias: Help reduce light bleeding artifacts.
      • Validity Threshold, Dilation Threshold: Used to discard or fix bad sample points, especially those inside or too close to geometry.
      • Capture Distance: How far around the volume to consider objects during baking.
      • Clamping (Direct/Indirect Light): Limits the maximum brightness of light recorded by the probes, which can help manage fireflies or overly bright spots.

Workflow for Eevee Lighting

  1. Basic Scene Setup: Model your scene and apply basic materials.
  2. Add Direct Lights: Place and configure your Point, Sun, Spot, and Area lights to establish the primary lighting.
  3. Add Reflection Probes:
    • Place Reflection Cubemaps in areas needing general reflections.
    • Add Reflection Planes for flat, mirror-like surfaces.
  4. Add Irradiance Volumes: Enclose your scene or parts of it with Irradiance Volumes to capture bounced light. Adjust their resolution based on the detail needed.
  5. Bake Indirect Lighting: Go to Render Properties > Indirect Lighting and click "Bake Indirect Lighting". This will bake all light probes in the scene.
  6. Iterate and Refine: Observe the results. You may need to:
    • Adjust light positions, intensities, colors, or shadow settings.
    • Move or add/remove light probes.
    • Change probe settings (e.g., resolution, influence, bias).
    • Re-bake indirect lighting after making changes to probes or objects/materials that significantly affect indirect light.

Performance Considerations

  • Shadows: Complex shadows, especially from many lights or high-resolution shadow maps, can be performance-intensive. Use them judiciously.
  • Light Probes: While the baked result is fast, high-resolution probes (especially Irradiance Volumes) consume memory and increase baking time.
  • Screen Space Effects: Eevee relies heavily on screen-space effects (like Screen Space Reflections and Ambient Occlusion). These are found in the Render Properties panel. They offer great results but can have a performance impact. Enable/disable and tweak them to balance quality and speed.

Conclusion

Eevee's lighting system provides a powerful and flexible toolkit for creating beautifully lit scenes in real-time. By understanding how to use direct light sources effectively and harnessing the power of Reflection Cubemaps, Reflection Planes, and Irradiance Volumes, you can achieve stunning results that rival offline renderers but with significantly faster iteration times. Experiment with the settings, bake often, and watch your Blender scenes come to life!