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
santorac a896ff11bc Changed .material serialization to avoid loading the .materialtype file, since the .material builder doesn't declare a source dependency on the .materialtype. Otherwise there can be ambiguous edge cases where changes to the .materialtype might or might not impact the baked MaterialAsset. Note that another option would have been to add a the appropriate source dependency, but that would hurt iteration time as any change to the .materialtype file would cause every .material file and .fbx to rebuild.
These changes have the added benefit of simplifying some of the serialization code. MaterialSourceDataSerializer is no longer needed, as its main purpose was to pass the MaterialTypeSourceData down to the MaterialPropertyValueSerializer.

Before, the JSON serialization system gave a lot of data flexibility because it did best-effort conversions, like allowing a float to be loaded as an int for example. But now the material serialization code doesn't know target data type, so it has to assume the data type based on what's in the .material file, and then the MaterialAsset will convert the data to the appropriate type later when Finalize() is called.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
4 years ago
..
AWSClientAuth Templates restricted (#6498) 4 years ago
AWSCore [iOS] Update to use AWSNativeSDK 1.9.50 (#6890) 4 years ago
AWSGameLift Templates restricted (#6498) 4 years ago
AWSMetrics Templates restricted (#6498) 4 years ago
Achievements Templates restricted (#6498) 4 years ago
AssetValidation Templates restricted (#6498) 4 years ago
Atom Changed .material serialization to avoid loading the .materialtype file, since the .material builder doesn't declare a source dependency on the .materialtype. Otherwise there can be ambiguous edge cases where changes to the .materialtype might or might not impact the baked MaterialAsset. Note that another option would have been to add a the appropriate source dependency, but that would hurt iteration time as any change to the .materialtype file would cause every .material file and .fbx to rebuild. 4 years ago
AtomContent Templates restricted (#6498) 4 years ago
AtomLyIntegration Merge pull request #6818 from windbagjacket/development 4 years ago
AtomTressFX AtomTressFX - fixing crash bug for prefab (#6892) 4 years ago
AudioEngineWwise Templates restricted (#6498) 4 years ago
AudioSystem Templates restricted (#6498) 4 years ago
BarrierInput Templates restricted (#6498) 4 years ago
Blast Blast memory allocator must allocate with 16 byte aligment (#6968) 4 years ago
Camera ScreenToWorld and WorldToScreen Camera functionality (#6903) 4 years ago
CameraFramework Templates restricted (#6498) 4 years ago
CertificateManager Templates restricted (#6498) 4 years ago
CrashReporting Templates restricted (#6498) 4 years ago
CustomAssetExample Templates restricted (#6498) 4 years ago
DebugDraw Templates restricted (#6498) 4 years ago
DevTextures Templates restricted (#6498) 4 years ago
EMotionFX Templates restricted (#6498) 4 years ago
EditorPythonBindings Templates restricted (#6498) 4 years ago
ExpressionEvaluation Templates restricted (#6498) 4 years ago
FastNoise Templates restricted (#6498) 4 years ago
GameState Templates restricted (#6498) 4 years ago
GameStateSamples Templates restricted (#6498) 4 years ago
Gestures Templates restricted (#6498) 4 years ago
GradientSignal Another batch of GetValues() overrides. (#6915) 4 years ago
GraphCanvas Merge pull request #6911 from aws-lumberyard-dev/carlitosan-sc-bug-bash-4 4 years ago
GraphModel Merge pull request #6911 from aws-lumberyard-dev/carlitosan-sc-bug-bash-4 4 years ago
HttpRequestor Disable flaky HttpRequestor test (#6866) 4 years ago
ImGui Templates restricted (#6498) 4 years ago
InAppPurchases Templates restricted (#6498) 4 years ago
LandscapeCanvas Templates restricted (#6498) 4 years ago
LmbrCentral Merge pull request #6647 from tjmgd/bug-tube-75 4 years ago
LocalUser Templates restricted (#6498) 4 years ago
LyShine Templates restricted (#6498) 4 years ago
LyShineExamples Templates restricted (#6498) 4 years ago
Maestro Templates restricted (#6498) 4 years ago
MessagePopup Templates restricted (#6498) 4 years ago
Metastream Templates restricted (#6498) 4 years ago
Microphone Templates restricted (#6498) 4 years ago
Multiplayer Templates restricted (#6498) 4 years ago
MultiplayerCompression Templates restricted (#6498) 4 years ago
NvCloth Templates restricted (#6498) 4 years ago
PhysX Templates restricted (#6498) 4 years ago
PhysXDebug Templates restricted (#6498) 4 years ago
Prefab Templates restricted (#6498) 4 years ago
Presence Templates restricted (#6498) 4 years ago
PrimitiveAssets Templates restricted (#6498) 4 years ago
Profiler Templates restricted (#6498) 4 years ago
PythonAssetBuilder Templates restricted (#6498) 4 years ago
QtForPython Templates restricted (#6498) 4 years ago
SaveData Templates restricted (#6498) 4 years ago
SceneLoggingExample Templates restricted (#6498) 4 years ago
SceneProcessing Templates restricted (#6498) 4 years ago
ScriptCanvas Merge branch 'development' into chore/rename-Graph-EditorGraph-Match 4 years ago
ScriptCanvasDeveloper Merge pull request #6911 from aws-lumberyard-dev/carlitosan-sc-bug-bash-4 4 years ago
ScriptCanvasPhysics ScreenToWorld and WorldToScreen Camera functionality (#6903) 4 years ago
ScriptCanvasTesting Merge pull request #6911 from aws-lumberyard-dev/carlitosan-sc-bug-bash-4 4 years ago
ScriptEvents Templates restricted (#6498) 4 years ago
ScriptedEntityTweener Templates restricted (#6498) 4 years ago
SliceFavorites Templates restricted (#6498) 4 years ago
StartingPointCamera Templates restricted (#6498) 4 years ago
StartingPointInput Templates restricted (#6498) 4 years ago
StartingPointMovement Templates restricted (#6498) 4 years ago
SurfaceData Templates restricted (#6498) 4 years ago
Terrain Templates restricted (#6498) 4 years ago
TestAssetBuilder Templates restricted (#6498) 4 years ago
TextureAtlas Templates restricted (#6498) 4 years ago
TickBusOrderViewer Templates restricted (#6498) 4 years ago
Twitch Templates restricted (#6498) 4 years ago
UiBasics Templates restricted (#6498) 4 years ago
Vegetation Merge pull request #6818 from windbagjacket/development 4 years ago
VideoPlaybackFramework Templates restricted (#6498) 4 years ago
VirtualGamepad Templates restricted (#6498) 4 years ago
WhiteBox [development] added required runtime dependency Gem::PhysX.Editor to WhiteBox.Editor.Physics.Tests (#6871) 4 years ago