ATOM-13512 Altering IBL ImageProcessor .preset Does Not Force Assets to Rebuild (#5639)
Changes include: - Move config files from ImageProcessingAtom/Config/ folder to ImageProcessingAtom/Assets/Config/ folder so it can be watched as source depencies. - Change GetSuggestedPreset function so it can return certain preset for certain file name. - Move file mask mappings from preset to ImageBuilder.settings. But the file masks in preset can still be used. - Changed from using project config folder's imageBuilder.Settings for override to using it as json merge patch. - Expose GetFileHash function in AssetBuilderSDK api. Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com>
This commit is contained in:
@@ -385,6 +385,13 @@ namespace ImageProcessingAtom
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool NeedAlphaChannel(EAlphaContent alphaContent)
|
||||
{
|
||||
return (alphaContent == EAlphaContent::eAlphaContent_OnlyBlack
|
||||
|| alphaContent == EAlphaContent::eAlphaContent_OnlyBlackAndWhite
|
||||
|| alphaContent == EAlphaContent::eAlphaContent_Greyscale);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace ImageProcessingAtom
|
||||
|
||||
Reference in New Issue
Block a user