Commit Graph

5717 Commits

Author SHA1 Message Date
Sebastien Hillaire
c4a8a3d014 Strata - fixed compilation issue without dxc. Also a nice clean up.
#rb none
#preflight none
#fyi charles.derousiers

[CL 20450856 by Sebastien Hillaire in ue5-main branch]
2022-06-01 07:27:42 -04:00
Charles deRousiers
93f160b4b9 Merge Strata thin surface & wrap evaluation code.
#rb none
#jira none
#preflight shaders
#fyi sebastien.hillaire

[CL 20450775 by Charles deRousiers in ue5-main branch]
2022-06-01 07:08:03 -04:00
aleksander netzel
bc3681c180 Add initial support for rendering water in path tracer:
* Add missing water Material ID cases for material hit shaders
* Make water translucent in the initial version
* Disable underwater postprocess material when running PT

#rb Chris.Kulla
#preflight 629725f92a1851b4ccb93408

[CL 20450504 by aleksander netzel in ue5-main branch]
2022-06-01 06:14:24 -04:00
Charles deRousiers
2b010d77fb Add pre-integrated SSS material conversion.
#rb none
#jira none
#preflight shader
#fyi sebastien.hillaire

[CL 20449809 by Charles deRousiers in ue5-main branch]
2022-06-01 04:31:58 -04:00
daniel wright
d127381777 Reduce Lumen Reflections temporal accumulation strength as materials approach mirror - reduces over-blur from reprojection diffusion error on mirror
#ROBOMERGE-AUTHOR: daniel.wright
#ROBOMERGE-SOURCE: CL 20440317 via CL 20440355 via CL 20440364
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20449390 by daniel wright in ue5-main branch]
2022-06-01 04:19:46 -04:00
Charles deRousiers
b369cdd7dd Fix Strata visualization name typo
#rb none
#jira none
#preflight shader

[CL 20449271 by Charles deRousiers in ue5-main branch]
2022-06-01 04:16:30 -04:00
Yuriy ODonnell
0f890f5e20 Fix shader compile error when NEEDS_BASEPASS_PIXEL_FOGGING and PROJECT_SUPPORT_SKY_ATMOSPHERE are off
#rb Chris.Kulla
#fyi Sebastien.Hillaire
#jira UE-155338
#preflight skip (locally cooked)

[CL 20443334 by Yuriy ODonnell in ue5-main branch]
2022-05-31 18:13:51 -04:00
Charles deRousiers
b4f08f38c7 Fix indirect lighting accumuation with Strata is enabled.
This CL changes Strata_For macro to ensure that BSDFs are not processed if there are invalid. It also temporarly disable cluster shading on FXC as the compiler has issue with the current code layout.

#rb none
#jira none
#fyi sebastien.hillaire
#preflight shaders

[CL 20437092 by Charles deRousiers in ue5-main branch]
2022-05-31 10:55:09 -04:00
Sebastien Hillaire
cc1fe5cfe0 Strata - moved more code to StrataExport. Also clarified that the extra struct is for opaque only.
#rb none
#preflight none
#fyi charles.derousiers

[CL 20436391 by Sebastien Hillaire in ue5-main branch]
2022-05-31 09:33:36 -04:00
carl lloyd
9ae2f947d7 Fixed bug with column/row mismatch on non-square matrices in OpenGL
#fyi Wei.Liu
#rb trivial
#preflight none

[CL 20436298 by carl lloyd in ue5-main branch]
2022-05-31 09:21:55 -04:00
Sebastien Hillaire
21dd3236a4 Strata - forgotten file to go with 20436182.
#rb none
#preflight none
#fyi charles.derousiers

[CL 20436232 by Sebastien Hillaire in ue5-main branch]
2022-05-31 09:15:37 -04:00
Sebastien Hillaire
5d89499db8 Strata - split out export function from strata.ush. (PackStrataOut only for now).
#rb none
#preflight none
#fyi charles.derousiers

[CL 20436182 by Sebastien Hillaire in ue5-main branch]
2022-05-31 09:11:08 -04:00
Sebastien Hillaire
92c8937e37 Added sky atmosphere transmittance on forward shaded translucent when per pixel mode is selected on the atmospoheric dir light.
#rb none
#preflight https://horde.devtools.epicgames.com/job/62960217d86c0bf739a111ef

