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/Material
santorac a7bdb05d66 Tied up some loose ends with nested property group support.
Fixed the MaterialBuilder to report source dependencies on imported JSON files, so the material type will rebuild when you edit an imported file that contains shared property data.
Fixed a spot in LuaMaterialFunctorSourceData where it was only applying the old "prefix" feature and not the new name context.
Updated a couple built-in material functors to take advantage of the name context (they were using RuntimeContext::GetShaderResourceGroupLayout instead of the RuntimeContext::FindShaderInputConstantIndex wrapper utility function).
Fixed an issue with EnumeratePropertyGroups where it wasn't passing the right name context, so Material Editor wasn't able to load some material types.
Reordered the parameters in the MaterialTypeSourceData enumerate callback functions, I felt this order was more natural.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
4 years ago
..
EditorMaterialComponent.cpp Created custom JSON serializer for editor material component 4 years ago
EditorMaterialComponent.h Created custom JSON serializer for editor material component 4 years ago
EditorMaterialComponentExporter.cpp Adding new commands to the material component for managing, removing, repairing material slots 4 years ago
EditorMaterialComponentExporter.h Removed the GetLabelByAssetId function since now we can use the display name that comes with the ModelMaterialSlot. 4 years ago
EditorMaterialComponentInspector.cpp Added support for deeply nested material property groups. 4 years ago
EditorMaterialComponentInspector.h Updated editor material component slots to support dynamic previews rendered with property overrides applied 4 years ago
EditorMaterialComponentSerializer.cpp fix header comments 4 years ago
EditorMaterialComponentSerializer.h fix header comments 4 years ago
EditorMaterialComponentSlot.cpp Updated editor material component slots to support dynamic previews rendered with property overrides applied 4 years ago
EditorMaterialComponentSlot.h Updated editor material component slots to support dynamic previews rendered with property overrides applied 4 years ago
EditorMaterialComponentUtil.cpp Tied up some loose ends with nested property group support. 4 years ago
EditorMaterialComponentUtil.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
EditorMaterialModelUvNameMapInspector.cpp Updated MaterialPropertyId class in preparation for nested material property sets. 4 years ago
EditorMaterialModelUvNameMapInspector.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
EditorMaterialSystemComponent.cpp Atom Tools: disabling auto load of unused gems in some atom tools 4 years ago
EditorMaterialSystemComponent.h correcting const casing 4 years ago
MaterialBrowserInteractions.cpp Changing material component property inspector to dockable view pane 4 years ago
MaterialBrowserInteractions.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialComponent.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialComponentConfig.cpp Refactored how model material slots work in preparation to support more flexible material conversion options for the scene asset pipeline. The material slot IDs are based on the MaterialUid that come from SceneAPI. Since these IDs are also used as the AssetId sub-ID for the converted material assets, the system was just checking the material asset sub-ID to determine the material slot ID. But in order to support certain FBX material conversion options, we needed to break this tie, so the slot ID is separate from the AssetId of the material in that slot. This will allow some other material to be used in the slot, instead of being forced to use one that was generated from the FBX. 4 years ago
MaterialComponentController.cpp Temporary fix for material component losing image overrides with prefabs 4 years ago
MaterialComponentController.h Temporary fix for material component losing image overrides with prefabs 4 years ago