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/AtomLyIntegration/CommonFeatures/Code/Source
santorac 8fbd2aaaf5 Tied up a few loose ends to support deeply nested property groups.
Simplified the call back for MaterialTypeSourceData::EnumeratePropertyGroups while also providing more data.
Made the Material Inspector join nested property group display names to be like "Layer 1 | Base Color", since the leaf property groups are shown as a flat list in the inspector.
Fixed CreateMaterialAssetFromSourceData to include the imported json files in the list of sourceDependencies. This triggers the Material Editor to hot-reload when one of these json files changes.
Updated a few places that were still assuming only one level of property group.
Updated EditorMaterialComponentInspector to apply the per-property-group material functors, before it was still only applying the top-level onces.
Moved some accessor function implementations to the cpp files, per feedback on another already-merged PR.

Testing:
Made changes to MinimalMultilayerPbr (in AtomSampleViewer) to use nested property groups, and saw the correct behavior in the Material Editor's property inspector.
Used MaterialComponent's property inspector to edit a StandardPbr material instance. Confrimed that functors were correctly controlling property visibility by enabling and disabling things like emissive and clear coat.
Used MaterialComponent's property inspector to edit a MinimalMultilayerPbr material instance. Saw all the expected groups and properties show up. Confirmed that per-group functors were correctly controlling property visibility.
Used MaterialComponent's property inspector to export a material instance and confirmed the .material file included the expected properties.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
4 years ago
..
Animation Misc Bugfixes (#6530) 4 years ago
CoreLights change default input color space to SRGB 4 years ago
Decals Improvements. You can now call SetDecalMaterial() with any permutation and it works as expected 4 years ago
DiffuseGlobalIllumination Added DiffuseProbeGrid Visualization passes, shaders, and editor controls. 4 years ago
Grid ATOM-16747 RPISystemInterface::GetDefaultScene returns the scene crea… (#5153) (#5389) 4 years ago
ImageBasedLights Skybox hot reloading - fix black screen when running the editor for the first time with a clean cache (#5529) 4 years ago
Material Tied up a few loose ends to support deeply nested property groups. 4 years ago
Mesh Updated all array_view uses with the C++20 span. (#7157) 4 years ago
OcclusionCullingPlane Changes call from AZ_TRACE to AZ_PROFILE. AZ_TRACE uses a driller bus that is going to be removed 4 years ago
Platform Add OpenImageIO as runtime dependency in AtomLyIntegration. (#4987) 4 years ago
PostProcess Add MainPipeline to pass hierarchy for when HDR color grading component requests for the lut generation's image attachment. (#6436) 4 years ago
ReflectionProbe Changes call from AZ_TRACE to AZ_PROFILE. AZ_TRACE uses a driller bus that is going to be removed 4 years ago
ScreenSpace Fixed in-editor "Atom" category components reference links to o3de.org docs 4 years ago
Scripting Fixed in-editor "Atom" category components reference links to o3de.org docs 4 years ago
SharedPreview Fixed a bug with model previews and thumbnails. 4 years ago
SkinnedMesh ATOM-16747 RPISystemInterface::GetDefaultScene returns the scene crea… (#5153) (#5389) 4 years ago
SkyBox Skybox hot reloading - fix black screen when running the editor for the first time with a clean cache (#5529) 4 years ago
SurfaceData SurfacePoint data structure encapsulations (#7413) 4 years ago
CommonFeaturesSystemComponent.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
CommonFeaturesSystemComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
EditorCommonFeaturesSystemComponent.cpp Added a CriticalAssetsCompiled Lifecycle event (#6469) 4 years ago
EditorCommonFeaturesSystemComponent.h Added a CriticalAssetsCompiled Lifecycle event (#6469) 4 years ago
Module.cpp Editor HDR Color Grading Component implemented under the PostFx stack (#4159) 4 years ago