Figure: Diagnostic workflow: Mixed-light configuration → Bake and probe data → Combine with realtime shadows
Figure: Diagnostic workflow: Mixed-light configuration → Bake and probe data → Combine with realtime shadows

Cause and mechanism

Mixed Lighting combines baked lighting, calculated and saved in advance, with real-time lighting. For light leaks, inspect the bake, light mode, receiving settings, and any custom Shader's mixed-lighting implementation separately. Adding a special Shadowmask Renderer Feature is not a general required fix.

Check and correct the setup

  1. Check the current mixed-lighting mode and version support.
    Light, occluder and receiving surface
    Light, occluder and receiving surface
  2. Rebake after changing modes; inspect GI, lightmaps, and probes.
    Light, occluder and receiving surface
    Light, occluder and receiving surface
  3. Compare with URP Lit and ensure custom shaders do not blindly multiply baked and realtime shadows twice.
    Light, occluder and receiving surface
    Light, occluder and receiving surface

Limits and verification

Light leaks can also involve bias, geometry, UVs, and bake resolution; switching modes is not a universal fix.

A focused diagnostic setup

Use one mixed light, a static wall and a dynamic cube. Rebake after mode changes to avoid stale lighting data.

Test in this order

  1. Record the mode, GI contribution and lightmap/probe reception.
    Light, occluder and receiving surface
    Light, occluder and receiving surface
  2. Compare standard URP Lit with custom shading for double-darkening.
    Light, occluder and receiving surface
    Light, occluder and receiving surface
  3. Separate realtime shadows from baked illumination and inspect geometry/UVs.
    Light, occluder and receiving surface
    Light, occluder and receiving surface

Interpret the result

Standard-material improvement suggests shader integration; static-only differences suggest baking; dynamic-only differences suggest probe reception. Shadowmask is not a universal leak fix.

Related explanations

References