Commit Graph

449 Commits

Author SHA1 Message Date
Charles deRousiers
86ece99784 Add rect light texture atlas support.
This changes allow to bind a larger amount of rect. light texture, and allows future support for rect light in forward & cluster passes.

#jira none
#rb sebastien.hillaire
#preflight 61fcebd0b5092d45ad110db4

[CL 18861192 by Charles deRousiers in ue5-main branch]
2022-02-04 04:18:10 -05:00
daniel wright
4787af97d0 Fixed main scene bloom on top of Lumen Visualize
#jira UE-141100
#preflight 61fc3143cd183427303f04d0
#rb Krzysztof.Narkowicz
#lockdown Michal.Valient

#ROBOMERGE-AUTHOR: daniel.wright
#ROBOMERGE-SOURCE: CL 18850112 in //UE5/Release-5.0/... via CL 18850165 via CL 18850827
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18850874 by daniel wright in ue5-main branch]
2022-02-03 16:07:50 -05:00
daniel wright
765fd44bc6 Lumen Visualization rendering moved to AddPostProcessingPasses to fix composition issues with transparency, TAA and editor primitives. Visualizations refactored to work in post processing pipeline.
* Visualize Lumen Scene and Surface Cache moved to after TAAU, but before tonemapper
* Visualize Lumen Overview moved after tonemapper and editor primitive compositing
* Handling removing of TAA jitter, manual upscale, manual tonemapping
* Visualize HWRT refactored to no longer rely on SceneDepth, which is not available after TAAU

Changed default r.Lumen.Visualize.HardwareRayTracing.Retrace.HitLighting to 0 to better match how the features use it

#preflight 61f8af95114ec25fe0cb8dd5
#rb Krzysztof.Narkowicz

#ROBOMERGE-AUTHOR: daniel.wright
#ROBOMERGE-SOURCE: CL 18810990 in //UE5/Release-5.0/... via CL 18811004 via CL 18822705
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18823638 by daniel wright in ue5-main branch]
2022-02-02 05:55:10 -05:00
eric renaudhoude
c6afb90189 PostProcessing: fix for sequence of after-passes where the next pass wasn't consuming the last result.
#jira none
#rb ruslan.idrisov
#preflight 61f93dbaa2514ba12f028a00

#ROBOMERGE-AUTHOR: eric.renaudhoude
#ROBOMERGE-SOURCE: CL 18807652 in //UE5/Release-5.0/... via CL 18809239 via CL 18822246
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18823267 by eric renaudhoude in ue5-main branch]
2022-02-02 05:30:45 -05:00
andrew davidson
cac76b118e Fix FVector2D variant casts - Renderer
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8700e41414fb013dd4002

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18801433 in //UE5/Release-5.0/... via CL 18802090 via CL 18821511
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821594 by andrew davidson in ue5-main branch]
2022-02-02 01:43:41 -05:00
guillaume abadie
82d704ea77 Fixes saparate translucency screen percentage
#rb none
#jira UE-135770
#preflight 61f3d600801201ab38802f25

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18770204 in //UE5/Release-5.0/... via CL 18770211 via CL 18770261
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18770266 by guillaume abadie in ue5-main branch]
2022-01-28 08:13:09 -05:00
andrew lauritzen
ef2fd132f7 Add VSM projection visualizations to the editor menu
#rb graham.wihlidal
[FYI] ola.olsson
#preflight 61f1a689fc74f46b5645b225

#ROBOMERGE-AUTHOR: andrew.lauritzen
#ROBOMERGE-SOURCE: CL 18757572 in //UE5/Release-5.0/... via CL 18759665 via CL 18760682
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18760914 by andrew lauritzen in ue5-main branch]
2022-01-27 15:49:31 -05:00
guillaume abadie
cd8c066c67 Uses BloomIntensity for FFT bloom and allows dirt mask to work
#jira UE-130358
#preflight 61efeba48c16f83722487e6b

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18721597 in //UE5/Release-5.0/... via CL 18721598 via CL 18721657
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18721670 by guillaume abadie in ue5-main branch]
2022-01-25 08:05:07 -05:00
krzysztof narkowicz
02819f2a85 Refactored Lumen visualization views and show flag in order to improve user experience. All Lumen visualization modes and show flags were moved into Lumen submenus for easier discovery. View modes were made exclusive (only one may be active at a time). Additonally exposed new view modes and show flags in order to easier debug and understand Lumen.
Lit->Lumen
Added Lit->Lumen submenu with 4 view modes - Lumen Scene, Lumen Reflection View, Lumen Surface Cache and Overview:
* Lumen Scene - same as ShowFlags->VisualizeLumenScene. Visualizes Lumen scene representation in highest possible quality, with highest possible view distance
* Lumen Reflection View - Lumen Scene, but with current reflections settings. Basically represents how things look in the reflections
* Lumen Surface Cache - visualizes surface cache and marks with pink missing surface cache coverage
* Overview - 3 Lumen view mode tiles, overlaid on top of normal view

