Difference between revisions of "Engine:Unreal Engine 5"
(Merge UE4 and UE5 HDR details, and add some UE5 specific quirks) |
|||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
Unreal Engine 4 has had native HDR output support since version 4.14 and it can be forced in many games that don't officially support it with mixed results. | Unreal Engine 4 has had native HDR output support since version 4.14 and it can be forced in many games that don't officially support it with mixed results. | ||
− | Until 5.1, HDR in DirectX 12 was broken out of the box,{{cn}} requiring the use of <code>-dx11</code> launch argument to run games in DirectX 11 | + | Until 5.1, HDR in DirectX 12 was broken out of the box,{{cn}} requiring the use of <code>-dx11</code> launch argument to run games in DirectX 11{{Note|name=dx11|Running a game in D3D11 may not be officially supported and may experience additional unexpected issues unrelated to HDR.}}.<br>Depending on the version of the engine or the way it renders UI, the UI might use the wrong gamma and look washed out. Additionally, some color correction features of the SDR tonemapper are skipped in HDR, like parts of the filmic grading (which isn't necessary, nor generally wanted in HDR) and color correction LUTs. |
+ | |||
+ | Some games don't acknowledge user config changes, for these it's sometimes possible to force HDR by runtime memory editing. | ||
{{Fixbox|description=Force the built-in HDR display output of the engine:|fix= | {{Fixbox|description=Force the built-in HDR display output of the engine:|fix= | ||
Line 40: | Line 42: | ||
</pre> | </pre> | ||
</li> | </li> | ||
− | <li>If DirectX 11 must be forced for HDR output to work, launch the game using the <code>-dx11</code> [[Glossary:Command line arguments|command line argument]].{{Note|name=dx11}}</li> | + | <li>If DirectX 11 must be forced for HDR output to work (e.g. UE 5.0), launch the game using the <code>-dx11</code> [[Glossary:Command line arguments|command line argument]].{{Note|name=dx11}}</li> |
<li>The game should now launch with HDR display output enabled and working.</li> | <li>The game should now launch with HDR display output enabled and working.</li> | ||
− | |||
</ol> | </ol> | ||
Latest revision as of 18:39, 24 April 2024
Developers | |
---|---|
Epic Games | |
Website | |
https://www.unrealengine.com/ | |
First release date | |
2021 | |
Predecessor | |
Unreal Engine 4 | |
Key points
- Most information and methods from the Unreal Engine 4 page are still mostly compatible with Unreal Engine 5.
Video
High dynamic range (HDR)
For a list of known games and their specifics, see Unreal Engine 4-5 games where HDR can be forced.
Unreal Engine 4 has had native HDR output support since version 4.14 and it can be forced in many games that don't officially support it with mixed results.
Until 5.1, HDR in DirectX 12 was broken out of the box,[citation needed] requiring the use of -dx11
launch argument to run games in DirectX 11[Note 1].
Depending on the version of the engine or the way it renders UI, the UI might use the wrong gamma and look washed out. Additionally, some color correction features of the SDR tonemapper are skipped in HDR, like parts of the filmic grading (which isn't necessary, nor generally wanted in HDR) and color correction LUTs.
Some games don't acknowledge user config changes, for these it's sometimes possible to force HDR by runtime memory editing.
Force the built-in HDR display output of the engine: |
---|
Engine.ini or GameUserSettings.ini to include the following lines or enforce the variables via UE4SS:
[SystemSettings] r.AllowHDR=1 r.HDR.EnableHDROutput=1 r.HDR.Display.OutputDevice=5 r.HDR.Display.ColorGamut=2 Recommended changes (optional): r.HDR.UI.CompositeMode=1 r.HDR.UI.Level=1.5 Notes
|
Other information
Unreal Engine 4/5 Scripting System
- UE4SS is a scripting system for UE4/UE5. Includes a console enabler script by default.
- While UE4SS has a high compatibility with most UE titles, certain games may also have customized the engine enough for UE4SS to no longer be compatible. Titles not supported by UE4SS may have support added by the UE4SS community, searching the GitHub Issues page may help to find UE4SS configs for unsupported games.
Installation[1] |
---|
Notes
|
Enable developer console
- The developer console allows real-time adjustments through various Unreal Engine 4 console variables, along with being able to run debug commands like ToggleDebugCamera that enables a flycam mode. Most games ship with the console disabled, although often retains code related to it that allows for its reactivation through third-party DLL injection.
- Independent of custom game code - potential for reliability.
Enable console with a UE4SS script[1] |
---|
|
Permanent console variable (cvar) changes
- Global list of all console variables available here.
- Like most engines that use console variables, Unreal Engine 5 has a config file that the variables' values are read from at startup.
- Unlike in most engines, the method it uses may not be obvious. Editing files such as
Scalability.ini
could result in entered values being ignored depending on the graphics settings. - Entering cvars into
Engine.ini
instead should ensure the value changes will take place.
Add cvar name/values to Engine.ini
|
---|
Notes
|
Force console variables via a UE4SS script[1] |
---|
|
Modding tools
- Customized versions of the Unreal Editor for creating custom maps and mods for select UE5 games can be found on the Epic Games Store.
Games
See the list of games that use Unreal Engine 5.
Notes
References
- ↑ 1.0 1.1 1.2 Verified by User:Sandemc on 2024-03-11