Commit Graph

66 Commits

Author SHA1 Message Date
Wei Liu
72cb7559c9 Implement proper support for togglable stationary direct lighting on mobile and delete 'bake stationary as static' path.
This change makes HQ and LQ lightmaps to have unified lighting content and now they differ only in encoding.

#jira UE-154008, UE-151380

#rb Dmitriy.Dyomin, Yujiang.Wang
#preflight 62b5270d0a3bb5ca13d79900

[CL 20806454 by Wei Liu in ue5-main branch]
2022-06-23 23:24:24 -04:00
dmitriy dyomin
178c58b146 VK: Added a workaround for AFBC to reduce uncompressed textures memory requirements
Changed how we apply compression for mobile landscape weightmap textures, so it works with mesh and heightmap based landscape
#rb jack.porter

#ROBOMERGE-OWNER: dmitriy.dyomin
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 20556429 via CL 20556450 via CL 20556605 via CL 20556618
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20559686 by dmitriy dyomin in ue5-main branch]
2022-06-08 13:25:01 -04:00
charles bloom
f99959bbc4 Fix ASTC mapping for BC6 and BC7
Fix ASTC HDR support
Fix up ASTC & ISPC texture formats a bit

#preflight 628cedc7347b7778b6b8745e
#rb jon.olick,fabian.giesen

[CL 20348873 by charles bloom in ue5-main branch]
2022-05-24 11:21:35 -04:00
charles bloom
dabdaeda09 nop just comment cleanups
#rb none
#preflight none

[CL 20284987 by charles bloom in ue5-main branch]
2022-05-19 15:04:56 -04:00
Jon Olick
0a7be0f773 Removed bSupportDX11TextureFormats, functionality is no longer necessary. Pushed functionality of bSupportDX11TextureFormats down to target platform code.
#preflight 6282816acf7e4667a999a6ea

[CL 20227025 by Jon Olick in ue5-main branch]
2022-05-16 13:05:50 -04:00
charles bloom
028f3b1a01 add TC for SingleFloat and HDR_F32
to expose GPU texture formats for R32F and RGBA32F
PF_A32B32G32R32F
PF_R32_FLOAT
OpenGL ES platforms do not support F32 with filtering so must convert to F16 unless the mip filter is set to nearest

#preflight 627a822810766ef8c1fa0b07
#rb Dmitriy.Dyomin,fabian.giesen

[CL 20125675 by charles bloom in ue5-main branch]
2022-05-10 13:49:08 -04:00
dmitriy dyomin
d5741f624b Added option to disable usage of a baked landscape mesh on mobile platforms (r.Mobile.LandscapeMesh)
#rb jack.porter

#ROBOMERGE-OWNER: dmitriy.dyomin
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 19528072 via CL 19528235 via CL 19528695 via CL 19528703
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19532768 by dmitriy dyomin in ue5-main branch]
2022-03-28 16:28:57 -04:00
charles bloom
be0e9e0d04 NOP comment about FinalizeVirtualTextureLayerFormat
#rb none
#preflight none

[CL 19117436 by charles bloom in ue5-main branch]
2022-02-24 12:48:42 -05:00
Dmitriy Dyomin
958003ef7e Support BC4 textures using ETC2_R11 (instead of uncompressed G8) on iOS, Android, QNX
#jira none
#rb jack.porter
#preflight 62147793610efbaa76cb2947

[CL 19069353 by Dmitriy Dyomin in ue5-main branch]
2022-02-22 00:58:27 -05:00
aaron mcleran
44d4e399f3 Fixing android platform specific compression settings
#jira ue-142828
#lockdown cristina.riveron
#preflight 620c1bb4483ff0ae5ec9750e
#rb maxwell.hayes

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 19004453 in //UE5/Release-5.0/... via CL 19005080 via CL 19005273
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 19005321 by aaron mcleran in ue5-main branch]
2022-02-15 17:27:43 -05:00
dmitriy dyomin
02eacf7195 Fixed: BC4 texture format fallback for Android
#rb jack.porter

#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 18994103 via CL 18994878 via CL 18994897 via CL 18994926 via CL 18994947 via CL 18995286 via CL 18995443
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18997979 by dmitriy dyomin in ue5-main branch]
2022-02-15 12:07:57 -05:00
aaron mcleran
8db0b74958 Cleaning up codec definitions on soundwaves.
- Adding new enumeration to select PCM, ADPCM, Bink, and "platform specific"
- Updated platform codecs and various APIs to select correctly which codec to use
- Changed "is seekable streaming" semantics to "Is Seekable" since that is more correct in a post-stream-caching world
- Tried to clean up platform backends. Unable to move Bink decoder to multiplatform code because of module dependencies, will require a future refactor of our decoder module setup.

