Commit Graph

409 Commits

Author SHA1 Message Date
Josie Yang
f8cc29c587 Implement GPUSkinCache debug visualization modes
*) 'Overview' shows skin cache on/off, recompute tangents on/off
*) 'Memory' shows skin cache memory consumption per sk mesh, includes RT if sk mesh uses a separate RT entry
*)  'RayTracingLODOffset` shows RT LOD index offset from raster LOD index

#jira UE-136542
#rb jeremy.moore
#preflight 622bb12b902b7ca699df8755

[CL 19383862 by Josie Yang in ue5-main branch]
2022-03-15 06:49:12 -04:00
Wojciech Krywult
292b00eb20 Renderer: Fixed a use-after-free issue detected by ASan when running QAGame.
The problem was caused by taking a pointer of a stack variable and using it when the variable has gone out of scope.

#rnx
#rb Guillaume.Abadie
#preflight none

[CL 19359583 by Wojciech Krywult in ue5-main branch]
2022-03-11 14:59:16 -05:00
tiago costa
7c8a8ee75c Don't disable AutoExposure when VisualizeGlobalDistanceField is enabled.
- Visualization was updated to apply lighting and now requires auto exposure / postfx.

#jira UE-143712
#rb krzysztof.narkowicz
#preflight 6217af3e8849a7424f5e2cbd
#lockdown juan.canada

#ROBOMERGE-AUTHOR: tiago.costa
#ROBOMERGE-SOURCE: CL 19115110 in //UE5/Release-5.0/... via CL 19115330
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19152901 by tiago costa in ue5-main branch]
2022-02-25 14:22:02 -05:00
tiago costa
7ba5023e71 Rename Local Exposure "Contrast Reduction" to "Contrast Scale"
- Also support contrast scale > 1.

#jira UE-143419
#rb Guillaume.Abadie
#lockdown juan.canada
#preflight 6214ded2a97c2c3348ca3336

#ROBOMERGE-AUTHOR: tiago.costa
#ROBOMERGE-SOURCE: CL 19074464 in //UE5/Release-5.0/... via CL 19090589
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19135312 by tiago costa in ue5-main branch]
2022-02-24 20:07:17 -05:00
guillaume abadie
8188bcbf6e Adds VisualizeMotionVectors show flag
#rb shaun.kime
#jira UE-143205
#preflight 620fb44aa96c65b0d81b1a9d

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 19070986 in //UE5/Release-5.0/... via CL 19090365
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19134116 by guillaume abadie in ue5-main branch]
2022-02-24 19:43:15 -05:00
guillaume abadie
9027c3940c Fixes TSR breaking the ICVFX camera motion blur setting in ndisplay
#rb josie.yang
#jira UE-141841
#preflight 620e2df800661410e332c16e
#lockdown alejandro.arango

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 19060901 in //UE5/Release-5.0/... via CL 19078625
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19122167 by guillaume abadie in ue5-main branch]
2022-02-24 14:50:42 -05:00
Charles deRousiers
3b1b1c0a69 Merge ShaderPrint ShaderDrawDebug to ease binding/setup.
#rb none
#jira none
#preflight 62153e289e113332ba232936

[CL 19079474 by Charles deRousiers in ue5-main branch]
2022-02-22 15:35:01 -05:00
Dmitriy Dyomin
3939410cd5 Fixed missing SceneTextures uniform buffer for selection outlline pass
#jira none
#rb none
#preflight 62130f75433a763d545d8529

[CL 19065342 by Dmitriy Dyomin in ue5-main branch]
2022-02-20 23:08:33 -05:00
guillaume abadie
7418563620 Fixes alpha channel through post processing when translucent object is in the scene
#rb trivial
#jira UE-142126
#preflight 620a3d64015ab8f37a42ad23

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18977673 in //UE5/Release-5.0/... via CL 18977729 via CL 18977796
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18977799 by guillaume abadie in ue5-main branch]
2022-02-14 07:30:53 -05:00
jason nadro
7594a007f9 Fix for IsValid() crash when attempting to visualize the Separate Translucency buffer when r.SeparateTranslucency = 0
- If PostDOFTranslucencyResources is invalid we should set a 0,0,1,1 rect since we are using the BlackDummyAlpha buffer.
- This is similar to how DiaphragmDOF handles accessing the separate translucency buffers.

#rb Sebastien.Hillaire
#jira UE-141834
#preflight 620542aa69224cb0d86f493a
#lockdown Juan.Canada

#ROBOMERGE-AUTHOR: jason.nadro
#ROBOMERGE-SOURCE: CL 18939097 in //UE5/Release-5.0/... via CL 18939266 via CL 18939489
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18939512 by jason nadro in ue5-main branch]
2022-02-10 13:12:42 -05:00
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