* Updates to the VirtualShadowMapArrayCacheManager to support the invalidation of cache pages upon removal of dynamic primitives
* Various updates and fixes to support writing dynamic primitives' instance scene data and instance payload data from the GPU
* All these changes are needed by a few existing systems that will be using them soon to render via GPU Scene
(NOTE: This change is a resubmit of 18375369 with CIS fixes that caused it to be backed out)
#rb ola.olsson
#preflight 61ae4176353890ce23d75a95
#ROBOMERGE-AUTHOR: jamie.hayes
#ROBOMERGE-SOURCE: CL 18384716 in //UE5/Release-5.0/... via CL 18384780
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)
[CL 18384814 by jamie hayes in ue5-release-engine-test branch]
[FYI] jamie.hayes
Original CL Desc
-----------------------------------------------------------------
* Updates to GPU Scene and the GPUSceneCollector to support handling the upload of multiple instances and instance payload data for dynamic primitives
* Updates to the VirtualShadowMapArrayCacheManager to support the invalidation of cache pages upon removal of dynamic primitives
* Various updates and fixes to support writing dynamic primitives' instance scene data and instance payload data from the GPU
* All these changes are needed by a few existing systems that will be using them soon to render via GPU Scene
#rb ola.olsson
#ROBOMERGE-AUTHOR: aurel.cordonnier
#ROBOMERGE-SOURCE: CL 18375767 via CL 18375771 via CL 18375781
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
[CL 18375783 by aurel cordonnier in ue5-release-engine-test branch]
* Updates to the VirtualShadowMapArrayCacheManager to support the invalidation of cache pages upon removal of dynamic primitives
* Various updates and fixes to support writing dynamic primitives' instance scene data and instance payload data from the GPU
* All these changes are needed by a few existing systems that will be using them soon to render via GPU Scene
#rb ola.olsson
#ROBOMERGE-AUTHOR: jamie.hayes
#ROBOMERGE-SOURCE: CL 18359911 via CL 18375369 via CL 18375397
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
[CL 18375424 by jamie hayes in ue5-release-engine-test branch]
- Add some dither noise to both the SMRT result and the shadow mask lookup to minimize banding
- Fall back to a single sample VSM lookup (with a generous static bias) when overflowing the number of lights in one pass projection path
- Fix clamping issue with page dilation that was setting extraneous pages with point lights
- Fix SMRT issue with local lights jammed right next to geometry viewed at a distance
- Separate settings for page dilation for local and directional lights
- Add simple debug output for # lights in one pass projection
- Remove some dead code/parameters
#ROBOMERGE-AUTHOR: andrew.lauritzen
#ROBOMERGE-SOURCE: CL 18279117 via CL 18373418 via CL 18373449
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
[CL 18373485 by andrew lauritzen in ue5-release-engine-test branch]
This mainly solved missing body geometry during one/two frame during the WU sequence.
#rb michael.forot, krzysztof.narkowicz
#preflight 616ddefb93c2340001aa67ad
#lockdown michal.valient
#ROBOMERGE-AUTHOR: charles.derousiers
#ROBOMERGE-SOURCE: CL 17852907 via CL 18003995 via CL 18369732 via CL 18369808
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
[CL 18369848 by charles derousiers in ue5-release-engine-test branch]
* Every HWRT trace marks sampled pages with a current frame index, by writing to a last used page array
* There are two arrays, one for always resident pages and one for high res pages. This allows to prioritize high res updates (things visible in reflections)
Controlled using r.LumenScene.Lighting.Feedback 0
No measurable impact on performance.
Misc:
* Added various update rate visualizations to visualize feedback and page lighting updates
* Removed DIFFUSE_TRACE_CARDS leftover from early Lumen days
* Disable feedback when Lumen surface cache is frozen (for debugging purposes)
* Disabled feedback in DF tracing as anyway it worked only in visualization mode
#preflight 615360b86ca137000135ed25
#rb Daniel.Wright
#lockdown Michal.Valient
#ROBOMERGE-OWNER: aurel.cordonnier
#ROBOMERGE-AUTHOR: krzysztof.narkowicz
#ROBOMERGE-SOURCE: CL 17651894 via CL 17965404 via CL 18365601 via CL 18365738
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
[CL 18365813 by aurel cordonnier in ue5-release-engine-test branch]
- Use InstanceSceneData instead of caching local transform (r.CachedRayTracingInstances.CacheLocalTransform).
- Lazily cache world trasform (r.CachedRayTracingInstances.LazyUpdate).
#preflight 6153142dcf40300001a92512
#rb Yuriy.ODonnell
#lockdown Michal.Valient
#ROBOMERGE-AUTHOR: tiago.costa
#ROBOMERGE-SOURCE: CL 17646840 via CL 17965126 via CL 18365527 via CL 18365611
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
[CL 18365727 by tiago costa in ue5-release-engine-test branch]
* Added FLumenRadianceCacheHardwareRayTracingCS and FLumenReflectionHardwareRayTracingCS that use TraceRayInline.
* Added LumenHardwareRayTracingHitDataBuffer to store hit group user data for access in compute shader.
* Temporarily expose number of segments from FRayTracingGeometry for building hit data buffer.
#rb Yuriy.Odonnell Patrick.Kelly Krzysztof.Narkowicz
#preflight 6149bc35338ee50001417239
#lockdown michal.valient
#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: aleksander.netzel
#ROBOMERGE-SOURCE: CL 17592885 via CL 17953988 via CL 18364723 via CL 18364790
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
[CL 18364812 by jon nabozny in ue5-release-engine-test branch]
Bonus: Saves about 1.1 MS in the current branch.
[at]juan.canada, [at]ryan.vance, [at]patrick.kelly
#preflight 614364b9b5a4fa0001630d89
#lockdown andrew.firth
#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: brandon.dawson
#ROBOMERGE-SOURCE: CL 17552671 via CL 17946035 via CL 18363833 via CL 18363966
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
[CL 18364062 by jon nabozny in ue5-release-engine-test branch]