Commit Graph

5355 Commits

Author SHA1 Message Date
dmytro vovk
345e65f5cd Fixed static analyzer warnings.
Courtasy of Mickael.Gilabert

#rb Jeremy.Moore
#jira none
#fyi Mickael.Gilabert

[CL 16775244 by dmytro vovk in ue5-main branch]
2021-06-24 12:32:25 -04:00
Arciel Rekman
50fb294955 Make FFT Bloom work with -rhivalidation (UE-116006).
- Works with both Fits and !FitsInGroupShared (multipass) modes.

#rb Mihnea.Balta, Carl.Lloyd
#review-16769211 @Mihnea.Balta, @Carl.Lloyd, @JeanNoe.Morisette
#jira UE-116006

[CL 16774894 by Arciel Rekman in ue5-main branch]
2021-06-24 11:57:17 -04:00
charles derousiers
b0f10a9c20 Fix shadow flickering when groom assets not supporting voxelization are visible.
#rb none
#lockdown michal.valient.


#ROBOMERGE-SOURCE: CL 16770641
#ROBOMERGE-BOT: (v836-16769935)

[CL 16770645 by charles derousiers in ue5-main branch]
2021-06-24 07:22:51 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Sebastien Hillaire
b026798251 Clarification of the current simple mapping from roughness to mip level used to achieve rough refraction with strata.
The render target now sotr the variance for a more linear accumulation.

#rb none

[CL 16761311 by Sebastien Hillaire in ue5-main branch]
2021-06-23 15:57:38 -04:00
charles derousiers
08a3866961 Fix invalid voxel resources if no hair instance within a macro groups requires voxelization.
In this case dummy voxel resources are allocated and used.

#rb none


#ROBOMERGE-SOURCE: CL 16760834
#ROBOMERGE-BOT: (v835-16672529)

[CL 16760857 by charles derousiers in ue5-main branch]
2021-06-23 15:15:51 -04:00
guillaume abadie
c1819a0532 Implements r.AntiAliasingMethod
#rb none
#preflight 60d33c8cd9586b000132acac


#ROBOMERGE-SOURCE: CL 16758022
#ROBOMERGE-BOT: (v835-16672529)

[CL 16758023 by guillaume abadie in ue5-main branch]
2021-06-23 11:38:33 -04:00
anousack kitisa
d1bf5b3883 Added support for animated width to GroomCache.
#rb Charles.deRousier


#ROBOMERGE-SOURCE: CL 16756543
#ROBOMERGE-BOT: (v835-16672529)

[CL 16756545 by anousack kitisa in ue5-main branch]
2021-06-23 10:10:31 -04:00
Sebastien Hillaire
f7bdac1c3d Starta rough refraction
- updated cvar name
- added high quality offset for smoother rough refraaction
- updated TryToClip logic...

#rb none

[CL 16754710 by Sebastien Hillaire in ue5-main branch]
2021-06-23 05:08:56 -04:00
Sebastien Hillaire
5c5f72e6b1 Strata rough refraction
- use computeutils to dispatch rdg compute
- added rdg GPU events
- tryclip is now allowed when final roughness is low

#rb none

[CL 16754594 by Sebastien Hillaire in ue5-main branch]
2021-06-23 04:22:20 -04:00
Sebastien Hillaire
29d7f05d96 Made the roughness buffer be higher precision as this is needed for smoother rough refraction transitions.
#rb none

[CL 16747453 by Sebastien Hillaire in ue5-main branch]
2021-06-22 15:28:15 -04:00
jeff newquist
9f3a885f04 Pass ownership of FHZBOcclusionTester::Primitives to RDG pass and let it release when the pass ends. Fixes crashes due to thread race conditions when FHZBOcclusionTester kept ownership.
#rb Zach.Bethel
#jira none

[CL 16745876 by jeff newquist in ue5-main branch]
2021-06-22 13:56:38 -04:00
graham wihlidal
3702c00d25 Added InstancePayloadDataOffset and InstancePayloadDataStride to primitive scene info and primitive uniform shader parameters. The range allocator has also been implemented, but no GPU resource allocations are performed at this time.
#rb ola.olsson
[FYI] brian.karis


#ROBOMERGE-SOURCE: CL 16745716
#ROBOMERGE-BOT: (v835-16672529)

