Commit Graph

225 Commits

Author SHA1 Message Date
carl lloyd
7a31ca4270 Enable Android Vulkan SM5 Ray Tracing
#rb jeannoe.morissette, yuriy.odonnell
#preflight 643966259566b61450eddea4

[CL 25040539 by carl lloyd in ue5-main branch]
2023-04-14 10:52:39 -04:00
florin pascu
802a04967e Make r.Mobile.EarlyZPassOnlyMaterialMasking be per shader platform
#rb Dmitriy.Dyomin, Jack.Porter
#preflight 642fbf244c3ccbbdf1bb96be

[CL 24976086 by florin pascu in ue5-main branch]
2023-04-10 04:06:47 -04:00
florin pascu
568b9363b7 Global Distance Field For Mobile
Remove bSupportsMobileDistanceField from DDSPI
#rb Dmitriy.Dyomin, Benjamin.Rouveyrol
#jira UE-103863
#preflight 642d669cf376ab43d2c75cec

[CL 24936564 by florin pascu in ue5-main branch]
2023-04-05 17:00:43 -04:00
Charles deRousiers
2dd761fc54 Change Subsutrate sRGB encoding.
* Default now uses accurate sRGB value encoding.
* Lower platforms using lower shading quality (i.e., r.Substrate.ShadingQuality > 1), will continue to use the cheap sqrt/square encoding/decoding

Using proper sRGB encoding increases occupangy by 8 vgpr on ps4 and a fullscreen quad during the base pass by 0.2ms due to lower occupancy. So keep it disabled on lower platforms.

#rb none
#jira none
#preflight 642ad0058f078cc7031c1ae2
#fyi sebastien.hillaire

[CL 24891794 by Charles deRousiers in ue5-main branch]
2023-04-03 09:35:50 -04:00
Wei Liu
01a415b564 Sampling SceneDepth instead of fetching SceneDepthAux when full depth prepass is enabled.
#jira none

#rb Dmitriy.Dyomin
#preflight 64267ed89621ba9cb48c0edf

[CL 24868190 by Wei Liu in ue5-main branch]
2023-03-31 03:12:41 -04:00
Sebastien Hillaire
1491943760 Substrata - ray tracing material shaders uses fully simplified material for smaller payload.
Next would be to have the fully simplified mode disable anisotropy to have an even lower payload size.

#rb charles.derousiers
#preflight https://horde.devtools.epicgames.com/job/6422ad44973e609670e855c8

[CL 24815921 by Sebastien Hillaire in ue5-main branch]
2023-03-28 05:25:01 -04:00
Sebastien Hillaire
1e93e473f4 Substrate - updated / clarified ray tracing common payload byte count to really reflect what is shader dependent and what is Subsutrate dependent.
#rb none
#preflight none
#fyi charles.derousiers

[CL 24801328 by Sebastien Hillaire in ue5-main branch]
2023-03-27 08:31:19 -04:00
Sebastien Hillaire
e4d82b5a34 Substrate - fixed InternalGetBytePerPixel to be aligned on uint because the read/write unit is uint32.
#rb none
#preflight none
#fyi charles.derousiers

[CL 24801136 by Sebastien Hillaire in ue5-main branch]
2023-03-27 07:57:33 -04:00
arciel rekman
006f4e3024 Unconditionally disable velocity output in base pass for Forward Desktop (UE-169988).
#rb Robert.Srinivasiah, Jules.Blok
[REVIEW] [at]Jules.Blok, [at]Robert.Srinivasiah
#jira UE-169988
#rnx
#preflight 6411d252924023147d96f7f6

[CL 24655306 by arciel rekman in ue5-main branch]
2023-03-15 11:25:47 -04:00
charles derousiers
0fad76c4d7 Rename all user/editor-facing Strata name into Substrate.
This CL address only user-facing part, i.e. Property field, view modes, tool tips, ...) mentioning Strata. All internal (host code, shaders code, CVars) still contains the 'Strata' name.

#rb sebastien.hillaire
#jira UE-175169
#preflight 63f4db68cf37615300e71db5
#lockdown juan.canada

[CL 24350396 by charles derousiers in ue5-main branch]
2023-02-21 16:52:23 -05:00
krzysztof narkowicz
44d70d7641 Lumen:
* Fix incorrect reflections when using r.Lumen.Reflections.SampleSceneColorAtHit. Screen space hit points are now also discarded based on the comparison between reconstructed geometric normal and ray hit geometric normal.
* Fix surface cache sampling with hit lighting due to using detail normal instead of a geometric normal

#rb Daniel.Wright, Charles.deRousiers
#preflight 63efca0961378b7ea0361104
#jira UE-177485
#lockdown Juan.Canada

[CL 24295260 by krzysztof narkowicz in ue5-main branch]
2023-02-17 19:38:38 -05:00
carl lloyd
bea9e08395 Added support to separately enable OpenGL deferred
#rb Florin.Pascu
[FYI] Allan.Bentham

