Commit Graph

1900 Commits

Author SHA1 Message Date
daniel wright
cefd739201 Lumen Front Layer Translucency Reflections - provides mirror reflections on translucent surfaces
* When enabled, translucent surfaces are rasterized again to create a minimal translucency GBuffer, using depth writes and tests to only capture the frontmost layer
 * Lumen Reflections are run on the translucency GBuffer, without denoising to reduce overhead (forced to mirror)
 * Finally the translucent base pass depth-tests against the frontmost layer depth and applies the high quality reflections.  Subsequent layers continue to use the Radiance Cache based reflections.
 * Disabled by default due the constant overheads when any translucent surface is on-screen
 * New Post Process Volume and Project setting to enable

#ROBOMERGE-AUTHOR: daniel.wright
#ROBOMERGE-SOURCE: CL 19387917 via CL 19387985
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19391295 by daniel wright in ue5-main branch]
2022-03-15 15:08:58 -04:00
Josie Yang
f8cc29c587 Implement GPUSkinCache debug visualization modes
*) 'Overview' shows skin cache on/off, recompute tangents on/off
*) 'Memory' shows skin cache memory consumption per sk mesh, includes RT if sk mesh uses a separate RT entry
*)  'RayTracingLODOffset` shows RT LOD index offset from raster LOD index

#jira UE-136542
#rb jeremy.moore
#preflight 622bb12b902b7ca699df8755

[CL 19383862 by Josie Yang in ue5-main branch]
2022-03-15 06:49:12 -04:00
christopher waters
d122308b2d Adding Min/Max FeatureLevel configs for Windows D3D11, D3D12 and Vulkan.
This unifies a few Performance Mode settings together and now allows a project to restrict D3D12 to SM6 only.

#rb mihnea.balta, josh.adams
#preflight 622f83adc51b66df4c210b1e

#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 19376538 via CL 19376631
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19378054 by christopher waters in ue5-main branch]
2022-03-14 16:32:20 -04:00
aleksander netzel
0f78ba590d Enable Niagara RayTracingTransforms CS for Vulkan RT: it was only compiled when ray tracing pipelines were available but the shader only prepares transforms for RayTracingScene and can be used for both RT pipeline/inline.
#rb Tiago.Costa
#preflight 622b392b32749f363c7e64fd

[CL 19352900 by aleksander netzel in ue5-main branch]
2022-03-11 07:51:37 -05:00
wei liu
905ec173d6 Device profile change to fix rendering artifacts caused by SkyAtmosphere on PowerVR mobile devices.
#jira UE-145411
#rb Dmitriy.Dyomin
#preflight None
#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: wei.liu
#ROBOMERGE-SOURCE: CL 19335073 in //UE5/Release-5.0/... via CL 19336322
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19348742 by wei liu in ue5-main branch]
2022-03-10 22:26:43 -05:00
josh adams
be5d044fb3 Platform set changes
Improved UX For Device Tree and CVar Conditions
- Clean up Niagara Device Tree
   - new bIsVisibleForAsssets value in device profiles to have them indicate which device profiles should be visible in other assets.
- Improved tooltips and colouring on device tree to better show what is enabled/disabled and why.
- Added tooltips for CVar conditions to text entry and suggestion boxes showing the CVar help text.

PlatformSet Redirect feature =
- Can redirect usage of device profiles to other device profiles or CVar conditions.
- Allows fixup of content referncing legacy device profiles.
- Adding CVar fx.Niagara.LegacyDeviceProfiles to facilitate some legacy DP fixup.

Platforms now specifiy a min & max Niagara Quality Level they support which reduces need for trawling ini files and allows fragments to set quality level.

CVar Conditions now have more control over what occurs when the condition is passed or failed. Previously they could only disable the set when the condition is failed which is now the default.

