Commit Graph

10 Commits

Author SHA1 Message Date
Qing Tao 2d8b4d8285 Fix for github issue https://github.com/o3de/o3de/issues/6380 (#7386)
The texture was treated as in linear space which leads to the color change when renders.
Change to sRGB fixes the issue.

Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com>
2022-02-07 09:20:55 -08:00
Chris Galvan b4a03ff516 Updated per PR feedback
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2022-02-02 17:01:51 -06:00
Chris Galvan dd4ab4173d Changed to use a new enum for handling the output types in case we need to expand custom handling in the future
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2022-02-02 11:21:06 -06:00
Chris Galvan 578a19bf49 Removed unused parameters in the GSI.preset configuration
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2022-02-01 16:05:30 -06:00
Chris Galvan 85b8177efa Added preset for converting gsi images
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2022-02-01 15:32:53 -06:00
Qing Tao 1e9c1cdf1f Android devices have alignment issue with ASTC_6X6 textures. Swith to ASTC_4X4 to fix this issue. (#7144)
The astc_6x6 alignment issue will be investiagte seperately.

Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com>
2022-01-25 13:34:56 -08:00
Qing Tao d9f0a3012d LYN-8837 o3de Material Editor - Texture Settings Editor - Hangs when converting texture (#6359)
Fixed a editor hanging issue when preview texture with astc format (starts multiple job threads inside a job thread)
Fixed an issue of changing texture setting didn't trigger image re-process.
Fixed an issue with image asset which has texture setting may have dependency with wrong preset
Added a EIF_HDR for source image in hdr format.
Fixed astc compression issue which may wrongly compress image to HDR astc format

Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com>
2021-12-13 14:30:53 -08:00
Qing Tao d0ebe4ee10 Follow up fix for ATOM-13512 (#5689)
* Follow up fix for ATOM-13512
Update the file mask mapping in ImageBuilder.settings.
Change Reflectance.preset to use BC4 format since it only needs once channel.

Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com>
2021-11-17 10:00:31 -08:00
Qing Tao 2ae8477683 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>
2021-11-16 15:25:13 -08:00
alexpete a10351f38d Initial commit 2021-03-08 14:30:57 -08:00