Commit Graph

133 Commits

Author SHA1 Message Date
tiantian xie
397158cfb6 Subsurface Scattering Engine flag changes the albedo
#jira UE-133510
#rb Juan.Canada

#ROBOMERGE-AUTHOR: tiantian.xie
#ROBOMERGE-SOURCE: CL 18223413 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)

[CL 18223467 by tiantian xie in ue5-release-engine-test branch]
2021-11-17 10:05:03 -05:00
tiantian xie
f97ab2884f [Major] Reduce SSS performance overhead when SSS only occupies a small region (e.g., from 0.7ms to 0.2ms).
1. Reduce unnecessary UAV Clear with property velocity projection. Only subpass one UAV is cleared conditionally when separable tiles are detected.
            2. Remove subsurface view copy and use tile based recombine.
            3. Mipmaps are generated only when there are many Burley tiles ( default r.SSS.Burley.MinGenerateMipsTileCount to 4000)
[Minor] Rename pass and texture names, and use proper descriptors.

#jira UE-131573
#rb jian.ru
#ushell-cherrypick of 17979880 by Tiantian.Xie
#preflight 617c0c6b5dbdbc00016ea885

#ROBOMERGE-AUTHOR: tiantian.xie
#ROBOMERGE-SOURCE: CL 17983475 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17983481 by tiantian xie in ue5-release-engine-test branch]
2021-10-29 12:53:33 -04:00
tiantian xie
9d860a038e Improve cinematic human skin rendering performance when filling most of the screens, and fix half resolutioin boundary flickering.
#jira UE-132026
#rb Krzysztof.Narkowicz
#preflight 61798fbe4d944500010ee4ff

#ushell-cherrypick of 17947828 by Tiantian.Xie

#ROBOMERGE-AUTHOR: tiantian.xie
#ROBOMERGE-SOURCE: CL 17951326 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17951354 by tiantian xie in ue5-release-engine-test branch]
2021-10-27 16:39:57 -04:00
andrew davidson
57beb335f2 Merging //UE5/Dev-LargeWorldCoordinates [at] 17581892 to //UE5/Main
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 17595295 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17595306 by andrew davidson in ue5-release-engine-test branch]
2021-09-22 10:01:48 -04:00
tiantian xie
088f1c4c05 Subsurface scattering performance stability enhancement:
1. use control variates to deal with dynamic lighting change.
2. use bilinear filtered lighting as the control variable.

Performance boost up to 2.4x (3.22->1.34) during dynamic change for large SSS sudden appearance.

#rb Juan.Canada
#preflight 61232ccbcc11eb0001674a7b

#ROBOMERGE-SOURCE: CL 17265082 via CL 17273152
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v858-17259218)

[CL 17274280 by tiantian xie in ue5-release-engine-test branch]
2021-08-23 15:22:35 -04:00
zach bethel
5ec769f91e RDG Parallel Execution (disabled by default)
- Refactored RDG to support free-threaded execution of passes.
 - Refactored renderer to use specific RHI command list variants in pass lambda. Immediate command list passes are forced to stay on the render thread, while other variants can be parallelized.

#rb christopher.waters

#ROBOMERGE-SOURCE: CL 16838717 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16838724 by zach bethel in ue5-release-engine-test branch]
2021-07-13 12:38:37 -04:00
guillaume abadie
e8003c7a5a Renames Gen5TAA to Temporal Super Resolution
#rb graham.wihlidal
#jira UE-114288
#lockdown nick.whiting

#ROBOMERGE-OWNER: guillaume.abadie
#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 16116333 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)
#ROBOMERGE-CONFLICT from-shelf

[CL 16116611 by guillaume abadie in ue5-main branch]
2021-04-26 14:05:52 -04:00
Sebastien Hillaire
60d8f6fe85 Strata constant&UB binding functions now take the scene strata structure as input instead of view because the data is shared between view and sometimes it comes from scene when we do not have any views available.
#fyi charles.derousiers
#rb none

[CL 15862932 by Sebastien Hillaire in ue5-main branch]
2021-03-30 11:27:24 -04:00
Sebastien Hillaire
a48e812176 Strata on RDG. That has fixed some transition issues.
Next will be to have buffers also be RDG transient buffers (and that should fix the last transition issue).
Tested strata enabled and disabled with rhivalidation.

