Commit Graph

5279 Commits

Author SHA1 Message Date
charles derousiers
ddedd9ec4c Change ShaderDraw API to be less verbose.
#rb none

#ROBOMERGE-SOURCE: CL 16608256 via CL 16608278
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16608294 by charles derousiers in ue5-release-engine-test branch]
2021-06-09 13:17:41 -04:00
charles derousiers
6b37ab321e Rename GpuDebugRendering -> ShaderDebug to be consistent with ShaderPrint.
#rb none

#ROBOMERGE-SOURCE: CL 16606836 via CL 16606856
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16606860 by charles derousiers in ue5-release-engine-test branch]
2021-06-09 12:16:51 -04:00
arciel rekman
1aeaed1309 Use material asset names, and not friendly names, for debug markers.
- Friendly name ignores material instances for historical reasons (it should really be using a debug name on the shadermap).

#rb Kevin.Ortegren
#jira none

#ROBOMERGE-SOURCE: CL 16606161 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16606165 by arciel rekman in ue5-release-engine-test branch]
2021-06-09 11:40:50 -04:00
charles derousiers
f045d69476 Move shader draw debug lock data onto the view state.
#rb none

#ROBOMERGE-SOURCE: CL 16606068 via CL 16606075
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16606077 by charles derousiers in ue5-release-engine-test branch]
2021-06-09 11:33:07 -04:00
jeremy moore
a71ee30809 Back out changelist 16586428 which is breaking ISM
#ROBOMERGE-SOURCE: CL 16604141 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16604175 by jeremy moore in ue5-release-engine-test branch]
2021-06-09 09:38:37 -04:00
graham wihlidal
6f93930e59 Instance data optimizations - removed NonUniformScale and InvNonUniformScale from CPU, since they are already derived on the GPU from LocalToWorld as of CL 15961534
#rb ola.olsson
[FYI] brian.karis, rune.stubbe, krzysztof.narkowicz

#ROBOMERGE-SOURCE: CL 16590891 via CL 16590932
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16590946 by graham wihlidal in ue5-release-engine-test branch]
2021-06-08 15:22:21 -04:00
graham wihlidal
70093e350c Instance data optimization - removed RenderBounds member, and refactored LocalBounds
#rb ola.olsson
[FYI] brian.karis, rune.stubbe, krzysztof.narkowicz

#ROBOMERGE-OWNER: graham.wihlidal
#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 16590738 via CL 16590845
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16590853 by graham wihlidal in ue5-release-engine-test branch]
2021-06-08 15:19:37 -04:00
rolando caloca
2b31eecfd4 UE5 - Fix texture not getting released
[FYI] charles.derousiers
#rnx
#rb trivial

#ROBOMERGE-SOURCE: CL 16590589 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16590596 by rolando caloca in ue5-release-engine-test branch]
2021-06-08 14:57:23 -04:00
Rolando Caloca
5e45490366 UE5 - Fix texture not getting released
#fyi charles.derousiers
#rnx
#rb trivial

[CL 16590589 by Rolando Caloca in ue5-main branch]
2021-06-08 14:57:05 -04:00
ola olsson
d2e2bb5873 Moved Allocate/Free of GPU-Scene Instance out of AddToScene/RemoveFromScene as these are called for primitive transform updates.
#preflight 60bf262b0c76f90001ddb21d
#rb rune.stubbe,Krzysztof.Narkowicz

#ROBOMERGE-OWNER: ola.olsson
#ROBOMERGE-AUTHOR: ola.olsson
#ROBOMERGE-SOURCE: CL 16589643 via CL 16590284
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16590290 by ola olsson in ue5-release-engine-test branch]
2021-06-08 14:34:49 -04:00
ola olsson
131fbfdb66 Moved Allocate/Free of GPU-Scene Instance out of AddToScene/RemoveFromScene as these are called for primitive transform updates.
#preflight 60bf262b0c76f90001ddb21d
#rb rune.stubbe,Krzysztof.Narkowicz


#ROBOMERGE-OWNER: ola.olsson
#ROBOMERGE-AUTHOR: ola.olsson
#ROBOMERGE-SOURCE: CL 16589643
#ROBOMERGE-BOT: (v828-16531559)
#ROBOMERGE-CONFLICT from-shelf

[CL 16590284 by ola olsson in ue5-main branch]
2021-06-08 14:33:44 -04:00
eric mcdaniel
1c1653a3cb Fix for mesh lod selection when rendering into virtual texture
- virtual texture mesh lod range can have no intersection with available lods for the mesh
  - this resulted in attempted rendering of the mesh lod corresponding to the range max which may not be streamed in
    - we now render the highest detail mesh lod streamed in into the VT in this case even if it falls outside the desired range

#rb David.Harvey, Jian.Ru
#jira UE-116401, UE-116589

#ROBOMERGE-SOURCE: CL 16587795 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16587799 by eric mcdaniel in ue5-release-engine-test branch]
2021-06-08 11:29:14 -04:00
eric mcdaniel
a8bd1fae30 Fix for mesh lod selection when rendering into virtual texture
- virtual texture mesh lod range can have no intersection with available lods for the mesh
  - this resulted in attempted rendering of the mesh lod corresponding to the range max which may not be streamed in
    - we now render the highest detail mesh lod streamed in into the VT in this case even if it falls outside the desired range