Misc Fixes
- Preview DP is cleared before restoring CVar states so CVar callbacks have the correct preview DP value.
- Data Driven CVars are now updated correctly when default is modified in project settings.
- Console Manager now has a callback when CVars are unregistered.
- Utility function for calling a functor on all platform sets in a Niagara system.
- Tweaked callbacks for CVar changes so updates are defered and also limited to only refresh things that references changed CVars.


#rb Stu.Mckenna, Josh.Adams
#preflight 6228bc3a1f1ec97d4e89a3c4

#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: simon.tovey
#ROBOMERGE-SOURCE: CL 19321301 via CL 19321315 via CL 19325452 via CL 19327333 via CL 19327341
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19348289 by josh adams in ue5-main branch]
2022-03-10 22:03:54 -05:00
rob krajcarski
650d9ff34f RHI function (and DataDrivenPlatform parameter) for whether shader atomics are supported for volume textures
#rb will.damon
#jira UE-142944
#preflight 6226578fb97fb949cf4f6891

[CL 19309214 by rob krajcarski in ue5-main branch]
2022-03-08 15:04:46 -05:00
Brandon Schaefer
d96e4de996 Default bAgreeToUpload to false
If a game would like to implicitly upload set this to true

#jira none
#rb none
#preflight none
#fyi Rob.Thompson, Michael.Sartain

[CL 19286015 by Brandon Schaefer in ue5-main branch]
2022-03-07 11:46:22 -05:00
jack porter
103bba78b8 Added Android device profiles for Adreno 7xx and Xclipse 920
Support Vulkan by default
Disable Vulkan on Adreno 5xx
#jira UE-142735
#rb Dmitriy.Dyomin
#preflight None

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 19243809 in //UE5/Release-5.0/... via CL 19248218
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19262878 by jack porter in ue5-main branch]
2022-03-04 03:01:21 -05:00
jeannoe morissette
22c35efbdb VulkanRHI: Fix Anisotropy EngineTests.
#preflight none
#rb Brandon.Schaefer

[CL 19252504 by jeannoe morissette in ue5-main branch]
2022-03-03 15:47:33 -05:00
jeannoe morissette
91974a53d3 Raise the minimum required driver versions for UE5.
#preflight 621faa8337049be5172c21f7
#rb Mihnea.Balta
#jira UE-144456
#lockdown Mihnea.Balta

#ROBOMERGE-AUTHOR: jeannoe.morissette
#ROBOMERGE-SOURCE: CL 19240008 in //UE5/Release-5.0/... via CL 19240423
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19240847 by jeannoe morissette in ue5-main branch]
2022-03-03 05:09:08 -05:00
Dan Thompson
809c0f9062 Adding support for writing back metadata to an asset registry during iostore staging. Initially this is size information about the chunks.
#rb matt.peters
#rb carl-magnus.nordin
#preflight 62200571943787f1d2199924

[CL 19234043 by Dan Thompson in ue5-main branch]
2022-03-02 19:22:28 -05:00
jamie dale
f86f2b972a Stage Slate content in cooked editors
#preflight skip
#rb Josh.Adams

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19209497 via CL 19213803 via CL 19216460 via CL 19216631 via CL 19216695
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19225329 by jamie dale in ue5-main branch]
2022-03-02 14:02:03 -05:00
Matt Peters
7a31b406c1 Enable DDC2's BulkDataRegistry by default.
#rb None, Trivial
#rnx
#preflight 621d80a0ca28c55634087383

[CL 19197028 by Matt Peters in ue5-main branch]
2022-03-01 08:06:53 -05:00
zak middleton
ed11d4b885 #ue5 - Kismet Math Library float->double conversion. Where a float function already had a matching double function (eg Add_FloatFloat / Add_DoubleDouble), the old one has been deprecated and redirected to the new one. Where functions only had a float version, the arguments and return types have been changed to double.
Not all functions have been modified to reduce scope, but the intent is to generally improve what is needed to support larger double range without touching some more complex functions at this time.

#jira UE-143457
#rb Andy.Davidson, Dave.Jones
#preflight 62187ab7783beeaf8af81231