[CL 20435765 by Sebastien Hillaire in ue5-main branch]
2022-05-31 08:11:24 -04:00
Sebastien Hillaire
2ab80ae537 Strata - added support for precomputed lighting to the deferred base opaque pass shaders.
#rb charles.derousiers
#preflight shader

[CL 20435040 by Sebastien Hillaire in ue5-main branch]
2022-05-31 05:51:22 -04:00
Charles deRousiers
db938b3b08 Add Lumen tile debug pass for screen probe gather passes.
#rb none
#jira none
#preflight 6294ee083f058e13b5bf358e
#fyi daniel.wright

[CL 20434602 by Charles deRousiers in ue5-main branch]
2022-05-31 03:12:51 -04:00
Sebastien Hillaire
46c80b94f9 Refactored bent normal to be simpler for future Strata changes
#rb none
#preflight shader
#fyi charles.derousiers

[CL 20434341 by Sebastien Hillaire in ue5-main branch]
2022-05-31 01:27:28 -04:00
guillaume abadie
4e42a66ca9 Allows TSR to upscale separate translucency independently from input resolution
This also implements r.Translucency.ScreenPercentage.Basis to experiment controling the translucency resolution independently from the primary screen percentage

#rb none
#jira UE-152560
#preflight 6294fbc4e61254772f5834a6

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 20432059 via CL 20432067 via CL 20432069
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20434142 by guillaume abadie in ue5-main branch]
2022-05-31 01:21:02 -04:00
Charles deRousiers
da33154be6 Fix shared memory overflow causing tile corruption when Strata is enabled.
#rb none
#jira none
#preflight shader

[CL 20431429 by Charles deRousiers in ue5-main branch]
2022-05-30 11:47:48 -04:00
tiago costa
9b94e09a38 Fix issues when compiling callable shaders using ddx/ddy.
#jira UE-155126
#rb aleksander.netzel
#preflight na

[CL 20431304 by tiago costa in ue5-main branch]
2022-05-30 11:25:24 -04:00
Charles deRousiers
ee8d1d1858 Fix incorrect Strata material data during Lumen screen probe classification pass.
#rb none
#jira none
#preflight shader

[CL 20429876 by Charles deRousiers in ue5-main branch]
2022-05-30 07:35:56 -04:00
Sebastien Hillaire
bd222e76cd Strata - fixed shader compilation, using a more explicit variable.
#rb none
#preflight none
#fyi tiantian.xie

[CL 20429082 by Sebastien Hillaire in ue5-main branch]
2022-05-30 03:53:08 -04:00
Charles deRousiers
811b1f0f60 Fix Strata shader compilation issue with SLW.
#rb none
#jira none
#fyi tiantian.xie
#preflight shader

[CL 20429009 by Charles deRousiers in ue5-main branch]
2022-05-30 03:34:28 -04:00
Charles deRousiers
3eb064d38c Change ShaderPrint symbol buffers layout.
It will ease merging all shader print RW buffer into a single one.

#rb none
#jira none
#preflight 6294677f380652524eae7e28

[CL 20428909 by Charles deRousiers in ue5-main branch]
2022-05-30 03:08:58 -04:00
jeremy moore
925a8fe75c Fix some items rendering to a separate velocity pass when base velocity pass is used with r.SelectiveBasePassOutputs.
This logic took primitives with a material using static lighting and moved velocity writing to a second pass.
Seems like that is some old behavior and after asking around it isn't well known why we had it.
Anyway it's not good to pay the cost of that second pass, so removing that.
#preflight 628fd8f574630984fd4d4464

#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 20392160 via CL 20392172 via CL 20392182
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20398501 by jeremy moore in ue5-main branch]
2022-05-27 16:44:41 -04:00
Tiantian Xie
fcff8d55e8 Add multiple reflection capture support for single layer water.
#rb none
#preflight 6290efe4fe5e30102ab0d9a7

[CL 20394554 by Tiantian Xie in ue5-main branch]
2022-05-27 12:14:09 -04:00