ATOM-15086 Image Pipeline Unexpectedly Pre-Multiplying Alpha into Color Channels (#5358)
Applied the discard alpha in the begining of converting. Also deleted some unused processing settings and steps. Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com>
This commit is contained in:
@@ -45,10 +45,7 @@ namespace ImageProcessingAtom
|
||||
->Field("MinTextureSize", &PresetSettings::m_minTextureSize)
|
||||
->Field("IsPowerOf2", &PresetSettings::m_isPowerOf2)
|
||||
->Field("SizeReduceLevel", &PresetSettings::m_sizeReduceLevel)
|
||||
->Field("IsColorChart", &PresetSettings::m_isColorChart)
|
||||
->Field("HighPassMip", &PresetSettings::m_highPassMip)
|
||||
->Field("GlossFromNormal", &PresetSettings::m_glossFromNormals)
|
||||
->Field("UseLegacyGloss", &PresetSettings::m_isLegacyGloss)
|
||||
->Field("MipRenormalize", &PresetSettings::m_isMipRenormalize)
|
||||
->Field("NumberResidentMips", &PresetSettings::m_numResidentMips)
|
||||
->Field("Swizzle", &PresetSettings::m_swizzle)
|
||||
@@ -200,10 +197,7 @@ namespace ImageProcessingAtom
|
||||
m_maxTextureSize == other.m_maxTextureSize &&
|
||||
m_isPowerOf2 == other.m_isPowerOf2 &&
|
||||
m_sizeReduceLevel == other.m_sizeReduceLevel &&
|
||||
m_isColorChart == other.m_isColorChart &&
|
||||
m_highPassMip == other.m_highPassMip &&
|
||||
m_glossFromNormals == other.m_glossFromNormals &&
|
||||
m_isLegacyGloss == other.m_isLegacyGloss &&
|
||||
m_swizzle == other.m_swizzle &&
|
||||
m_isMipRenormalize == other.m_isMipRenormalize &&
|
||||
m_numResidentMips == other.m_numResidentMips;
|
||||
@@ -239,10 +233,7 @@ namespace ImageProcessingAtom
|
||||
m_maxTextureSize = other.m_maxTextureSize;
|
||||
m_isPowerOf2 = other.m_isPowerOf2;
|
||||
m_sizeReduceLevel = other.m_sizeReduceLevel;
|
||||
m_isColorChart = other.m_isColorChart;
|
||||
m_highPassMip = other.m_highPassMip;
|
||||
m_glossFromNormals = other.m_glossFromNormals;
|
||||
m_isLegacyGloss = other.m_isLegacyGloss;
|
||||
m_swizzle = other.m_swizzle;
|
||||
m_isMipRenormalize = other.m_isMipRenormalize;
|
||||
m_numResidentMips = other.m_numResidentMips;
|
||||
|
||||
Reference in New Issue
Block a user