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.

Feedback

Feel free to contact me at decal_portal459@simplelogin.com if you run into any issues or have any feature requests.

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.

支持的LightComponents:

支持点灯,聚光灯,直射灯和直射灯,具有 固定或可移动的机动性.

静止的灯光 支持烘焙阴影 在使用此插件时。

LightComponents通过其名称和 必须与VideoAmbientLightComponent为同一Actor的一部分。

材料兼容性:

最简单的材质只包含MediaPlayer的MediaTexture,连接到未点亮材质的自发光颜色输出。

插件根据 自发光颜色输出 分配的资源材料。 这允许在确定输出颜色时考虑在材质中添加的任何效果。

工作表现

该解决方案的性能成本通常较小且可扩展,因此适用于具有严格性能约束的游戏。 该插件还构建为支持DetailMode系统,因此如果您的项目支持不同的图形质量设置,则可以在低设置下完全禁用环境照明。

反馈意见

请随时与我联络,电话: decal_portal459@simplelogin.com 如果您遇到任何问题或有任何功能请求。

代码模块:

  •  VideoAmbientLighting(Runtime)-提供可在任何Actor或蓝图中使用的VideoAmbientRectLight Actor和VideoAmbientLight组件,并处理来自视频的颜色采样并与连接的LightComponents通信。
  •  VideoAmbientLightingEditor(Editor)-支持在编辑器中呈现新类的模块。










• 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

Watch Introduction Video

Watch Showcase Video

How to use

  1. Place a “Video Ambient Rect Light” from the “Place Actor” editor panel under the “Lights” tab
  2. Assign the Media Texture from your Media Player to the “Source Media Texture” input (if you don’t have a Media Player yet, follow this official tutorial to set that up)
  3. Press Play!

Alternative setup for lower platforms

  1. Add a “Video Ambient Light” component and any number of lights to an Actor or Blueprint (if you followed the tutorial linked above, this would be the plane you created in step 10)
  2. Configure lighting functionality by enabling the desired features in the details panel, typing in the names of lights the plugin should connect to (they have to be part of same Actor or Blueprint), and assigning the video material to “Source Material” (if you followed the tutorial, the video material is created in step 11)
  3. Press Play!

Connected lights will pick up the colors of the video when you press play.

Make sure to read the tooltips on all of the properties in the details panel!

•从视频生成动态照明

*支持带有固定光源的烘焙阴影

*高效实施

•可随游戏和建筑可视化项目一起发货

•易于与现有媒体内容连接

观看介绍短片

观看展览短片

如何使用

  1. 从”灯光”选项卡下的”放置Actor”编辑器面板中放置一个”Video Ambient Rect Light
  2. 将媒体播放器中的媒体纹理分配给”源媒体纹理”输入(如果您还没有媒体播放器,请按照 本官方教程 设置)
  3. 按播放!

较低平台的替代设置

  1. 向Actor或蓝图添加一个”视频环境光”组件和任意数量的光源(如果您遵循上面链接的教程,这将是您在步骤10中创建的平面)
  2. 通过在细节面板中启用所需的特性来配置照明功能,输入插件应该连接到的灯的名称(它们必须是 同一Actor或蓝图的一部分),并将视频材料分配给”源材料”(如果您遵循教程,则在步骤11中创建视频材料)
  3. 按播放!

连接的灯光将拾取视频的颜色 当你按下播放.

请务必阅读详细信息面板中所有属性的工具提示!

声明:本站所有资源都是由站长从网络上收集而来,如若本站内容侵犯了原著者的合法权益,可联系站长删除。