Commit Graph

156 Commits

Author SHA1 Message Date
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
zach bethel
056a26cddd Refactored uniform buffers to use static bindings as opposed to FPersistentUniformBuffers across the deferred renderer. This removes the view uniform buffer and reflection capture uniform buffers from mesh draw commands and reduces the use of RHIUpdateUniformBuffers.
- View / InstancedView uniform buffers are now bound through RDG directly from the FViewInfo, or created on-demand for cases like jitter-free custom depth.
 - Removed most of the custom persistent view uniform buffers. Left one in Lumen to be done in a later CL.
 - ReflectionCapture uniform buffer is now bound at the RDG pass level.

#rb christopher.waters

[CL 14873982 by zach bethel in ue5-main branch]
2020-12-07 17:43:21 -04:00
zach bethel
53bdcb2ff4 Removed deprecated LPV feature from the engine.
#rb krzysztof.narkowicz, andrew.lauritzen, daniel.wright
#jira none

[CL 14516783 by zach bethel in ue5-main branch]
2020-10-19 15:06:44 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Michal Valient
95d19f95b1 [REVERB] Merging //UE4/Private-Reverb-Development@13832732
#rb graham.wihlidal, rune.stubbe, brian.karis, andrew.lauritzen, jeff.farris

[CL 13834854 by Michal Valient in ue5-main branch]
2020-07-06 18:58:26 -04:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Guillaume Abadie
75a289c0f6 Moves FReflectionEnvironmentSkyLightingPS into IndirectLightRendering.cpp
#rb none
#fyi juan.canada

[CL 10490646 by Guillaume Abadie in Main branch]
2019-12-02 17:12:08 -05:00
brandon schaefer
82c4789369 Missing if/def around GetRayTracingReflectionsSamplesPerPixel
#jira none
#rb Juan.Canada
[FYI] Riley.Alston
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 10476536 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v595-10452236)

[CL 10476539 by brandon schaefer in Main branch]
2019-11-27 16:56:37 -05:00
riley alston
e7da351115 Fix a crash with ray traced reflections set to 0spp and move samples per pixel calculation to a function.
#rb none
#jira none
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 10475574 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v595-10452236)

[CL 10475577 by riley alston in Main branch]
2019-11-27 15:24:31 -05:00
luke thatcher
93c7ddf2b1 Remove ClearCubeArray and fix creation of cube array resources in the reflection environment.
- Old code was clamping the minimum number of cubes in the reflection environment cube array to 2, to force that the RHI resource was always an array, rather than a single cube.
 - This only seemed to be necessary because the pooled render target desc function only set bIsArray to true if InArraySize > 1.
 - Adding a CreateCubemapArrayDesc function removes the need to clamp the num slices, so now we allocate the number of cubes we actually need. This also solves the validation warnings that CL 10112521 was originally working around.

#rb Jonas.Meyer
#jira UE-84861
#lockdown nick.penwarden

#ROBOMERGE-SOURCE: CL 10335365 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v594-10333955)

[CL 10335366 by luke thatcher in Main branch]
2019-11-21 09:58:33 -05:00
jonas meyer
fa80cbd7ff Only clear last cubearray.
This is a workaround for the clearing of the cubemap overwriting the upload of it.
#jira UE-84333
#rb none
#lockdown nick.penwarden

#ROBOMERGE-SOURCE: CL 10318579 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v593-10286020)

[CL 10318584 by jonas meyer in Main branch]
2019-11-20 08:50:09 -05:00
jonas meyer
5e2c3f951b Lots of vulkan validation work:
-Debug Names for images for helping track down validation errors
-When the reflection environment rounds up to 2 cubemaps, explicitly clear it to avoid a validation error
-Shadowmask texture is now properly transitioned to read.
-Add Missing transtion for LightScatteringHistoryTexture
-Add Ensure when updating descriptorset, to catch validation errors when texture is set
-Fixed an issue in transition resources, where it would use the incorrect no. of subresources
-Add VK_QUERY_RESULT_WAIT_BIT to ensure Query results are actually ready when copied back to result buffer
#rb rolando.caloca
#lockdown nick.penwarden
#jira none

#ROBOMERGE-OWNER: jonas.meyer
#ROBOMERGE-AUTHOR: jonas.meyer
#ROBOMERGE-SOURCE: CL 10112521 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v587-10111126)

[CL 10112575 by jonas meyer in Main branch]
2019-11-12 10:29:49 -05:00
juan canada
1e777cdeb9 Refactor ray tracing reflections in multiview mode to remove unnecesary work and keep coherency with raster path.
#jira UE-72557
#rb none
[FYI] guillaume.abadie

#ROBOMERGE-SOURCE: CL 9961996 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v558-9892490)

