Commit Graph

18 Commits

Author SHA1 Message Date
Jeremy Moore
9173715209 Fix dirty rectangle test that uses Area() >0 calculation.
Area() can overflow for a 2^16 * 2^16 giving a value of 0.
#jira none
#rb jason.nadro

[CL 16142769 by Jeremy Moore in ue5-main branch]
2021-04-28 09:04:21 -04:00
Jeremy Moore
e91e1b5caa Decouple RVT streaming mips count from validity of streaming mips texture.
This allows multiple RVT volumes to point at the same streamin mips, which will be useful for landscape streaming scenarios.
#jira none
#rb none

[CL 15270961 by Jeremy Moore in ue5-main branch]
2021-02-01 11:30:52 -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
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
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
jeremy moore
b0add5f596 Add texture LOD group setting to runtime virtual texture.
Add VT tile size bias to texture level of detail settings.
This allows us to set up tile size bias per platform to use smaller tile sizes on platforms with less processing power.
[FYI] Mickael.Gilabert

#ROBOMERGE-SOURCE: CL 13143577 via CL 13143578 via CL 13143580 via CL 13143583
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13143585 by jeremy moore in Main branch]
2020-05-01 19:13:15 -04:00
jeremy moore
66f3fcb592 Fix RVT being marked modified when it shouldn't be on building streaming mips
Fix incorrect asset name being shown in progress when building streaming mips
Fix RVT volume bounds actor not being set for actors outside of current package

#ROBOMERGE-SOURCE: CL 12800514 via CL 12800562 via CL 12800582 via CL 12800589
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12800599 by jeremy moore in Main branch]
2020-04-15 10:23:37 -04:00
jeremy moore
0a5f868949 Move streaming low mips data outside of URuntimeVirtualTexture and into a UVirtualTextureBuilder.
This requires URuntimeVirtualTextureComponents to be updated.
[FYI] Robert.Osborne

#ROBOMERGE-OWNER: jeremy.moore
#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 12779685 via CL 12779836 via CL 12779838 via CL 12779841
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12782289 by jeremy moore in Main branch]
2020-04-14 13:33:06 -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
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
642ab643b6 Fix RuntimeVirtualTexture RemoveLowMips logic
Previously RemoveLowMips didn't work correctly with StreamLowMips
#rb none


#ROBOMERGE-SOURCE: CL 8164420 via CL 8176718
#ROBOMERGE-BOT: (v401-8057353)

[CL 8177036 by jeremy moore in Main branch]
2019-08-21 11:53:10 -04:00
jeremy moore
1cf63827e9 Runtime virtual texture can contain an optional streaming virtual texture to produce low mips
Add support for baking this with a button on the virtual texture volume


#ROBOMERGE-SOURCE: CL 8126394 via CL 8132086
#ROBOMERGE-BOT: (v401-8057353)

[CL 8157079 by jeremy moore in Main branch]
2019-08-21 08:57:14 -04:00
jeremy moore
899c1a35a7 Add support for max level to flush runtime virtual texture mips
#rb none

#ROBOMERGE-OWNER: jeremy.moore
#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 8126366 via CL 8132083
#ROBOMERGE-BOT: (v401-8057353)

[CL 8157029 by jeremy moore in Main branch]
2019-08-21 08:56:44 -04:00
jeremy moore
69e2d4e901 Don't allocate the runtime virtual texture in the proxy if the asset is disabled
#ROBOMERGE-SOURCE: CL 8030248 via CL 8041686
#ROBOMERGE-BOT: (v400-8057353)

[CL 8062582 by jeremy moore in Main branch]
2019-08-15 13:51:44 -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
ecd51b93c0 #jira UE-76132
Use a single size instead of width and height for RVT
Width and height are then inferred from RVT volume aspect ratio
Integrated from //UE4/Dev-Rendering
#rb none
#rnx

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

[CL 7049478 by jeremy moore in Main branch]
2019-06-17 14:20:00 -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