You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/Atom/Asset/ImageProcessingAtom/Code/Source/Processing
Ken Pruiksma e8b7bba0f2
Adding support for blending the terain detail material with the macro material. (#7557)
* Adding support for blending the terain detail material with the macro material. Also includes several bug fixes
- The detail materail manager wasn't querying for default terrain region materials when it initializes, so it was missing some creation events that it would later get destruction events for and explode.
- Change the way the default material weights against other surface weights to avoid some discontinuities
- Fixed an issue where a default material id wouldn't initialize as invalid.

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>

* Several improvements and bug fixes
- Adding explicit creation / destruction events for material regions.
- Material regions will no longer try to "hide" when they don't have any materials
- Default detail materials will now only be used in areas where there are no other material assignments
- Fixed a bug where materials might not show up on surfaces when they were assigned to multiple regions or surface tags.

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>

* Simplified loop that assigns materials based on surface tags. Slightly simplified shader code regarding detail material id coordinates.

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>

* Fixes from PR review

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>

* Making sure region changed doesn't get announced in the case where the old and new regions are both invalid.

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>
4 years ago
..
AzDXGIFormat.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
DDSHeader.h Fixed dds loader issue with certain dds formats. (#4733) 4 years ago
ImageAssetProducer.cpp change conversions to static_cast 4 years ago
ImageAssetProducer.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ImageConvert.cpp Adding support for blending the terain detail material with the macro material. (#7557) 4 years ago
ImageConvert.h Moved the ImageProcessingDefines to the Include folder and added it to the header only target 4 years ago
ImageConvertJob.cpp ATOM-16854 Texture Settings dialog box crashes in the Editor (#5777) 4 years ago
ImageConvertJob.h Moved the ImageProcessingDefines to the Include folder and added it to the header only target 4 years ago
ImageFlags.h LYN-8837 o3de Material Editor - Texture Settings Editor - Hangs when converting texture (#6359) 4 years ago
ImageObjectImpl.cpp ATOM-13512 Altering IBL ImageProcessor .preset Does Not Force Assets to Rebuild (#5639) 4 years ago
ImageObjectImpl.h ATOM-15086 Image Pipeline Unexpectedly Pre-Multiplying Alpha into Color Channels (#5358) 4 years ago
ImagePreview.cpp Merge commit '8fd9cbfb6456472473ec558c21de9aaa152a53c4' into puvvadar/gitflow_211118_o3de 4 years ago
ImagePreview.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ImageToProcess.h ATOM-15086 Image Pipeline Unexpectedly Pre-Multiplying Alpha into Color Channels (#5358) 4 years ago
PixelFormatInfo.cpp LYN-8837 o3de Material Editor - Texture Settings Editor - Hangs when converting texture (#6359) 4 years ago
PixelFormatInfo.h ATOM-16320 Remove PVRTC and ETC compressor (#4557) 4 years ago
Utils.cpp Updated all array_view uses with the C++20 span. (#7157) 4 years ago
Utils.h ATOM-13512 Altering IBL ImageProcessor .preset Does Not Force Assets to Rebuild (#5639) 4 years ago