Show->Lumen
Added Show->Lumen submenu with 6 flags, which allow to disable specific trace types (screen space, detail, global, far field), disable secondary bounces (radiosity) and disable Screen Space Directional Occlusion.

Show->Visualize
Removed �Lumen Scene� (replaced by Lit->Lumen->Lumen Scene view mode) and �Lumen Global Illumination� (replaced by r.Lumen.Visualize.IndirectDiffuse) from

Advanced visualization modes are accessible through r.Lumen.Visualize.Mode, which overrides current Lit->Lumen-> settings.

Misc changes:
* Renamed VisualizeLumenScene* to LumenVisualize*
* Moved shared visualize parameters to LumenVisualize.h
* Lumen HWRT visualize now uses same ray footprint as SWRT visualize
* Replaced HALF_WORLD_MAX with Lumen::MaxTracingEndDistanceFromCamera and Lumen::MaxTraceDistance in preparation for the LWC WORLD_MAX changes

#rb Patrick.Kelly, Daniel.Wright
#preflight 61e73339b56c33b8ecf753b2

#ROBOMERGE-AUTHOR: krzysztof.narkowicz
#ROBOMERGE-SOURCE: CL 18658215 in //UE5/Release-5.0/... via CL 18658227 via CL 18658249
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18658268 by krzysztof narkowicz in ue5-main branch]
2022-01-19 10:11:35 -05:00
guillaume abadie
61986dea1f Fixes shader print drawing before spatial upscaler
This caused inconsistency between what ShaderPrint::BeginView() believe the resolution was and what ShaderPrint::DrawView() was actually drawing to

#rb none
#preflight 61e69be2b56c33b8ecdf1e86

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18638139 in //UE5/Release-5.0/... via CL 18638146 via CL 18638156
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18638170 by guillaume abadie in ue5-main branch]
2022-01-18 06:20:07 -05:00
Wei Liu
148908dac1 Fix a crash bug of using High Resolution Screenshot with "Use custom depth as mask" enabled on mobile preview
#jira none

#robomerge 5.0

#rb none
#preflight 61e6671db56c33b8ecd7df53

[CL 18637034 by Wei Liu in ue5-main branch]
2022-01-18 02:20:35 -05:00
UnrealBot
c47e81b2cb Branch snapshot for CL 18531810
[CL 18531810 in ue5-main branch]
2022-01-06 16:44:09 +00:00
UnrealBot
2987349d36 Branch snapshot for CL 18514113
[CL 18514113 in ue5-main branch]
2022-01-05 20:41:17 +00:00
Wei Liu
7575ee6c55 Only output scenecolor for sunmask on IOS when MSAA is enabled.
#jira none

#robomerge 5.0

#rb Dmitriy.Dyomin, Florin.Pascu
#preflight 61d5a2e44c252480ca1a5b89