#rb none
#fyi charles.derousiers

[CL 15858691 by Sebastien Hillaire in ue5-main branch]
2021-03-30 02:33:35 -04:00
Guillaume Abadie
83e611fb99 Replaces SHADER_PARAMETER_RDG_BUFFER() with RDG_BUFFER_ACCESS() in remaining files
#rb none
#robomerge Release-5.0-EarlyAccess

[CL 15718983 by Guillaume Abadie in ue5-main branch]
2021-03-17 06:03:08 -04:00
Charles deRousiers
51949dfbe6 Remove Gbuffer access from SSS passes when Strata is used.
This CL hooks the FStrataSubsurfaceData to the SSS passes, so that no Gbuffer data are no longer needed.

Tested on preflight & EngineTests

#rb sebastien.hillaire

[CL 15452131 by Charles deRousiers in ue5-main branch]
2021-02-18 09:38:14 -04:00
Guillaume Abadie
30b9f0ba9b Automatically use r.SSS.Quality=1 recombine when using Gen5 TAA
#rb none

[CL 15364741 by Guillaume Abadie in ue5-main branch]
2021-02-09 06:30:16 -04:00
zach bethel
c6cb1e82be Deprecated and gutted FSceneRenderTargets. Moved all textures over to FSceneTextures. Refactored the renderer to use RDG textures from FSceneTextures instead.
#rb arne.schober, luke.thatcher, christopher.waters, kenzo.terelst

[CL 15040082 by zach bethel in ue5-main branch]
2021-01-11 14:49:16 -04:00
Charles deRousiers
a1b7c74c4f Add per-pixel subsurface support for Strata.
#rb sebastien.hillaire

[CL 14858030 by Charles deRousiers in ue5-main branch]
2020-12-04 15:46:10 -04:00
zach bethel
f8f5091f45 Moved velocity out of FSceneRenderTargets. Registered GBuffers into FSceneTextures as prep for removal. Rewrote GetGBufferRenderTargets.
#rb christopher.waters, john.hable

[CL 14798492 by zach bethel in ue5-main branch]
2020-11-20 14:48:45 -04:00
zach bethel
ba31d9b2f5 Added FMinimalSceneTextures and FSceneTextures to deferred shading renderer and marshaled it through the render pipeline.
#rb christopher.waters
#rnx

[CL 14780920 by zach bethel in ue5-main branch]
2020-11-18 15:16:23 -04:00
zach bethel
e4f467569d Removed scene render target context snapshot system.
#rb arne.schober

[CL 14615156 by zach bethel in ue5-main branch]
2020-10-29 16:32:16 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
john white
ca61b18d6b Fix for incorrect Sub Surface Scattering.
Problem was the passes to fill in the indirect args buffer was tagged to be on the AsyncCompute Pipe  but all other passes are on the GFX pipe.

#jira UE-99741
#rb john.hable

#ROBOMERGE-SOURCE: CL 14535762 in //UE5/Release-5.0-M2/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-M2 -> Main) (v749-14533626)

[CL 14535769 by john white in ue5-main branch]
2020-10-21 12:59:55 -04:00
zach bethel
c907e84398 Build fixes.
#rb none
#rnx

[CL 14524302 by zach bethel in ue5-main branch]
2020-10-20 12:12:06 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
graham wihlidal
ba78afedb6 Fixed typo Seprable -> Separable in ComputeSubsurfaceForView
#rb none

[CL 14186444 by graham wihlidal in ue5-main branch]
2020-08-26 02:20:21 -04:00
Michal Valient
95d19f95b1 [REVERB] Merging //UE4/Private-Reverb-Development@13832732
#rb graham.wihlidal, rune.stubbe, brian.karis, andrew.lauritzen, jeff.farris

[CL 13834854 by Michal Valient in ue5-main branch]
2020-07-06 18:58:26 -04:00
kevin ortegren
541e92d1e9 Clamp hardcoded mip level to one that works for the given texture size when creating texture in SSS pass
#rb John.Hable
#rnx


#ROBOMERGE-SOURCE: CL 11940564 via CL 11943474 via CL 11943776 via CL 11944054
#ROBOMERGE-BOT: (v656-11643781)

[CL 11946802 by kevin ortegren in Main branch]
2020-03-05 13:48:38 -05:00
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00