#ROBOMERGE-AUTHOR: zak.middleton
#ROBOMERGE-SOURCE: CL 19159126 in //UE5/Release-5.0/... via CL 19159914
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161657 by zak middleton in ue5-main branch]
2022-02-25 19:54:04 -05:00
patrick enfedaque
9ce95bc0fb New Level Dialog: Sort Open World maps first, remove VR & TimeOfDay from BaseEngine.ini
#jira UE-143446	, UE-143448, UE-143722
#rb jeanfrancois.dube
#preflight 6219352c847077002e92f962
#rnx
#lockdown aurel.cordonnier

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 19155298 in //UE5/Release-5.0/... via CL 19159259
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161448 by patrick enfedaque in ue5-main branch]
2022-02-25 19:45:44 -05:00
jeanfrancois dube
9aabdf23c3 World Partition UE5 default experience:
- Added option 'DisableStreaming' in the World Partition convert commandlet to allow disabling streaming for converted maps.
- Added flag 'bEnableStreaming' for partitioned worlds that can be used to disable streaming but keep key features such as OFPA and Data Layers.
- In this mode, the streaming generation acts as standard level streaming and can be enabled at any time by the user.
- This mode is enabled by default for new partitioned maps created from the empty template or the open world template.
- The World Partition convert commandlet will now duplicate the default HLOD layers setup.
- Show a hint in the World Partition window that streaming is disabled.
- When disabling streaming from the UI, show a dialog to warn the user about the implications of the change.
- When enabling streaming for the first time, show a dialog to warn the user that the world is about to be set up for streaming.
- When saving a map, don't duplicate its HLOD setup unless it's a template map.
- Includes changes from MattK: `Allow external object details customizations to hide the root object node`.
- TODO: Convert all template maps from the Games project to use World Partiton with streaming disabled using the new 'DisableStreaming' commandlet option.

#rb patrick.enfedaque, richard.malo
#jira UE-143719
#preflight

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 19149766 in //UE5/Release-5.0/... via CL 19150115
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19160979 by jeanfrancois dube in ue5-main branch]
2022-02-25 19:31:01 -05:00
adam kinge
7dbe29f5d9 Add 12 iPads and 4 new iPhone13s. Also deletes iOS devices that don't support iOS14+
#jira UE-142736
#rb jack.porter
#preflight none

#ROBOMERGE-AUTHOR: adam.kinge
#ROBOMERGE-SOURCE: CL 19138743 in //UE5/Release-5.0/... via CL 19140046
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19155713 by adam kinge in ue5-main branch]
2022-02-25 15:49:08 -05:00
dave jones2
9ddf14f694 UE-141652 - Remove BP native make/break functionality for LWC types
Previously, vector types were using the single precision variants for their make&break functions. As a result, the split vectors would be floats, which led to precision loss. Going forward, we want to ensure that we use double precision variants of these functions. The single precision functions no longer serve any use, and will be deprecated.

Additionally, FVector_NetQuantize and friends can go back to using the default FVector make&break functions. We don't need to deprecate these functions since they only existed in 5.0. However, some content has already been saved with these functions, so we need to still setup redirects in BaseEngine.ini.

Finally, AssertMacros.h was missing several variants of GET_FUNCTION_NAME_CHECKED_NParams. Without these, GET_FUNCTION_NAME_CHECKED would fail to compile since KismetMathLibrary would have overloads of MakeVector and BreakVector.

#jira UE-141652
#preflight 6216b51e647bb7debf6dbf76
#rb phillip.kavan
#lockdown julien.marchand

#ROBOMERGE-AUTHOR: dave.jones2
#ROBOMERGE-SOURCE: CL 19122243 in //UE5/Release-5.0/... via CL 19123441
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19154373 by dave jones2 in ue5-main branch]
2022-02-25 15:13:33 -05:00
krzysztof narkowicz
9d8fa281f6 Lumen - periodically refresh surface cache pages to handle material changes
On consoles adds ~0.1ms overhead on static frames, and ~0.03ms on frames where we already recapture something

