UDN
Search public documentation:
DominantLights
日本語訳
中国翻译
한국어
Licensees can log in.
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
中国翻译
한국어
Licensees can log in.
Red links require licensee log in.
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
UE3 Home > Lighting & Shadows > Dominant Lights
UE3 Home > Level Designer > Dominant Lights
UE3 Home > Lighting Artist > Dominant Lights
UE3 Home > Level Designer > Dominant Lights
UE3 Home > Lighting Artist > Dominant Lights
Dominant Lights
Document Changelog: Created by Daniel Wright.
Overview
Versions
Relevant TechBlog entries
Light Types
Dominant lights affecting the static environment
- It allows dynamic shadowing to affect only the dominant light. Lights put into the lightmap cannot be shadowed this way and can only be affected with Modulated Shadows instead.
- It allows specialized storage of the direct shadows from the dominant light. Direct shadows are where the most high frequency lighting information is, and can be stored at a higher resolution than the rest of the lighting. We can also use a different representation for the shadow data, all dominant light types currently use DistanceFieldShadows.
- Only the shadow of the dominant light is precomputed, so the rest of the light's influence is dynamic. Specular from dominant lights looks just like specular from dynamic lights, instead of the lightmap specular used by lights that get put into the lightmap. Gradients created by the light's attenuation are not affected by lightmap compression.
Dominant lights affecting light environments
This scene shows a dominant directional light with distance field shadows on the static environment, casting dynamic preshadows on the character which is using a light environment, and the character's normal shadows blending in with the precomputed shadows on the world.
Performance impact
See DominantLightsXenon for Xbox 360 specific performance information.
Limitations
Dominant light errors
- A map check error "Maps have multiple dominant lights affecting one primitive, these will show up red in lighting complexity and render incorrectly on consoles."
- A lighting result error for each primitive saying "Object is affected by multiple dominant lights, each primitive can only be affected by one dominant light at most." Clicking Goto will take you to the offending primitive.
- In the Light Complexity viewmode, primitives with only one dynamic/dominant light will show up green. Primitives affected by two dominant lights will show up red as seen below, where the red floor is affected by both a dominant directional light and the selected dominant point light.
