From c2b3b88820a740ffd86b54132465c950ce18389f Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Wed, 10 Sep 2025 19:02:01 +0200 Subject: [PATCH] [unity] Restored broken `Sprite Shaders` example scene material (stretchyman) compatibility with Unity 2017.1. --- .../stretchyman-diffuse-pma_Material.mat | 29 ++++--------------- 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/spine-unity/Assets/Spine Examples/Spine Skeletons/Stretchyman/stretchyman-diffuse-pma_Material.mat b/spine-unity/Assets/Spine Examples/Spine Skeletons/Stretchyman/stretchyman-diffuse-pma_Material.mat index 5accab1cd..7f1914bed 100644 --- a/spine-unity/Assets/Spine Examples/Spine Skeletons/Stretchyman/stretchyman-diffuse-pma_Material.mat +++ b/spine-unity/Assets/Spine Examples/Spine Skeletons/Stretchyman/stretchyman-diffuse-pma_Material.mat @@ -2,23 +2,14 @@ %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: - serializedVersion: 8 + serializedVersion: 6 m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} m_Name: stretchyman-diffuse-pma_Material m_Shader: {fileID: 4800000, guid: 2ce511398fb980f41b7d316c51534590, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _ALPHAPREMULTIPLY_ON - - _EMISSION - - _FIXED_NORMALS_VIEWSPACE - - _NORMALMAP - m_InvalidKeywords: - - _FIXED_NORMALS - - _USE8NEIGHBOURHOOD_ON + m_ShaderKeywords: _ALPHAPREMULTIPLY_ON _EMISSION _FIXED_NORMALS _FIXED_NORMALS_VIEWSPACE + _NORMALMAP m_LightmapFlags: 5 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -28,7 +19,6 @@ Material: IGNOREPROJECTOR: true RenderType: Transparent disabledShaderPasses: [] - m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: @@ -60,7 +50,6 @@ Material: m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - m_Ints: [] m_Floats: - PixelSnap: 0 - _BlendAmount: 0 @@ -73,14 +62,11 @@ Material: - _DstBlend: 10 - _EmissionPower: 1 - _EnableExternalAlpha: 0 - - _Fill: 0 - _GlossMapScale: 1 - _Glossiness: 0.5 - _Hue: 0 - - _LightAffectsAdditive: 0 - _Metallic: 0 - _OutlineMipLevel: 0 - - _OutlineOpaqueAlpha: 1 - _OutlineReferenceTexWidth: 1024 - _OutlineSmoothness: 1 - _OutlineWidth: 3 @@ -92,17 +78,12 @@ Material: - _StencilComp: 8 - _StencilRef: 1 - _ThresholdEnd: 0.25 - - _TintBlack: 0 - _Use8Neighbourhood: 1 - - _UseScreenSpaceOutlineWidth: 0 - _ZWrite: 0 m_Colors: - - _Black: {r: 0, g: 0, b: 0, a: 0} - _Color: {r: 1, g: 1, b: 1, a: 1} - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - _FixedNormal: {r: 0, g: 0, b: 1, a: 1} - _OutlineColor: {r: 1, g: 1, b: 0, a: 1} - _OverlayColor: {r: 0, g: 0, b: 0, a: 0} - _RimColor: {r: 1, g: 1, b: 1, a: 1} - m_BuildTextureStacks: [] - m_AllowLocking: 1