In Unreal Engine 5 (UE5), discrepancies in lighting between the editor and play modes are often due to auto exposure settings, particularly when using the EV100 system. To maintain consistent lighting across both modes, follow these steps:YouTube+1Epic Developer Community Forums+1
在虚幻引擎 5(UE5)中,编辑器和播放模式之间的光照差异通常是由于自动曝光设置,特别是在使用 EV100 系统时。要确保两种模式下的光照一致,请按照以下步骤操作:YouTube+1Epic 开发者社区论坛+1
1. Enable Extended Luminance Range
- 启用扩展亮度范围
Ensure that the "Extend default luminance range in Auto Exposure settings" option is enabled:Epic Developer Community Forums+380 Level+3Epic Games Developer+3
确保在自动曝光设置中启用了"扩展默认亮度范围"选项:Epic 开发者社区论坛+380 Level+3Epic Games 开发者+3
-
Navigate to Project Settings > Engine > Rendering > Default Settings .
导航到项目设置 > 引擎 > 渲染 > 默认设置。
-
Check the box for Extend default luminance range in Auto Exposure settings .Unity Discussions+480 Level+4Epic Games Developer+4YouTube+11Epic Games Developer+1180 Level+11
在自动曝光设置中勾选"扩展默认亮度范围"。Unity 讨论区+480 级别+4Epic Games 开发者+4YouTube+11Epic Games 开发者+1180 级别+11
This setting allows for more accurate exposure adjustments using EV100 values.
此设置允许使用 EV100 值进行更准确的曝光调整。
2. Configure Post Process Volume
- 配置后期处理体积
Adjust the Post Process Volume to control exposure settings:Epic Developer Community Forums+5Epic Games Developer+5Epic Games Developer+5
调整后期处理体积以控制曝光设置:Epic 开发者社区论坛+5Epic Games 开发者+5Epic Games 开发者+5
-
Place a Post Process Volume in your scene.
在场景中放置一个后期处理体积。
-
In the volume's details, under the Exposure section:
-
Set Metering Mode to Auto Exposure Histogram .
将测光模式设置为自动曝光直方图。
-
Enable Min EV100 and Max EV100.
-
To disable auto exposure and maintain consistent lighting, set both Min EV100 and Max EV100 to the same value, such as 10. 80 Level+5Reddit+5Epic Developer Community Forums+5
要禁用自动曝光并保持一致的光照,请将 Min EV100 和 Max EV100 设置为相同的值,例如 10.80 Level+5Reddit+5Epic Developer Community Forums+5
-
This configuration prevents the camera from adjusting exposure dynamically, ensuring uniform lighting.
此配置可防止相机动态调整曝光,确保光照均匀。
3. Ensure the Post Process Volume Affects the Entire Scene
- 确保后处理体积影响整个场景
To make sure the Post Process Volume settings apply throughout your scene:
要确保后处理体积设置应用于整个场景:
-
In the Post Process Volume's details, check the Infinite Extent (Unbound) option.Epic Developer Community Forums+6Epic Developer Community Forums+6Epic Games Developer+6
在 Post Process Volume 的详细信息中,勾选 Infinite Extent (Unbound)选项。Epic Developer Community Forums+6Epic Developer Community Forums+6Epic Games Developer+6
This ensures that the volume's settings are applied globally, affecting both the editor and play modes. Epic Developer Community Forums
这确保了卷的设置被全局应用,影响编辑器和播放模式。Epic Developer Community Forums
4. Adjust Exposure Using HDR Visualization
- 使用 HDR 可视化调整曝光
For precise exposure control:
为了精确控制曝光:Epic Games Developer+2Epic Games Developer+2Epic Developer Community Forums+2
为了精确控制曝光:Epic Games Developer+2Epic Games Developer+2Epic Developer Community Forums+2
-
In the viewport, go to Show > Visualize > HDR (Eye Adaptation) .
在视口中,转到显示 > 可视化 > HDR(眼适应)。
-
Observe the EV100 value displayed.
观察显示的 EV100 值。
-
Use this value to set both Min EV100 and Max EV100 in your Post Process Volume for consistent exposure. YouTube+3Reddit+3Epic Games Developer+3
使用此值设置 Post Process Volume 中的最小 EV100 和最大 EV100,以实现一致的曝光。YouTube+Reddit+Epic Games 开发者+
5. Consider Pre-Exposure Settings
- 考虑预曝光设置
Pre-exposure can influence how lighting is rendered:Epic Games Developer+1Epic Games Developer+1
预曝光会影响光照的渲染方式:Epic Games 开发者+1Epic Games 开发者+1
-
In Project Settings > Engine > Rendering > Default Settings , locate Apply Pre-exposure before writing to the scene color .
在项目设置 > 引擎 > 渲染 > 默认设置中,找到在写入场景颜色之前应用预曝光的选项。
-
Toggle this setting to see if it affects lighting consistency in your project. 80 Level+2Epic Games Developer+2Epic Games Developer+2
切换此设置,看看它是否会影响您项目中的光照一致性。80 级+2Epic Games 开发者+2Epic Games 开发者+2