#rb David.Harvey, Jian.Ru
#jira UE-116401, UE-116589

[CL 16587795 by eric mcdaniel in ue5-main branch]
2021-06-08 11:28:47 -04:00
ola olsson
db2db203c2 Move SetupGPUInstancedDraws into FInstanceCullingContext
- provides easier iteration on related code, plus sets the stage for abstraction for desktop/mobile version.
#preflight 60bf64925bc96f0001ba7fe1

#ROBOMERGE-SOURCE: CL 16587267 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16587298 by ola olsson in ue5-release-engine-test branch]
2021-06-08 10:55:24 -04:00
Ola Olsson
075ef36828 Move SetupGPUInstancedDraws into FInstanceCullingContext
- provides easier iteration on related code, plus sets the stage for abstraction for desktop/mobile version.
#preflight 60bf64925bc96f0001ba7fe1

[CL 16587267 by Ola Olsson in ue5-main branch]
2021-06-08 10:54:17 -04:00
jeremy moore
8e52b749f4 #jira UE-116517
Set the FMeshBatch::bUseAsOccluder hint correctly for static mesh.
The value is read in FDepthPassMeshProcessor::AddMeshBatch which then re-evaluates the condition if the hint has been set to false.
This fixes issue that static mesh with bUseAsOccluder false renders in depth pass.

#ROBOMERGE-SOURCE: CL 16586428 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16586434 by jeremy moore in ue5-release-engine-test branch]
2021-06-08 09:40:09 -04:00
Jeremy Moore
628075d73a #jira UE-116517
Set the FMeshBatch::bUseAsOccluder hint correctly for static mesh.
The value is read in FDepthPassMeshProcessor::AddMeshBatch which then re-evaluates the condition if the hint has been set to false.
This fixes issue that static mesh with bUseAsOccluder false renders in depth pass.

[CL 16586428 by Jeremy Moore in ue5-main branch]
2021-06-08 09:39:58 -04:00
sebastien hillaire
c797959c86 Fixed lighting debug probes to not render in refelction captures.
#rb none

#ROBOMERGE-SOURCE: CL 16585997 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16586000 by sebastien hillaire in ue5-release-engine-test branch]
2021-06-08 08:19:40 -04:00
Sebastien Hillaire
c0e7df41b3 Fixed lighting debug probes to not render in refelction captures.
#rb none

[CL 16585997 by Sebastien Hillaire in ue5-main branch]
2021-06-08 08:19:22 -04:00
sebastien hillaire
ee87d3621c Skylight now do an incomplete capture every 5 seconds even when the world is not yet ready (to progressively refine captured skylight)
Made an enum class and removed unecessary code.

#rb none
[FYI] Daniel.Wright

#ROBOMERGE-SOURCE: CL 16585936 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16585938 by sebastien hillaire in ue5-release-engine-test branch]
2021-06-08 08:05:10 -04:00
Sebastien Hillaire
72896cca18 Skylight now do an incomplete capture every 5 seconds even when the world is not yet ready (to progressively refine captured skylight)
Made an enum class and removed unecessary code.

#rb none
#fyi Daniel.Wright

[CL 16585936 by Sebastien Hillaire in ue5-main branch]
2021-06-08 08:04:55 -04:00
wei liu
69496c562c 1. Fix a bug of missing velocity due to wrong LoadAction for parallel rendering.
2. Add a project setting option to avoid generating velocity and TAA shader unexpectly for mobile platform.

#jira none

#rb Dmitriy.Dyomin, Guillaume.Abadie


#ROBOMERGE-SOURCE: CL 16584354 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16584358 by wei liu in ue5-release-engine-test branch]
2021-06-08 06:01:29 -04:00
Wei Liu
de5a48902e 1. Fix a bug of missing velocity due to wrong LoadAction for parallel rendering.
2. Add a project setting option to avoid generating velocity and TAA shader unexpectly for mobile platform.

#jira none

#rb Dmitriy.Dyomin, Guillaume.Abadie

[CL 16584354 by Wei Liu in ue5-main branch]
2021-06-08 06:01:07 -04:00
ola olsson
d321837057 Increase limit of instances possible in CullInstances to 16M
#preflight 60be2bd53ba4c30001b03965

#rb rune.stubbe
[FYI] charles.derousiers

#ROBOMERGE-SOURCE: CL 16584147 via CL 16584172
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16584177 by ola olsson in ue5-release-engine-test branch]
2021-06-08 05:02:16 -04:00
ola olsson
799374b7a0 Increase limit of instances possible in CullInstances to 16M
#preflight 60be2bd53ba4c30001b03965

#rb rune.stubbe
[FYI] charles.derousiers


#ROBOMERGE-SOURCE: CL 16584147
#ROBOMERGE-BOT: (v828-16531559)

[CL 16584172 by ola olsson in ue5-main branch]
2021-06-08 05:01:40 -04:00