Commit Graph

16 Commits

Author SHA1 Message Date
Jeremy Moore
ab646ffa51 Tidy virtual texture update event markers.
#rnx
#jira none
#rb none

[CL 14957303 by Jeremy Moore in ue5-main branch]
2020-12-18 16:35:14 -04:00
Ola Olsson
69d2af54aa Refactored GPU-Scene to store per-view dynamic primitives (for all views) in the one and primitive data buffer, after the regular primitives.
- Added step after dynamic primitives are gathered to allocate a range in GPU scene for the dynamic primitives.
- Moved more GPU-Scene functionality to member functions to clean up references to internal data
- Removed the PrimitiveShaderDataBuffer/Texture from FSceneViewState
- Removed OneFramePrimitiveShaderDataBuffer/Texture from FViewInfo
- Encapsulated the collection of dynamic primitive data for upload to avoid uploading twice and prepare for parallel upload.

#rb Krzysztof.Narkowicz,graham.wihlidal

[CL 14785776 by Ola Olsson in ue5-main branch]
2020-11-19 05:23:44 -04:00
zach bethel
2bc88676d6 Converted virtual texture system and GPU lightmass to RDG.
#rb yujiang.wang, jeremy.moore
#jira none

[CL 14581416 by zach bethel in ue5-main branch]
2020-10-26 16:44:44 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
jeremy moore
8d944d513c Runtime virtual texture world height packing now depends on the volume extents.
Fixes precision issues raised by a number of licensees (for example UDN558460).
#jira none
#rb none

#ROBOMERGE-SOURCE: CL 12237042 in //UE4/Release-4.25/... via CL 12237054
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v664-12234175)

[CL 12239488 by jeremy moore in Main branch]
2020-03-17 23:19:30 -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
jeremy moore
1744513472 Fix usage of non-UAV compatible formats that were breaking Windows7 build PCs
#ROBOMERGE-SOURCE: CL 9935415 via CL 9938097 via CL 9938158
#ROBOMERGE-BOT: (v558-9892490)

[CL 9938190 by jeremy moore in Main branch]
2019-10-31 16:06:30 -04:00
jeremy moore
55bb85a00d Support passing UAV of physical texture to RuntimeVirtualtexture::RenderPages
This will allow compressing direct to physical texture on platforms that support it
Some small RHI changes will have to be approved before turning on though


#ROBOMERGE-SOURCE: CL 9291051 via CL 9291054 via CL 9291057 via CL 9291060
#ROBOMERGE-BOT: (v452-9288972)

[CL 9291062 by jeremy moore in Main branch]
2019-09-29 17:29:22 -04:00
jeremy moore
85956ca3b0 Prepare for batched runtime virtual texture updates
#ROBOMERGE-SOURCE: CL 9289236 via CL 9290276 via CL 9290348 via CL 9290392
#ROBOMERGE-BOT: (v452-9288972)

[CL 9290546 by jeremy moore in Main branch]
2019-09-29 16:50:18 -04:00
jeremy moore
54e5f42aab Support for YCoCg encoding of the base color in runtime virtual textures
Gives much better quality result but encoding is slower and there is a 25% memory increase in the physical texture


#ROBOMERGE-SOURCE: CL 8997086 via CL 8997134 via CL 8997199
#ROBOMERGE-BOT: (v442-8990807)

[CL 8997226 by jeremy moore in Main branch]
2019-09-23 17:20:19 -04:00
jeremy moore
6408410933 Make runtime virtual texture page clear before render optional
#ROBOMERGE-SOURCE: CL 8417719 via CL 8421383
#ROBOMERGE-BOT: (v404-8404397)

[CL 8421466 by jeremy moore in Main branch]
2019-09-03 10:52:02 -04:00
jeremy moore
420df6872a Test that scene is ready to render and that material proxies are up to date before drawing RVT thumbnail
Fixes check firing in RHIUpdateUniformBuffer()


#ROBOMERGE-SOURCE: CL 8405326 via CL 8405516
#ROBOMERGE-BOT: (v404-8404397)

[CL 8405520 by jeremy moore in Main branch]
2019-09-02 12:38:54 -04:00
jeremy moore
67ce261d84 Making RuntimeVirtualTextureRender.h public so that it can be called by incoming thumbnail and baking systems
Add very simple debug shading mode to runtime virtual texture
Will extend to other modes later


#ROBOMERGE-SOURCE: CL 8126086 via CL 8131842
#ROBOMERGE-BOT: (v401-8057353)

[CL 8156543 by jeremy moore in Main branch]
2019-08-21 08:42:06 -04:00
jeremy moore
0e1455505d Runtime virtual texture flush per VT and region instead of flushing everything
#ROBOMERGE-SOURCE: CL 7882089 via CL 7914929
#ROBOMERGE-BOT: (v389-7813075)

[CL 7915095 by jeremy moore in Main branch]
2019-08-08 23:35:07 -04:00
jeremy moore
3d9b21a115 #jira UE-76661
Better lod selection for RVT
Fixes ugly low lod splines
Integrating from //UE4/Dev-Rendering
#rb none
#rnx

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

[CL 7156232 by jeremy moore in Main branch]
2019-06-21 15:44:04 -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