-----------------------------------------------------------------
Texture: fix many issues with Required Memory Estimate
was wrong for latlong cubes, astc, MaxTextureSize
factor out ComputeLongLatCubemapExtents to remove duplication of cube size logic
fix GetOutputMipInfo was wrong on latlong cubes with pow2 options
fix "VT has blocks with mismatched aspect ratios" warning could be thrown incorrectly on non-VT non-UDIM textures with "resize to specific" set
[CL 34055640 by charles bloom in ue5-main branch]
due to "Non-editor build cannot depend on non-redistributable modules"
Original CL Desc
-----------------------------------------------------------------
Texture: fix many issues with Required Memory Estimate
was wrong for latlong cubes, astc, MaxTextureSize
factor out ComputeLongLatCubemapExtents to remove duplication of cube size logic
fix GetOutputMipInfo was wrong on latlong cubes with pow2 options
fix "VT has blocks with mismatched aspect ratios" warning could be thrown incorrectly on non-VT non-UDIM textures with "resize to specific" set
[CL 34055403 by charles bloom in ue5-main branch]
was wrong for latlong cubes, astc, MaxTextureSize
factor out ComputeLongLatCubemapExtents to remove duplication of cube size logic
fix GetOutputMipInfo was wrong on latlong cubes with pow2 options
fix "VT has blocks with mismatched aspect ratios" warning could be thrown incorrectly on non-VT non-UDIM textures with "resize to specific" set
[CL 34055348 by charles bloom in ue5-main branch]
Update GetOutputAlphaFromKnownAlpha to have the same call structure as GetOutputAlphaFromKnownAlphaOrFail
#ushell-cherrypick of 33523860 by Dan.Thompson
#rb charles.bloom
[FYI] devin.doucette
#rnx
[CL 33638267 by dan thompson in ue5-main branch]
-- Added Decode interface to texture formats to return to PC viewable formats.
-- Added Detile interface to return textures to linear layout for relevant platforms.
-- Reworked the IBuild "DDC2" texture build usage to be more straightforward for chaining multiple build steps (i.e. Encode -> Tile -> Detile -> Decode).
-- Added UI to the texture editor to select a target platform to view.
-- Fixed a bug with DDC2 and CPU Copy textures (they didn't work at all)
#rb Devin.Doucette, fabian.giesen, charles.bloom
#jira UE-149124
[CL 33116818 by dan thompson in ue5-main branch]
causing it to under-estimate memory use in some cases
move GetPowerOfTwoTargetTextureSize to TextureBuildUtilities so it can be shared
fix some comments
#rb Dan.Thompson, fabian.giesen
[CL 30943675 by charles bloom in ue5-main branch]
Removing texture build metadata due to ddc complexities. It will be added to the metadata system in the new build flow SoonTM. Additionally, the alpha information for the source mips is no longer necessary as that is computed elsewhere now.
#rb fabian.giesen
#jira UE-183750
[CL 30894760 by dan thompson in ue5-main branch]
[FYI] Dan.Thompson
Original CL Desc
-----------------------------------------------------------------
Removing texture build metadata due to ddc complexities. It will be added to the metadata system in the new build flow SoonTM. Additionally, the alpha information for the source mips is no longer necessary as that is computed elsewhere now.
#rb fabian.giesen
#jira UE-183750
[CL 30772772 by evgenii babinets in ue5-main branch]
don't try to move it into the GetPlatformTextureFormatNamesWithPrefix phase yet, just remove prefix
fixes VT format remapping for Android_DXT
#rb dan.thompson
#jira none
#preflight none
[CL 24432468 by charles bloom in ue5-main branch]
this way having the OODLE_ or TFO_ prefix enabled doesn't break ETC or ASTC remaps in the platform
fix TextureFormatRemovePrefixFromName incorrectly assuming format names don't have underscores in them
Platform remap config no longer needs prefixed versions
this also turns on Oodle for Android DXT flavor
#preflight https://horde.devtools.epicgames.com/job/63fcf77960163ed3c2494e6e
#rb dan.thompson
#jira none
[CL 24428598 by charles bloom in ue5-main branch]
1. Whether the source mips detects alpha
2. Several hashes to track the state of data at various stages of the build process.
Move the r.SharedLinearTextureEncoding out of the ConsoleManager as that's The Old Way.
Rename TextureDerivedDataVersion for uniqueness.
#rb devin.doucette
#rb charles.bloom
#preflight 6377fca7815e4b9b75681765
[CL 23206768 by Dan Thompson in ue5-main branch]
Primary Components:
DDC2 texture build input/output revamped to support future FDerivedData references where the bulk data remains in the Zen server during cooks.
Tiling code is separated out in to ITextureTiler interface so that tiling can be done without calling FChildTextureFormat::CompressImage[Ex]
Adding mip dimensions to GetMipCountForBuildSettings
#rb fabian.giesen, zousar.shaker
#preflight 6304f87f516bef57ffada18d
[CL 21511157 by Dan Thompson in ue5-main branch]
Resize converts Pow22 to sRGB because it can not output Pow22
#preflight 62bb22ef101ad5bf64ae7b2b
#rb fabian.giesen
[CL 20864029 by charles bloom in ue5-main branch]
create new TextureBuildUtilities module that can be used from Engine or TextureBuildWorker
new cvar memory.WindowsPlatformMemoryGetStatsLimitTotalVirtualGB simulates a lower memory system
#rb fabian.giesen
#preflight 62b34bf8650c9d5857a38514
[CL 20786800 by charles bloom in ue5-main branch]