#preflight 63ecd462b96a6b2718ac0ee6

[CL 24254770 by carl lloyd in ue5-main branch]
2023-02-16 05:50:42 -05:00
dmitriy dyomin
931d8b4c16 Properly cook out VT for mobile platforms if VT is not supported on mobile
[CL 24226715 by dmitriy dyomin in ue5-main branch]
2023-02-15 01:19:04 -05:00
charles derousiers
2e825249bd Add optional accurate sRGB encoding for Strata pixel payload.
#rb sebastien.hillaire
#jira none
#preflight 63e40213244dc45a2026160c
#lockdown juan.canada

[CL 24085322 by charles derousiers in ue5-main branch]
2023-02-08 18:00:32 -05:00
charles derousiers
5229394cfe Fix incorrect material appearance on raytracing material with Strata enabled
* Add adaptive RT material payload for Strata.
* Centralize all Strata settings in RenderCore/RenderUtils.h to ensure consistency

#rb chris.kulla
#jira none
#preflight 63d43bcff626715201a0ed1d
[FYI] sebastien.hillaire

[CL 23923301 by charles derousiers in ue5-main branch]
2023-01-31 01:12:18 -05:00
christopher waters
1f21b73b25 Ran IWYU on RHI and RenderCore, private only.
#preflight 63d358c85c69f453c1f79c37

[CL 23889591 by christopher waters in ue5-main branch]
2023-01-27 14:54:10 -05:00
jonathan bard
52e1ca6c17 Fixed crash when using alpha brush/pattern landscape tool and generally better support various cases with the alpha brush texture :
* The brushes becomes red and non-interactive when the alpha brush is invalid
* Setting an invalid alpha brush (e.g. a cooked texture in a cooked editor or a virtualized texture with invalid virtualization settings such that the texture source cannot be retrieved) is not crashing the UI anymore and will show as empty in the UI (+ a log error will be done)
* The brushes now support the same failure conditions as the normal brush (unloaded components, etc.)
* The alpha brush textures now supports all texture formats and will be linearized if necessary when reading the texture data
* The alpha brush texture channel is auto-corrected if one uses an invalid channel (e.g. Green on a G8 texture)

#rb luc.eygasier
#preflight 63ca08acd368fed9e5f22517

[CL 23815938 by jonathan bard in ue5-main branch]
2023-01-23 12:50:34 -05:00
graham wihlidal
8057f357dd Initial (crude) working version of WIP Nanite material dispatch (shading via compute instead of graphics). Lots of work remaining, but a good milestone to submit. (Off by default with no impact to shader compilation)
#rb brian.karis
#fyi rune.stubbe, jamie.hayes, yuriy.odonnell, zach.bethel
#preflight skip

[CL 23782489 by graham wihlidal in ue5-main branch]
2023-01-19 17:44:35 -05:00
christopher waters
5c36939f3a Dependency cleanup around RenderCore.h includes.
#preflight 63c1b21d1a06fc6105ef31c4

[CL 23688227 by christopher waters in ue5-main branch]
2023-01-13 17:25:01 -05:00
christopher waters
6e30ddb01e Dependency cleanup around DataDrivenShaderPlatformInfo and a few other headers.
#preflight 63921e6a67018b14b5925197

[CL 23454104 by christopher waters in ue5-main branch]
2022-12-08 15:35:35 -05:00
christopher waters
b646d3c719 Moving FShaderPlatformCachedIniValue into its own file.
Preparing RenderUtils for include removal.

#preflight 638f63a09549ddaa2869ddf0

[CL 23422383 by christopher waters in ue5-main branch]
2022-12-06 20:00:07 -05:00
christopher waters
4529c32af9 Moving RenderUtils helper functions into the cpp file.
#preflight 638ed37a67018b14b581be3b

[CL 23421896 by christopher waters in ue5-main branch]
2022-12-06 19:49:27 -05:00
christopher waters
f8f7ca2782 Moving the bulk of global rendering resources into GlobalRenderResources.h.
Not fully deprecating includes yet.

#preflight 638eba1fc0652bbec2335106

[CL 23421741 by christopher waters in ue5-main branch]
2022-12-06 19:47:11 -05:00
christopher waters
dcfccd8796 Moving generic rendering math functions out of RenderUtils.h and into a new file, RenderMath.h
#preflight 638e598c1776b8c21c409492

[CL 23401436 by christopher waters in ue5-main branch]
2022-12-05 18:29:39 -05:00
christopher waters
56465bfef0 Moving some utility functions out of RenderResource and into RenderUtils.
#preflight 638a505f4c3ce8ae5d2e174c

[CL 23378959 by christopher waters in ue5-main branch]
2022-12-02 16:36:00 -05:00