Commit Graph

203 Commits

Author SHA1 Message Date
benjamin rouveyrol
7a21ea463f hdr multi window/display support
This improves how the editor deals with displays that have different capabilities (some with HDR, others without).
Centralize where the CVars are accessed
Have the swapchain created in SDR when shown on a SDR display
Make sure color gamut matches the one supported by the platform/swapchain.
Allow Movie scene capture to override the gamut/output format to keep existing behaviour (MovieSceneCapture relies on swapchain data)

#preflight 628baef5183c1e13462a504d
#jira UE-150952
#rb luke.thatcher

[CL 20347067 by benjamin rouveyrol in ue5-main branch]
2022-05-24 09:04:39 -04:00
benjamin rouveyrol
30ea8aca4f Have r.HDR.Display.OutputDevice enum values defined in a single place and replaced hardcoded numbers by enum values.
#preflight 62559eb569015afc27ac1833
#jira UE-148598
#rb eric.mcdaniel

[CL 19784660 by benjamin rouveyrol in ue5-main branch]
2022-04-18 09:20:23 -04:00
rod bogart
26c12f9d27 PostProcess: Fix to allow HighlightsMin value greater than 1.0
#jira UE-140094
#rb brian.karis
#lockdown alejandro.arango
#preflight 620af50dbb6a072d17c35292

#ROBOMERGE-AUTHOR: rod.bogart
#ROBOMERGE-SOURCE: CL 18989644 in //UE5/Release-5.0/... via CL 18992576 via CL 18992949
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18997184 by rod bogart in ue5-main branch]
2022-02-15 11:29:38 -05:00
guillaume abadie
0ab6b37297 Change the tonemapper's output pixel format to match the view family's pixel format to avoid bitdepth losses in editor
#rb none
#jira none
#preflight 61f7ca67d07695194b08084b

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

[CL 18788300 by guillaume abadie in ue5-main branch]
2022-01-31 07:25:07 -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
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
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
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05: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
tiago costa
b009886be2 Local Exposure using Bilaterial Grid based Contrast Reduction.
- Image exposure is locally adjusted by decomposing luminance of the frame into a base layer and a detail layer.
- Base layer contrast can be reduced while preserving detail.
- Support blending with gaussian blurred luminance as proposed in Advances in Real-Time Rendering in Games 2021.
- Controls in PostProcessVolume.
- r.LocalExposure cvar to control whether local exposure is supported.
- Visualization mode in "Show->Visualize->Local Expsoure". Multiple modes controllable using r.LocalExposure.VisualizeDebugMode.
- Bilateral grid generation not yet optimized. Optimization should include increasing depth of grid to match histogram size so that global histogram can be generated from grid.
- Added option to use mirror address mode in PostProcessWeightedSampleSum, since black border adds noticeable vignetting to the blurred luminance.

#preflight 612f65169db3090001ba3eec
#rb Brian.Karis, Guillaume.Abadie, Krzysztof.Narkowicz

#ROBOMERGE-SOURCE: CL 17385317 via CL 17387198
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17387234 by tiago costa in ue5-release-engine-test branch]
2021-09-01 11:22:04 -04:00
guillaume abadie
8c0653fd4c Film grain change for pete
#rb none
#preflight trivial

#ROBOMERGE-SOURCE: CL 17074888 via CL 17075937
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17075989 by guillaume abadie in ue5-release-engine-test branch]
2021-08-05 17:16:50 -04:00
florin pascu
4eb62c93ed Remove MOBILE_PROPAGATE_ALPHA shader define
Temporary remove premultiply alpha
FXAA luminance calculation moved from tonemapper to FXAA when MobilePropagateAlpha enabled
#rb Dmitriy.Dyomin
#jira none
#preflight 610c117c6b1f8c0001720cfb

#ROBOMERGE-SOURCE: CL 17074095 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17074105 by florin pascu in ue5-release-engine-test branch]
2021-08-05 15:22:21 -04:00
guillaume abadie
fc8bf08121 Fixes warning in FilmGrain
#rb none
#preflight none

#ROBOMERGE-SOURCE: CL 17049329 via CL 17049336
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17049929 by guillaume abadie in ue5-release-engine-test branch]
2021-08-04 09:34:21 -04:00
guillaume abadie
f2e8f7658f Removes film grain decode parameters in FPostProcessSettings
#rb none
#preflight 610a758b5b2fb80001cc4a51

#ROBOMERGE-SOURCE: CL 17048320 via CL 17048322
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17048323 by guillaume abadie in ue5-release-engine-test branch]
2021-08-04 07:54:36 -04:00
guillaume abadie
5c6b9a807e Fixes warnings in FFT bloom
#rb none
#preflight none

#ROBOMERGE-SOURCE: CL 17028354 via CL 17028356
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v845-17028103)

[CL 17028360 by guillaume abadie in ue5-release-engine-test branch]
2021-08-03 07:02:06 -04:00
guillaume abadie
5ee6c0677f Applies FFT bloom to scene color in tonemaper pass
#rb none
#preflight 6108fb105938f90001f46485
[FYI] david.hill

#ROBOMERGE-SOURCE: CL 17027723 via CL 17027778
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v843-17027566)

[CL 17027795 by guillaume abadie in ue5-release-engine-test branch]
2021-08-03 06:12:26 -04:00
guillaume abadie
f228d27922 Fixes static analysis in tonemapper
#rb none

#ROBOMERGE-SOURCE: CL 16885602 via CL 16913544
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16913796 by guillaume abadie in ue5-release-engine-test branch]
2021-07-21 15:22:35 -04:00
guillaume abadie
00de1d8580 Implements FilmGrain intensity controls for shadows, midtones and highlights
#rb none

#ROBOMERGE-SOURCE: CL 16854338 via CL 16854341
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16854351 by guillaume abadie in ue5-release-engine-test branch]
2021-07-14 15:59:32 -04:00
guillaume abadie
543158f0d8 Fixes the desktop tonemaper for Android
#rb none
#lockdown michal.valient

#ROBOMERGE-SOURCE: CL 16825060 via CL 16825082
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16825094 by guillaume abadie in ue5-release-engine-test branch]
2021-07-12 10:11:22 -04:00
guillaume abadie
b1eb10cb8e Replaces old grain jitter with a proper FilmGrain using tiled repeated texture.
Waiting on ITH-152309 to compress memory footprint of Marcie_Grain texture that is used by default.

#rb none
#lockdown michal.valient

#ROBOMERGE-SOURCE: CL 16824567 via CL 16824585
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16824594 by guillaume abadie in ue5-release-engine-test branch]
2021-07-12 09:11:35 -04:00
danny couture
25c6066c53 Prepare for the deprecation of direct access to the Resource member of UTexture in favor of the GetResource() accessor.
#rb Francis.Hurteau
#preflight 609e5182ef86d30001ad0a18
#rnx

#ROBOMERGE-SOURCE: CL 16328103 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16328107 by danny couture in ue5-release-engine-test branch]
2021-05-14 07:17:49 -04:00
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
Guillaume Abadie
07bc47754f Implements FScreenTransform with operator overload to construct custom viewport transformations easily
#rb zach.bethel

[CL 16114603 by Guillaume Abadie in ue5-main branch]
2021-04-26 11:28:05 -04:00