[CL 18518245 by Wei Liu in ue5-main branch]
2022-01-05 09:09:54 -05:00
guillaume abadie
356554d86b Fixes ensure when temporally upscaling
#rb trivial
#preflight 61d42ccfc65e66487b0dd335

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18506847 in //UE5/Release-5.0/... via CL 18506857
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18506862 by guillaume abadie in ue5-release-engine-test branch]
2022-01-04 06:33:12 -05:00
guillaume abadie
ff778e6df5 Fixes a crash in FFT bloom in highres screenshot
#rb none
#preflight 61d31662932a02483cb24f28

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18501181 in //UE5/Release-5.0/... via CL 18501191
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18501201 by guillaume abadie in ue5-release-engine-test branch]
2022-01-03 10:44:47 -05:00
marc audy
b1175a1de1 [Backout] - CL18485836 - Change modified code that was skipped merging to UE5
Original CL Desc
-----------------------------------------------------------------
Fixed: Black screen when playing in editor with Android Vulkan preview with VR Template
#jira UE-135052
#rb Jack.Porter
#lockdown cristina.riveron
#preflight none
[CODEREVIEW] dmitriy.dyomin

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 18257599 in //UE4/Release-4.27/... via CL 18458542 via CL 18458750 via CL 18486078 via CL 18486114
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18486158 by marc audy in ue5-release-engine-test branch]
2021-12-17 17:38:18 -05:00
marc audy
4c96bfe7d6 Fixed: Black screen when playing in editor with Android Vulkan preview with VR Template
#jira UE-135052
#rb Jack.Porter
#lockdown cristina.riveron
#preflight none
[CODEREVIEW] dmitriy.dyomin

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 18257599 in //UE4/Release-4.27/... via CL 18458542 via CL 18458750 via CL 18485836 via CL 18485959
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18486005 by marc audy in ue5-release-engine-test branch]
2021-12-17 17:26:50 -05:00
guillaume abadie
455b38046d Fixes a bunch of vector precisions in post processing
#rb trivial
#jira none
#preflight 61af6ba18358693a22d78f41

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18394836 in //UE5/Release-5.0/... via CL 18394861
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18394867 by guillaume abadie in ue5-release-engine-test branch]
2021-12-07 09:55:09 -05:00
guillaume abadie
cffaa1fe82 Replaces r.Bloom.HalfResConvolution with r.Bloom.ScreenPercentage
#rb none
#jira none
#preflight 61ae42868358693a22c276d0

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18385314 in //UE5/Release-5.0/... via CL 18385332
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18385358 by guillaume abadie in ue5-release-engine-test branch]
2021-12-06 13:45:02 -05:00
guillaume abadie
2e85f24b98 Reland 18322673: Moves the bloom's intensity to be applied before writing to the bloom rdg texture
This allows lens flares to work with FFT bloom without introducing additional memory bandwidth costs in the tonemapper.

#rb none
#preflight 61a63600361aa0b85b3c506b

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18324910 via CL 18374616 via CL 18374634
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18374649 by guillaume abadie in ue5-release-engine-test branch]
2021-12-03 17:20:45 -05:00
guillaume abadie
cb09748fce [Backout] - CL18322673
[FYI] Guillaume.Abadie
Original CL Desc
-----------------------------------------------------------------
Moves the bloom's intensity to be applied before writing to the bloom rdg texture

This allows lens flares to work with FFT bloom without introducing additional memory bandwidth costs in the tonemapper.

#rb none

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18323049 via CL 18374597 via CL 18374633
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18374646 by guillaume abadie in ue5-release-engine-test branch]
2021-12-03 17:20:36 -05:00
guillaume abadie
f7e825f79a Moves the bloom's intensity to be applied before writing to the bloom rdg texture
This allows lens flares to work with FFT bloom without introducing additional memory bandwidth costs in the tonemapper.

#rb none

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18322673 via CL 18374590 via CL 18374632
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18374645 by guillaume abadie in ue5-release-engine-test branch]
2021-12-03 17:20:28 -05:00
graham wihlidal
cf1e30c31b Fix broken motion blur on camera cuts when motion vector simulation is disabled. This restores the intention from Jan 2017 (CL 3278757) where velocities were disabled on camera cut, but only if motion sim didn't provide a previous transform (likely broken during MDC or RDG refactors over ttime). When sequencer reuses an object by warping it between shots (vs. respawning new objects every time), the previous transform is nonsensical, and can be 1km away from the new location (causing numerous motion blur problems).
#preflight 61788d9d4c74960001b7d72a
#lockdown jeff.farris
[FYI] michal.valient, krzysztof.narkowicz, guillaume.abadie
#rb jason.nadro, andrew.rodham, ludovic.chabant, brian.karis

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 17939227 via CL 18007282 via CL 18370451 via CL 18370523
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18370603 by graham wihlidal in ue5-release-engine-test branch]
2021-12-03 13:48:12 -05:00
jon nabozny
5d4aaabcfb Allows TSR to produce MotionBlur's velocity flatten textures.
Adds 20us to TSR's DilateVelocity, but eliminate MotionBlur's velocity flatten that is 120us on console.

#rb josie.yang
#lockdown michal.valient
#preflight 616dabef6e12ff0001056c70, 616db80708cf4d000146e526

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 17850441 via CL 18003913 via CL 18369657 via CL 18369719
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18369796 by jon nabozny in ue5-release-engine-test branch]
2021-12-03 13:05:09 -05:00