#jira none
#preflight 6216aaec22019f882b1d9a40
#lockdown Juan.Canada
#rb Daniel.Wright

#ROBOMERGE-AUTHOR: krzysztof.narkowicz
#ROBOMERGE-SOURCE: CL 19111010 in //UE5/Release-5.0/... via CL 19111084
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19152743 by krzysztof narkowicz in ue5-main branch]
2022-02-25 14:11:32 -05:00
guillaume abadie
fc08fca8ac Updates Medium anti-aliasing scalability with velocity hole filling and rejection filtering
#rb trivial
#jira UE-142318
#preflight trivial

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 19090988 in //UE5/Release-5.0/... via CL 19102530
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19142936 by guillaume abadie in ue5-main branch]
2022-02-25 01:26:01 -05:00
dave jones2
52efea16c3 UE-141180 - Loss of precision with String to Float Real conversion
* Added missing double/string conversion functions, including BuildString.
* Deprecated float versions, and added redirect fixup to use the double versions instead.
* Replaced direct Conv_ usage with LexToString/LexFromString.

#jira UE-141180
#rb andy.davidson
#preflight 620d8d1226435e00d2e5cb18
#lockdown julien.marchand

#ROBOMERGE-AUTHOR: dave.jones2
#ROBOMERGE-SOURCE: CL 19083449 in //UE5/Release-5.0/... via CL 19097714
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19141302 by dave jones2 in ue5-main branch]
2022-02-24 23:51:01 -05:00
daniel wright
bad0843111 Two Sided Foliage shading model is now supported by Lumen, and treated like Subsurface (no separate lighting gather on backface, Subsurface Color added to Diffuse Color)
Fixed artifacts with r.Lumen.ScreenProbeGather.TracingOctahedronResolution 4
 * THREADGROUP_SIZE was less than IRRADIANCE_PROBE_WITH_BORDER_RES

Disable r.Lumen.ScreenProbeGather.StochasticInterpolation on Epic Scalability and above due to noise with clean materials

Reduce r.Lumen.ScreenProbeGather.FullResolutionJitterWidth to .5 on Cine Scalability, or when Lumen Final Gather Quality is high

Editor viewport shows Scalability warning for anything other than Epic (previously was shown only for levels less than Epic) since Cinematic runs at a lower framerate

Lumen Radiosity uses less memory when r.LumenScene.Radiosity.ProbeOcclusion=0

CitySample use r.LumenScene.Radiosity.ProbeSpacing=8 to get in line with previous lowered defaults

#jira UE-141204
#rb Krzysztof.Narkowicz
#lockdown Juan.Canada
#preflight 620bf8ef4353dc61c7faaeed

#ROBOMERGE-AUTHOR: daniel.wright
#ROBOMERGE-SOURCE: CL 19075501 in //UE5/Release-5.0/... via CL 19094394
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19136373 by daniel wright in ue5-main branch]
2022-02-24 20:33:09 -05:00
joe conley
fe86c3f89b OculusVR plugin defaults to Legacy Oculus SDK
#jira UE-141258
#preflight none
#rb ue-xr

#ROBOMERGE-AUTHOR: joe.conley
#ROBOMERGE-SOURCE: CL 19075426 in //UE5/Release-5.0/... via CL 19094367
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19135752 by joe conley in ue5-main branch]
2022-02-24 20:16:01 -05:00
tiago costa
7ba5023e71 Rename Local Exposure "Contrast Reduction" to "Contrast Scale"
- Also support contrast scale > 1.

#jira UE-143419
#rb Guillaume.Abadie
#lockdown juan.canada
#preflight 6214ded2a97c2c3348ca3336

#ROBOMERGE-AUTHOR: tiago.costa
#ROBOMERGE-SOURCE: CL 19074464 in //UE5/Release-5.0/... via CL 19090589
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19135312 by tiago costa in ue5-main branch]
2022-02-24 20:07:17 -05:00