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/Feature/Common/Code/Source/Material
Guthrie Adams 3bca63bb71 Temporary fix for material component losing image overrides with prefabs
The bug reported that overridden texture properties would be lost whenever an entity was created, destroyed, or a prefab was created. Initially, it seemed like there was a problem with the custom JSON serializer for material properties. Debugging proved this to be incorrect because all of the data was converted to JSON values in the serializer on multiple passes. At some point during prefab patching, the data for the asset properties is lost while other values like colors and floats serialize correctly. Converting the asset data values into asset IDs resolves the immediate problem for the material component but the underlying issue is still under investigation by the prefab team. This change is being posted for review in case the underlying issue cannot be resolved in time for the next release.

Signed-off-by: Guthrie Adams <guthadam@amazon.com>

Fixing unittests and moving texture conversion into material component controller

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
4 years ago
..
ConvertEmissiveUnitFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ConvertEmissiveUnitFunctor.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ConvertEmissiveUnitFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ConvertEmissiveUnitFunctorSourceData.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
DrawListFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
DrawListFunctor.h Gems/Atom 5 years ago
DrawListFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
DrawListFunctorSourceData.h Gems/Atom 5 years ago
MaterialAssignment.cpp extending conversions from script to other numeric types 4 years ago
MaterialAssignmentId.cpp Fixed the MaterialAssignmentId version converter to properly handle the default material assignment slot. 5 years ago
MaterialAssignmentSerializer.cpp Temporary fix for material component losing image overrides with prefabs 4 years ago
MaterialAssignmentSerializer.h Temporary fix for material component losing image overrides with prefabs 4 years ago
MaterialConverterSystemComponent.cpp Add material property names to material assets, disable FBX dependency on materialtype files. (#3408) 5 years ago
MaterialConverterSystemComponent.h Add material property names to material assets, disable FBX dependency on materialtype files. (#3408) 5 years ago
SubsurfaceTransmissionParameterFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SubsurfaceTransmissionParameterFunctor.h Gems/Atom 5 years ago
SubsurfaceTransmissionParameterFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SubsurfaceTransmissionParameterFunctorSourceData.h Gems/Atom 5 years ago
Transform2DFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Transform2DFunctor.h Gems/Atom 5 years ago
Transform2DFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Transform2DFunctorSourceData.h Gems/Atom 5 years ago
UseTextureFunctor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UseTextureFunctor.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UseTextureFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UseTextureFunctorSourceData.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago