?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
1. 啟用擴展亮度范圍
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
2. 配置后期處理體積
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
3. 確保后處理體積影響整個場景
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
4. 使用 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
5. 考慮預曝光設置
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