Commit Graph

3265 Commits

Author SHA1 Message Date
chris kulla
8be840e1dc Fix minor warnings flagged by dxc
#rb none

[CL 15370979 by chris kulla in ue5-main branch]
2021-02-09 17:38:18 -04:00
chris kulla
b6499286fa Fix minor signed/unsigned warning in path tracer random sequence
#rb none

[CL 15370896 by chris kulla in ue5-main branch]
2021-02-09 17:33:47 -04:00
chris kulla
0ad642d465 Second attempt as fixing console warnings in PathTracingCapsuleLight
#jira UE-108175

[CL 15369456 by chris kulla in ue5-main branch]
2021-02-09 15:54:50 -04:00
will damon
91b69698de Update MetalCommon.ush GUID
- Follow-on to previous commit.

#rb trivial
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 15366128 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15368924 by will damon in ue5-main branch]
2021-02-09 15:02:44 -04:00
ola olsson
600fb22111 Fix missing PrimitiveId in VFIntermediates when using GPU-Scene instance culling.
#rb andrew.lauritzen

#ROBOMERGE-SOURCE: CL 15364231 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15368840 by ola olsson in ue5-main branch]
2021-02-09 14:59:41 -04:00
brian karis
c25e79df8c Fixed SSS with clustered deferred.
#ROBOMERGE-SOURCE: CL 15363097 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15368726 by brian karis in ue5-main branch]
2021-02-09 14:47:22 -04:00
arciel rekman
78556da873 Merging 15277719 (backout of CL 15275547) - backout of hitproxy changes.
- Introduces errors in some materials that compiled fine otherwise.

#rb none
#jira none

#ROBOMERGE-SOURCE: CL 15361963 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15368704 by arciel rekman in ue5-main branch]
2021-02-09 14:45:39 -04:00
Charles deRousiers
8ed4263387 Fix edge color not properly setup when running fast path.
#rb none
#fyi sebastien.hillaire

[CL 15368300 by Charles deRousiers in ue5-main branch]
2021-02-09 14:01:30 -04:00
chris kulla
cffa50409d Fix compile errors in path tracer CapsuleLight on some console platforms
#jira UE-108175
#rb none

[CL 15366510 by chris kulla in ue5-main branch]
2021-02-09 12:42:47 -04:00
Charles deRousiers
ab6c40da49 Fix warning-as-error issue on Strata loop with DXC
At compile time all the loop count value are known, which works fine on FXC/Wave. But DXC has (known) issued unroll/nested unroll. As the compiler get better, we will be able to remove this workaround.

#rb sebastien.hillaire
#fyi yuriy.odonnell

[CL 15364630 by Charles deRousiers in ue5-main branch]
2021-02-09 05:49:33 -04:00
Sebastien Hillaire
47045fe131 Made Strata visualize shader pc/editor only.
#rb Charles.deRousiers

[CL 15364523 by Sebastien Hillaire in ue5-main branch]
2021-02-09 05:03:11 -04:00
Charles deRousiers
766ee4db3e Fix warning as error when compiling with DXC
#rb sebastien.hillaire
#fyi yuriy.odonnell

[CL 15364482 by Charles deRousiers in ue5-main branch]
2021-02-09 04:59:00 -04:00
Sebastien Hillaire
0f480e8e08 Strata more optimisation and decoupling from GBuffer
- added a simple and fast clear path of the material buffer
- light and env light passes now reads AO and isStrataMaterial from the StrataHeader. No longer reads the classification or gbuffer data.
- Handle the max BSDF count case from the compiler.

Clear est 0.1ms at 1080p
SkyEnv pass cost 0.7->0.6ms et occupancy 60->70%

#rb Charles.deRousiers

[CL 15364191 by Sebastien Hillaire in ue5-main branch]
2021-02-09 04:08:35 -04:00
daniel wright
871a783d26 Lumen supports IES profiles
#ROBOMERGE-SOURCE: CL 15360991 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15361011 by daniel wright in ue5-main branch]
2021-02-08 18:12:47 -04:00
Sebastien Hillaire
3e7404f588 Fixed a wrong logic for starta fast path.
#rb none
#fyi Charles.deRousiers

[CL 15360968 by Sebastien Hillaire in ue5-main branch]
2021-02-08 18:09:54 -04:00
krzysztof narkowicz
1a5966ed44 Implemented a variance depth test for Lumen surface cache. Also removed FLumenCardDilateForegroundDepthsPS mip passes.
[FYI] Daniel.Wright, Patrick.Kelly

#ROBOMERGE-SOURCE: CL 15356306 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15360312 by krzysztof narkowicz in ue5-main branch]
2021-02-08 17:05:24 -04:00
chris kulla
6c862ab08d Path tracer - add missing file from previous commit
The file got refactored as part of CL 15272638

#rb none

[CL 15360119 by chris kulla in ue5-main branch]
2021-02-08 16:51:25 -04:00
daniel wright
d58da30a37 Quality levels for Lumen's Screen Space Bent Normal
#ROBOMERGE-SOURCE: CL 15348340 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15359819 by daniel wright in ue5-main branch]
2021-02-08 16:16:20 -04:00
daniel wright
4f05353e95 Fixed exposure in Mesh Distance Fields visualization
#ROBOMERGE-SOURCE: CL 15348315 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15359818 by daniel wright in ue5-main branch]
2021-02-08 16:16:15 -04:00
brian karis
7743e10ae8 Fixed cubemap shadows being inverted and flipped cull winding for !Nanite VSM.
#ROBOMERGE-SOURCE: CL 15347635 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15359404 by brian karis in ue5-main branch]
2021-02-08 15:59:44 -04:00
chris kulla
5477488adf Source length support for point and spot lights in the path tracer
Refactored spot light code to call point light methods instead of duplicating logic.

#rb Patrick.Kelly

[CL 15358927 by chris kulla in ue5-main branch]
2021-02-08 15:23:58 -04:00
Guillaume Abadie
c78bfd9b5e Implements r.TemporalAA.ShadingRejection.HalfRes
#rb none

[CL 15357749 by Guillaume Abadie in ue5-main branch]
2021-02-08 13:19:29 -04:00
brian karis
c002e016e3 Spot and point light !nanite VSM support.
#rb ola.olsson

#ROBOMERGE-SOURCE: CL 15341855 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15341864 by brian karis in ue5-main branch]
2021-02-05 16:37:17 -04:00
andrew lauritzen
7726f54957 Point light SMRT:
- Implement cube map SMRT using iteration across two faces. While a ray can technically span 3, no significant corner-related artifacts were observed.
- Rafactor SMRT loop out to a macro/include-based quasi "template" and reimplement SMRT for all light types in terms of it
- Few bug fixes and improvements to occluder distance approximation and similar

#rb brian.karis, ola.olsson

#ROBOMERGE-SOURCE: CL 15341168 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15341176 by andrew lauritzen in ue5-main branch]
2021-02-05 15:55:43 -04:00
chris kulla
01f5bfac80 Allow backface culling on primary rays in path tracer
This is required for rendering the Archvis sample correctly as the cameras sometimes go through walls (which the raster path is ok with). A Cvar lets the user disable this behavior if it isn't needed.

Also minor fix to pickup pre-integrated skin SSS color like we do for Subsurface materials until we can implement these properly

#rb Patrick.Kelly

[CL 15340589 by chris kulla in ue5-main branch]
2021-02-05 15:12:27 -04:00