#rb Phil.Popp, Jimmy.Smith
#jira UE-140860
#preflight 61f97ad7f02e20f45add6d45

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18813332 in //UE5/Release-5.0/... via CL 18813341 via CL 18822758
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824290 by aaron mcleran in ue5-main branch]
2022-02-02 07:35:13 -05:00
Andriy Tylychko
2a295eb685 deprecated FTicker and family and replaced by thread-safe FTSTicker
#jira UE-120090
#rb francis.hurteau

[CL 17176325 by Andriy Tylychko in ue5-main branch]
2021-08-16 11:05:18 -04:00
jamie hayes
e6e7037458 Changed some ITargetPlatform methods (GetAllSupportedShaderFormats, GetTargetedShaderFormats) to remain compiled with a lack of WITH_ENGINE. Their omission isn't necessary from a dependency standpoint, and their access will be required in a future change.
#rb josh.adams
#jira none
#preflight 6113ed2a0d783d00011ef86e

[CL 17137761 by jamie hayes in ue5-main branch]
2021-08-11 13:03:20 -04:00
yangke li
fdab87aceb add a new TextureCompressionSetting TC_LQ(BGR565/BGR555A1), which is needed in Runtime virtual texture's baked SVT
The endian of BGR555A1 texture is troublesome on Android platform, because Opengl ES doesn't support GL_UNSIGNED_SHORT_1_5_5_5_REV texture format, meanwhile VK_FORMAT_R5G5B5A1_UNORM_PACK16 is not supported on some Android devices.
#rb Dmitriy.Dyomin

[CL 16966077 by yangke li in ue5-main branch]
2021-07-27 03:03:38 -04:00
Chris Varnsverry
e4b43d1efd - Fix some unnecessary string copies when calling FPaths::FileExists
#jira FORT-392314
#review-16922341 @Michael.Kirzinger @Marc.Audy @Rob.Cannaday @Sam.Zamani

[CL 16923987 by Chris Varnsverry in ue5-main branch]
2021-07-22 11:10:51 -04:00
Dan Thompson
bc392c8ffa Bink Audio :: 4/4 :: Integration :: #pf 60aea2116905a6000136901e #pf 60c9308ef7cffb0001674132
Integration touches several places in the engine:

1) SoundWave -- A check box enables Bink Audio as the codec of choice for that sound wave.

2) Decoder - Each supported platform's AudioMixer now returns BINK if the soundwave requests it. Additionally, the TargetPlatform returns BINK as an available codec, and returns it to the cooking code if the sound wave requests it.

3) Encode - TargetPlatform.Build.cs adds the encoder to the editor dependencies, and it gets picked up in the TPMM formats search.

[CL 16682710 by Dan Thompson in ue5-main branch]
2021-06-15 20:26:41 -04:00
Florin Pascu
af11d40364 Opt out Encoded TextureCube out of package if the platform doesn't need EncodedData
#jira UE-115370
#rb none
#fyi Dmitriy.Dyomin

#ushell-cherrypick of 16346910 by Florin.Pascu
#preflight 60a26ae507285b0001d3abdc

[CL 16349116 by Florin Pascu in ue5-main branch]
2021-05-17 10:05:33 -04:00
dmytro vovk
eab8b64ef1 Removed Scene Software Occlusion
#jira none
#rb Dmitriy.Dyomin

[CL 16158927 by dmytro vovk in ue5-main branch]
2021-04-29 13:14:48 -04:00
christopher waters
2f132565b1 Tessellation Removal: Removing various leftover Tessellation code.
#jira UE-94564
#rb mihnea.balta
#preflight 608043e687373000015502b2

[CL 16080287 by christopher waters in ue5-main branch]
2021-04-21 16:11:32 -04:00
dmitriy dyomin
1b97990bd1 Support compressed volume textures on iOS and Android (ASTC)
Removed bSupportsVolumeTextureCompression as all platforms support it now, only Switch fallbacks to uncompressed
#jira UE-108841
#rb jack.porter

#ROBOMERGE-SOURCE: CL 15566901 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15566914 by dmitriy dyomin in ue5-main branch]
2021-03-02 02:21:19 -04:00
Florin Pascu
77051879b6 DistanceField Shadow Mobile(disabled by default for the moment)
#rb Dmitriy.Dyomin,Zach.Bethel, Jack.Porter
#jira UE-103864

[CL 15471024 by Florin Pascu in ue5-main branch]
2021-02-19 07:49:57 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
carl lloyd
df0606a49b Added support for Framebuffer Fetch and Pixel Local Storage to OpenGL platform.
#rb Jack.Porter, Dmitriy.Dyomin

[CL 15179038 by carl lloyd in ue5-main branch]
2021-01-25 12:39:04 -04:00