Magic Lighting


Influence environmental reflections. Receive lighting that accounts for their surroundings and nearby geometry. ... Seamless URP Integration ... Compatible with standard URP Lit materials.


by Eugene B


Price History +

Advanced precomputed dynamic GI for Unity URP. Real-time lighting changes, dynamic object interactions, reflections and adaptive Irradiance Volumes — without runtime GI recalculation.

Requirements

  • Unity 6 (6000.0 or later)
  • Universal Render Pipeline with Render Graph
  • A GPU with support for compute shaders

Forum Thread | E-Mail | Telegram Group - Magic Tools | Discord Server - Magic Tools


Do not use the plugin review submission form as a bug report submission form. Instead, use any of the specified communication channels. In most cases, the developer responds within a few minutes.


Precomputed Dynamic Global Illumination for Unity URP


Bring your baked lighting to life.

Magic Lighting is an advanced precomputed dynamic global illumination system for Unity 6 and URP. It uses high-precision directional indirect lighting stored in adaptive Irradiance Volumes to deliver realistic lighting interactions between static and dynamic objects.

Bake your scene lighting in the Editor, then let your scene respond dynamically to changes in light sources, moving objects, and lighting conditions — without runtime GI recalculation.


High-Precision Directional Indirect Lighting

Unlike traditional Light Probes that rely on compact spherical harmonics, Magic Lighting uses Octahedral Maps to preserve detailed directional information about incoming indirect light.

This provides more accurate lighting, better representation of complex light distribution, and more convincing indirect illumination. For projects where memory efficiency is a priority, an alternative SH L2 mode is also available.


Live Indirect Lighting

Change the color, intensity, temperature, or state of baked light sources at runtime without rebaking the scene.

Magic Lighting uses separately baked Light Layers to reproduce how individual light sources contribute to indirect illumination. For moving light sources, multiple baked positions can be prepared and smoothly interpolated at runtime.


Magic Occluder — Dynamic Object Lighting Interaction

Dynamic objects do more than simply receive lighting from the environment. They interact with the precomputed lighting data, influencing both static and other dynamic objects.

Magic Occluder enables dynamic objects to:

  • Cast shadows onto surrounding geometry and other dynamic objects.
  • Contribute color bleeding and indirect lighting based on their materials.
  • Influence environmental reflections.
  • Receive lighting that accounts for their surroundings and nearby geometry.

This creates convincing lighting interactions between moving objects and the precomputed environment, without requiring runtime global illumination calculations.


Adaptive Irradiance Volumes

Magic Lighting automatically adapts lighting data density to scene complexity.

Higher detail is allocated near walls, corners, furniture, and complex geometry, while open areas use fewer samples. This helps balance lighting quality and memory consumption.

Volumes can be combined, nested, rotated, moved, and placed inside prefabs, making it possible to build reusable lighting setups for everything from individual rooms to large environments.


Streaming and Memory Management

Irradiance Volume data is stored separately from scene objects and supports streaming.

Configurable memory budgets help control RAM and VRAM usage, while volume loading can be managed around the camera position. This makes the system suitable for large environments and scenes with multiple lighting volumes.


Seamless URP Integration

Magic Lighting is designed to work with Unity's Universal Render Pipeline.

  • Compatible with standard URP Lit materials.
  • Supports Forward, Forward+, Deferred, and Deferred+ rendering paths.
  • Custom Shader Graph materials can use the dedicated ML Indirect Sub Graph.
  • Can be used alongside existing baked Lightmaps, including for lighting dynamic objects in traditionally lightmapped scenes.

Automatic Unity Light Probe Placement

Magic Lighting also includes a dedicated tool for automatic placement of standard Unity Light Probes.

It analyzes scene geometry and distributes probes with adaptive density, placing more probes near complex geometry and fewer in open areas.


Built for Production

  • No runtime GI recalculation.
  • Adaptive lighting data density.
  • Multiple volumes and reusable prefab lighting setups.
  • Configurable memory budgets and streaming.
  • Support for both Octahedral Maps and SH L2.
  • Integration with existing URP lighting workflows.