[CL 9961997 by juan canada in Main branch]
2019-11-01 18:26:08 -04:00
juan canada
4d06575cd6 Added multiview support for ray tracing.
TODO: denoisers do not work in multiview mode yet

#jira UE-72557
#rb charles.derousiers

#ROBOMERGE-SOURCE: CL 9688884 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v538-9681622)

[CL 9688885 by juan canada in Main branch]
2019-10-18 10:35:06 -04:00
Rolando Caloca
f83ae4807a Copying //UE4/Dev-Rendering@9317594 to Dev-RenderPlat-Staging
#rb none
#rnx

[CL 9317904 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2019-10-01 13:03:04 -04:00
Michael Lentine
9db7de9fdf Copying //UE4/Dev-Physics to Dev-Main (//UE4/Dev-Main) [at] 9098278
#rb none
#rnx

[CL 9098401 by Michael Lentine in Main branch]
2019-09-25 13:55:37 -04:00
Marcus Wassmer
6517c68ef5 Copying //UE4/Dev-RenderPlat-Staging@8684824 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 8684840 by Marcus Wassmer in Main branch]
2019-09-14 09:45:25 -04:00
krzysztof narkowicz
05835cbff2 Fixed DFAO artifacts in the distance. DFAO distance fade out was done before the history blending and final upscaling. This caused bent normal artifacts in the distance where no DFAO computation takes place. Fixed it by replacing existing fade out with a fade out to world space normal after final upscaling.
#rb none


#ROBOMERGE-SOURCE: CL 8366117 via CL 8368984
#ROBOMERGE-BOT: (v402-8361577)

[CL 8369108 by krzysztof narkowicz in Main branch]
2019-08-28 21:01:15 -04:00
zach bethel
88a7502f0f Hand-integration of ERenderGraphPassFlags enum rename.
#jira none
#rb none

#ROBOMERGE-SOURCE: CL 7461344 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7461347 by zach bethel in Main branch]
2019-07-19 14:19:12 -04:00
kevin ortegren
8b0be86469 The scene cubemap texture array for reflection captures is no longer bound if no reflection captures are present, instead it falls back to the default cube texture array. In addition to this, index -1 is never used anymore, instead 0 is used when no reflection captures are present as that will sample the default cubemap texture array.
#rb krzysztof.narkowicz


#ROBOMERGE-SOURCE: CL 7308415 via CL 7315119
#ROBOMERGE-BOT: (v371-7306989)

[CL 7318605 by kevin ortegren in Main branch]
2019-07-16 05:53:27 -04:00
rolando caloca
83c57c2a0f UE4.23 - Deprecate FUniformBufferRHIParamRef, FIndexBufferRHIParamRef, FVertexBufferRHIParamRef, FStructuredBufferRHIParamRef, FTextureRHIParamRef, FTexture2DRHIParamRef, FTexture2DArrayRHIParamRef, FTexture3DRHIParamRef, FTextureCubeRHIParamRef
#rb none
#jira UE-76364

#ROBOMERGE-SOURCE: CL 7046967 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7047009 by rolando caloca in Main branch]
2019-06-17 13:39:07 -04:00
Rolando Caloca
aa0d2303d6 Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main) @ 6944469
#rb none
#rnx

[CL 6944849 by Rolando Caloca in Main branch]
2019-06-11 18:27:07 -04:00
sebastien hillaire
b9cd0c5de8 Fixed many issues related to reflection
- Clarified top and bottom layers. Default material only has top layer.
- Reverted clear coat code doing an extra loop for sky sampling causing issues on other materials (wrongly receiving sky color)
- Fixed clear coat appearance when MaxDistance!=-1
- Fixed black reflexions due to R pointing into the surface using the clear coat normal (assuming it is smooth so only a half kind of a fix, a proper fix would involve sending the geometry normal in the payload)
- Tested: works with fog, with/without reflection volume, and with/without deferred material evaluation

#rb Charles.DeRousiers
#jira none, but agreed with Juan Canada and Nick Penwarden that it should go in (for correctenss of reflections and entreprise coated material)
#lockdown nick.penwarden

#ROBOMERGE-SOURCE: CL 5491314 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5491315 by sebastien hillaire in Main branch]
2019-03-21 04:58:10 -04:00
sebastien hillaire
1d607f399d Ray traced reflection can now correctly fallback to environment lighting contribution with sky visible from primary reflection ray.
With or without Reflection.MaxDistance at -1.

#rb Charles.DeRousiers
[FYI] Juan.Canada, Patrick.Kelly

#jira none

#ROBOMERGE-SOURCE: CL 5424707 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5424710 by sebastien hillaire in Main branch]
2019-03-18 03:40:09 -04:00
guillaume abadie
4fd68fb02f Makes some changes to the reflection denoiser interface and render graph for third party denoiser plugins.
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 5400110 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5400117 by guillaume abadie in Main branch]
2019-03-14 15:33:56 -04:00