
- Версия Unreal Engine
- 5.6
• Generates Dynamic Lighting from Videos
• Supports Baked Shadows with Stationary Lights
• Highly performant implementation
• Can be shipped with Game & Architectural Visualization Projects
• Easy to connect with existing Media content
Technical Details
Supported LightComponents:PointLights, SpotLights, RectLights and DirectionalLights are supported, with Stationary or Movable mobility.
Stationary lights still support baked shadows while working with this plugin.
The LightComponents are identified by their name and must be part of the same Actor as the VideoAmbientLightComponent.
Material compatibility:
The simplest possible material would just contain the MediaTexture of your MediaPlayer connected to the emissive color output of an unlit material.
The plugin calculates the light colors based on the emissive color output of the assigned SourceMaterial. This allows for any effects added in the material to be taken into account for determining the output colors.
Performance
The performance cost of this solution is generally small and scalable so it is suitable for games with tight performance constraints. The plugin is also built to support the DetailMode system, so if your project supports different graphics quality settings, you could disable the ambient lighting completely on low settings.
Code Modules:
- VideoAmbientLighting (Runtime) - Provides the VideoAmbientRectLight Actor and the VideoAmbientLight Component that can be used in any Actor or Blueprint and handles sampling of colors from video and communicating with connected LightComponents.
- VideoAmbientLightingEditor (Editor) - Module to support the presentation of the new classes in the editor.