[CL 16745792 by graham wihlidal in ue5-main branch]
2021-06-22 13:49:59 -04:00
christopher waters
7f0e942579 Parallel occlusion memory stomp fixes.
Since pointers to items inside InsertPrimitiveOcclusionHistory are stored, we cannot resize that array. To calculate the number of items that will be added, we have to count up all the visible items and any subqueries they might have. This incurs an iteration of the visibility list but hasn't incurred a drastic increase in time as measured in a few replays.

#jira none
#rb ben.woodhouse
#preflight 60d1faf2d4d7ac0001a8ee2b

[CL 16744401 by christopher waters in ue5-main branch]
2021-06-22 12:16:08 -04:00
guillaume abadie
23f7af0b23 Implements TSR's spatial anti-aliasing for history rejection
#rb none


#ROBOMERGE-SOURCE: CL 16744212
#ROBOMERGE-BOT: (v835-16672529)

[CL 16744225 by guillaume abadie in ue5-main branch]
2021-06-22 12:07:19 -04:00
guillaume abadie
d57405a01c Fixes SSGI caused by wrong texture being extracted into ViewState->PrevFrameViewInfo.ScreenSpaceRayTracingInput
#rb none
[FYI] zach.bethel


#ROBOMERGE-SOURCE: CL 16744132
#ROBOMERGE-BOT: (v835-16672529)

[CL 16744158 by guillaume abadie in ue5-main branch]
2021-06-22 12:03:46 -04:00
Jeremy Moore
c2db35fd81 #jira UE-118697
Fix crash when removing virtual texture callbacks no callbacks are found.
#fyi ben.ingram

[CL 16744054 by Jeremy Moore in ue5-main branch]
2021-06-22 11:58:06 -04:00
Sebastien Hillaire
6da18c09b0 Fixed compilation error on GLES platofrms
#rb none

[CL 16740138 by Sebastien Hillaire in ue5-main branch]
2021-06-22 05:37:33 -04:00
Sebastien Hillaire
a3517298cc Added basic gaussian blur to the scene color buffer in order to approximate rough refraction.
Separated from bloom for now.
This should be resolution independent (will need more test down the line)
Maximum filter sample count is capped.

#rb none
#fyi charles.derousiers

[CL 16739838 by Sebastien Hillaire in ue5-main branch]
2021-06-22 03:52:38 -04:00
Ola Olsson
e9276fc6db Combing GPU-Scene instance culling and the id-list generation into one step, and the same for VSM
- Uses the InstanceCullingLoadBalancer to pre-distribute the work on the CPU to ensure even load.
 - Make instance culling use the instance data offset in MDC instead of translating primitive IDs.
 - Track single-instance draws separately from instanced to optimize handling (disable culling for single-instance primitives).

#rb Graham.wihlidal,andrew.lauritzen
#fyi dmitriy.dyomin
#preflight 60d0eafa2ab2180001269160

[CL 16733827 by Ola Olsson in ue5-main branch]
2021-06-21 16:51:39 -04:00
Ola Olsson
5a8a842546 Move InstanceCullingLoadBalancer into a sparate set of files
#rb Graham.Wihlidal
#preflight 60d0c44395e232000144a370

[CL 16730801 by Ola Olsson in ue5-main branch]
2021-06-21 14:18:52 -04:00
Ola Olsson
fe64cb01af Add InstanceSceneDataOffset to visible/cached mesh draw commands and propagate
- Intermediate step towards making renderer instance-first.
 - Enables simplification of instance culling setup.

#rb Krzysztof.Narkowicz

[CL 16729395 by Ola Olsson in ue5-main branch]
2021-06-21 12:25:46 -04:00
jeanfrancois dube
171a3140ea Saves over 100ms (RT) on console (~10ms on PC) in Test target in a large world using HLODs in FVirtualTextureProducerCollection::RemoveAllCallbacks.
#rb jeremy.moore, ben.ingram


#ROBOMERGE-SOURCE: CL 16729152
#ROBOMERGE-BOT: (v835-16672529)

[CL 16729168 by jeanfrancois dube in ue5-main branch]
2021-06-21 12:13:33 -04:00
dmytro vovk
abd3a59d4d Removed ES 3.1 redundant feature level checks
#jira none
#rb Dmitriy.Dyomin

[CL 16727513 by dmytro vovk in ue5-main branch]
2021-06-21 09:19:59 -04:00
Jeremy Moore
e21efc4b4a Fix crash creating UAV from nullptr velocity buffer.
#fyi Ola.Olsson

[CL 16727115 by Jeremy Moore in ue5-main branch]
2021-06-21 07:56:09 -04:00