diff --git a/Assets/Materials/M_Wood3.mat b/Assets/Materials/M_Wood3.mat index 4f536f1..434d609 100644 --- a/Assets/Materials/M_Wood3.mat +++ b/Assets/Materials/M_Wood3.mat @@ -22,9 +22,7 @@ Material: m_PrefabAsset: {fileID: 0} m_Name: M_Wood3 m_Shader: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3} - m_ValidKeywords: - - _GLOSSINESS_FROM_BASE_ALPHA - - _SPECULAR_COLOR + m_ValidKeywords: [] m_InvalidKeywords: [] m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -61,7 +59,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 0} + m_Texture: {fileID: 2800000, guid: 3c63e2e318876fc4ebc6ba149de82007, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Materials/Wormhole.mat b/Assets/Materials/Wormhole.mat new file mode 100644 index 0000000..364de1d --- /dev/null +++ b/Assets/Materials/Wormhole.mat @@ -0,0 +1,59 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Wormhole + m_Shader: {fileID: -6465566751694194690, guid: 5e68bbedda3b17858b070612ad890c40, type: 3} + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _AlphaTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 47e353a78c92b9838963e533e37462e5, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MaskTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _NormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _Circular: 1 + - _EnableExternalAlpha: 0 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _Flip: {r: 1, g: 1, b: 1, a: 1} + - _RendererColor: {r: 1, g: 1, b: 1, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/Wormhole.mat.meta b/Assets/Materials/Wormhole.mat.meta new file mode 100644 index 0000000..e1452bc --- /dev/null +++ b/Assets/Materials/Wormhole.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d6f2bc558df4da55ea47f9c60de7afd2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Wormhole.prefab b/Assets/Prefabs/Wormhole.prefab new file mode 100644 index 0000000..cdd5e92 --- /dev/null +++ b/Assets/Prefabs/Wormhole.prefab @@ -0,0 +1,116 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &7486271855853268360 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7486271855853268358} + - component: {fileID: 7486271855853268361} + - component: {fileID: 7486271855853268356} + - component: {fileID: 7486271855853268359} + m_Layer: 0 + m_Name: Wormhole + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7486271855853268358 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7486271855853268360} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &7486271855853268361 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7486271855853268360} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: d6f2bc558df4da55ea47f9c60de7afd2, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 1 + m_Sprite: {fileID: 21300000, guid: 47e353a78c92b9838963e533e37462e5, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!114 &7486271855853268356 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7486271855853268360} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cb6d62361e0d4241a3a06744500d9d9f, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &7486271855853268359 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7486271855853268360} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3} + m_Name: + m_EditorClassIdentifier: + GlobalObjectIdHash: 951099334 + AlwaysReplicateAsRoot: 0 + DontDestroyWithOwner: 0 + AutoObjectParentSync: 1 diff --git a/Assets/Prefabs/Wormhole.prefab.meta b/Assets/Prefabs/Wormhole.prefab.meta new file mode 100644 index 0000000..8c65a3e --- /dev/null +++ b/Assets/Prefabs/Wormhole.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bf48a6813e1f5a2f7a63fc5c413808cb +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Game.unity b/Assets/Scenes/Game.unity index dae1fa2..f30a321 100644 --- a/Assets/Scenes/Game.unity +++ b/Assets/Scenes/Game.unity @@ -1025,6 +1025,7 @@ MonoBehaviour: - {fileID: 11400000, guid: ae5a83823d492d27bbb84006f6e0e8c2, type: 2} - {fileID: 11400000, guid: df0f24b538b5fed02a7faa3a5e0f121b, type: 2} - {fileID: 11400000, guid: 73dc3bbc93cba37b1b989a9497b680e7, type: 2} + wormholePrefab: {fileID: 0} --- !u!4 &2109945868 Transform: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/Game/GameManager.cs b/Assets/Scripts/Game/GameManager.cs index cf983da..c7e2d81 100644 --- a/Assets/Scripts/Game/GameManager.cs +++ b/Assets/Scripts/Game/GameManager.cs @@ -26,12 +26,13 @@ namespace Game { public Object playerPrefab; public Object modificationPrefab; public ModificationProperties[] modifications; + public Object wormholePrefab; public List Balls { get; } = new(); public Player Player1 { get; private set; } public Player Player2 { get; private set; } - private void Awake() { + private void SetupPlayers() { Settings.Type = Type.Hybrid; Settings.AIDifficulty = Difficulty.Hard; @@ -51,6 +52,12 @@ namespace Game { p2 = p2Obj.AddComponent(); ((RealPlayer) p1).isThisClient = true; break; + case Type.RealOffline: + p1 = p1Obj.AddComponent(); + p2 = p2Obj.AddComponent(); + ((RealPlayer) p1).isThisClient = true; + ((RealPlayer) p2).isThisClient = true; + break; case Type.Hybrid: p1 = p1Obj.AddComponent(); p2 = p2Obj.AddComponent(); @@ -65,15 +72,15 @@ namespace Game { Player1 = p1; Player2 = p2; - + } + + private void Awake() { + SetupPlayers(); SpawnBall(Player1, true); } - private IEnumerator Start() { - while (Application.isPlaying) { - yield return new WaitForSeconds(1); - SpawnModification(); - } + private void SpawnWormhole() { + } private void SpawnModification() { diff --git a/Assets/Scripts/Game/Modification.cs b/Assets/Scripts/Game/Modification.cs index 1a2f513..3606c7b 100644 --- a/Assets/Scripts/Game/Modification.cs +++ b/Assets/Scripts/Game/Modification.cs @@ -7,9 +7,6 @@ using UnityEngine.UIElements; namespace Game { - public enum ModType { Nerf, Buff } - public enum ModEffect { Speed, Border } - public class Modification : Collectable { public ModificationProperties Properties { get; set; } diff --git a/Assets/Scripts/Game/ModificationProperties.cs b/Assets/Scripts/Game/ModificationProperties.cs index 09093a7..46c99ae 100644 --- a/Assets/Scripts/Game/ModificationProperties.cs +++ b/Assets/Scripts/Game/ModificationProperties.cs @@ -2,6 +2,10 @@ using UnityEngine; using UnityEngine.Serialization; namespace Game { + + public enum ModType { Nerf, Buff } + public enum ModEffect { Speed, Border } + [CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/ModificationProperties", order = 0)] public class ModificationProperties : ScriptableObject { public ModType type; diff --git a/Assets/Scripts/Game/Player.cs b/Assets/Scripts/Game/Player.cs index b18f7b7..7893a0a 100644 --- a/Assets/Scripts/Game/Player.cs +++ b/Assets/Scripts/Game/Player.cs @@ -17,7 +17,7 @@ namespace Game { protected bool goingLeft, goingRight; - public VisualElement Panel { get; private set; } + private VisualElement Panel { get; set; } private List Modifications { get; } = new(); @@ -38,8 +38,8 @@ namespace Game { } // Unit distance from zero - private readonly float baseBorder = Dimensions.Singleton.PlaySize.x / 2 * 0.9f; - private readonly float borderSummand = Dimensions.Singleton.PlaySize.x / 2 * 0.1f; + private readonly float baseBorder = Dimensions.Singleton.PlaySize.x / 2 * 0.85f; + private readonly float borderSummand = Dimensions.Singleton.PlaySize.x / 2 * 0.15f; protected float Border { get { return Mathf.Min(Modifications.Where(m => m.effect == ModEffect.Border) @@ -106,7 +106,7 @@ namespace Game { ClampInsideBorders(); } - private void Start() { + protected void Start() { float y = Side switch { Side.Bottom => -Dimensions.Singleton.PlaySizeBoards.y / 2, Side.Top => Dimensions.Singleton.PlaySizeBoards.y / 2, @@ -117,39 +117,6 @@ namespace Game { transform.Rotate(transform.forward, 180); Panel = GameUI.Singleton.PlayerPanel(Side); UpdatePanel(); - GameUI.Singleton.buttonDown += (side, direction) => { - if (!side.Equals(Side)) - return; - if (direction == "left") - goingLeft = true; - else - goingRight = true; - }; - GameUI.Singleton.buttonUp += (side, direction) => { - if (!side.Equals(Side)) - return; - if (direction == "left") - goingLeft = false; - else - goingRight = false; - }; - } - } - - public class RealPlayer : Player { - public bool isThisClient; - - private void FixedUpdate() { - if (!isThisClient) - return; - - if (Application.isEditor) { - var keyboard = Keyboard.current; - goingLeft = keyboard.aKey.isPressed; - goingRight = keyboard.dKey.isPressed; - } - - TryLinearMove(Time.fixedDeltaTime); } } } diff --git a/Assets/Scripts/Game/RealPlayer.cs b/Assets/Scripts/Game/RealPlayer.cs new file mode 100644 index 0000000..74fae93 --- /dev/null +++ b/Assets/Scripts/Game/RealPlayer.cs @@ -0,0 +1,49 @@ +using UnityEngine; +using UnityEngine.InputSystem; + +namespace Game { + public class RealPlayer : Player { + public bool isThisClient; + + private new void Start() { + base.Start(); + GameUI.Singleton.buttonDown += (side, direction) => { + if (!side.Equals(Side)) + return; + if (direction == "left") + goingLeft = true; + else + goingRight = true; + }; + GameUI.Singleton.buttonUp += (side, direction) => { + if (!side.Equals(Side)) + return; + if (direction == "left") + goingLeft = false; + else + goingRight = false; + }; + } + + private void FixedUpdate() { + if (!isThisClient) + return; + + if (Application.isEditor) { + var keyboard = Keyboard.current; + switch (Side) { + case Side.Top: + goingLeft = keyboard.aKey.isPressed; + goingRight = keyboard.dKey.isPressed; + break; + case Side.Bottom: + goingLeft = keyboard.leftArrowKey.isPressed; + goingRight = keyboard.rightArrowKey.isPressed; + break; + } + } + + TryLinearMove(Time.fixedDeltaTime); + } + } +} diff --git a/Assets/Scripts/Game/RealPlayer.cs.meta b/Assets/Scripts/Game/RealPlayer.cs.meta new file mode 100644 index 0000000..517eea3 --- /dev/null +++ b/Assets/Scripts/Game/RealPlayer.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 770f63511b4544668a55d469469156ef +timeCreated: 1681545400 \ No newline at end of file diff --git a/Assets/Scripts/Game/Wormhole.cs b/Assets/Scripts/Game/Wormhole.cs new file mode 100644 index 0000000..a9e3c43 --- /dev/null +++ b/Assets/Scripts/Game/Wormhole.cs @@ -0,0 +1,21 @@ +using System; +using Unity.Netcode; +using UnityEngine; + +namespace Game { + public class Wormhole : NetworkBehaviour { + + public float Size { get; set; } + + private void Start() { + transform.localScale = new Vector3(Size, Size, Size); + } + + private void FixedUpdate() { + foreach (var ball in GameManager.Singleton.Balls) { + + } + } + + } +} diff --git a/Assets/Scripts/Game/Wormhole.cs.meta b/Assets/Scripts/Game/Wormhole.cs.meta new file mode 100644 index 0000000..863ae6f --- /dev/null +++ b/Assets/Scripts/Game/Wormhole.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: cb6d62361e0d4241a3a06744500d9d9f +timeCreated: 1681541658 \ No newline at end of file diff --git a/Assets/Shaders/GradientSprite.shadergraph b/Assets/Shaders/GradientSprite.shadergraph new file mode 100644 index 0000000..44ca5b2 --- /dev/null +++ b/Assets/Shaders/GradientSprite.shadergraph @@ -0,0 +1,2272 @@ +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "297e3b254f3142c18be05631a0be8cc1", + "m_Properties": [ + { + "m_Id": "ac5560c79f664537be48a6959117293a" + }, + { + "m_Id": "403714350a1b45f5bfd42fa6063e3d0a" + }, + { + "m_Id": "f831077ad1e2485ea4635302ea8e6adc" + } + ], + "m_Keywords": [], + "m_Dropdowns": [], + "m_CategoryData": [ + { + "m_Id": "036dbd014cbc4cd6b922f0a3129ad954" + } + ], + "m_Nodes": [ + { + "m_Id": "0a9d3a31f92a4d0c90804dc354d7928a" + }, + { + "m_Id": "b3c9376d0d4c449a910b8a1deb8a8196" + }, + { + "m_Id": "335b239ae53c401c94018a21fbf5a38c" + }, + { + "m_Id": "1b40edc05ee3427f94ef7525e361d028" + }, + { + "m_Id": "3c7829d6bfdb472a833fb07d019c285c" + }, + { + "m_Id": "dd6543bc3eb44a4d967e3778ffb0f366" + }, + { + "m_Id": "3b107a05c77843f1be5bf7bde97872e7" + }, + { + "m_Id": "35fb6f333eaf4fdd984711f84635e2ac" + }, + { + "m_Id": "807a38fdd9884537a6a58c2a63615aba" + }, + { + "m_Id": "f7866121058248f98c5af98c21ce6c76" + }, + { + "m_Id": "32fd5797914a446d88f5e3384b21753a" + }, + { + "m_Id": "09d858bd77ed49e88176b9db0c99b120" + }, + { + "m_Id": "9ea170c0398d43548f0683634671834e" + }, + { + "m_Id": "7d0243c3beb846a7b553fc9cd973de28" + }, + { + "m_Id": "d3ff0faa717d47aba8b50c8e96e435df" + }, + { + "m_Id": "77cb20933d7f490bbad7cd6e0bbb72b1" + }, + { + "m_Id": "4daf53cb5dec4bb5865a04ee1544572a" + } + ], + "m_GroupDatas": [], + "m_StickyNoteDatas": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "09d858bd77ed49e88176b9db0c99b120" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "9ea170c0398d43548f0683634671834e" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "09d858bd77ed49e88176b9db0c99b120" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "9ea170c0398d43548f0683634671834e" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "09d858bd77ed49e88176b9db0c99b120" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "9ea170c0398d43548f0683634671834e" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "09d858bd77ed49e88176b9db0c99b120" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "3b107a05c77843f1be5bf7bde97872e7" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "32fd5797914a446d88f5e3384b21753a" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "7d0243c3beb846a7b553fc9cd973de28" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "35fb6f333eaf4fdd984711f84635e2ac" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "807a38fdd9884537a6a58c2a63615aba" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "4daf53cb5dec4bb5865a04ee1544572a" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "32fd5797914a446d88f5e3384b21753a" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "77cb20933d7f490bbad7cd6e0bbb72b1" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "4daf53cb5dec4bb5865a04ee1544572a" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "7d0243c3beb846a7b553fc9cd973de28" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "09d858bd77ed49e88176b9db0c99b120" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "807a38fdd9884537a6a58c2a63615aba" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "7d0243c3beb846a7b553fc9cd973de28" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "9ea170c0398d43548f0683634671834e" + }, + "m_SlotId": 5 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "1b40edc05ee3427f94ef7525e361d028" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "d3ff0faa717d47aba8b50c8e96e435df" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "77cb20933d7f490bbad7cd6e0bbb72b1" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "f7866121058248f98c5af98c21ce6c76" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "32fd5797914a446d88f5e3384b21753a" + }, + "m_SlotId": 0 + } + } + ], + "m_VertexContext": { + "m_Position": { + "x": 1018.0001220703125, + "y": -537.0 + }, + "m_Blocks": [ + { + "m_Id": "0a9d3a31f92a4d0c90804dc354d7928a" + }, + { + "m_Id": "b3c9376d0d4c449a910b8a1deb8a8196" + }, + { + "m_Id": "335b239ae53c401c94018a21fbf5a38c" + } + ] + }, + "m_FragmentContext": { + "m_Position": { + "x": 1018.0001220703125, + "y": -346.0 + }, + "m_Blocks": [ + { + "m_Id": "1b40edc05ee3427f94ef7525e361d028" + }, + { + "m_Id": "3c7829d6bfdb472a833fb07d019c285c" + }, + { + "m_Id": "dd6543bc3eb44a4d967e3778ffb0f366" + }, + { + "m_Id": "3b107a05c77843f1be5bf7bde97872e7" + } + ] + }, + "m_PreviewData": { + "serializedMesh": { + "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", + "m_Guid": "" + }, + "preventRotation": false + }, + "m_Path": "Shader Graphs", + "m_GraphPrecision": 1, + "m_PreviewMode": 2, + "m_OutputNode": { + "m_Id": "" + }, + "m_ActiveTargets": [ + { + "m_Id": "bc319e154fc94130bc43baad097cb9ea" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "005d84e59b4c4e0abf6fd9cb9da169f2", + "m_Id": 1, + "m_DisplayName": "Center", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Center", + "m_StageCapability": 3, + "m_Value": { + "x": 0.5, + "y": 0.5 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CategoryData", + "m_ObjectId": "036dbd014cbc4cd6b922f0a3129ad954", + "m_Name": "", + "m_ChildObjectList": [ + { + "m_Id": "ac5560c79f664537be48a6959117293a" + }, + { + "m_Id": "403714350a1b45f5bfd42fa6063e3d0a" + }, + { + "m_Id": "f831077ad1e2485ea4635302ea8e6adc" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBAMaterialSlot", + "m_ObjectId": "04341a6ab8564a008bb2f4ea4c7d831d", + "m_Id": 0, + "m_DisplayName": "Sprite Mask", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "SpriteMask", + "m_StageCapability": 2, + "m_Value": { + "x": 1.0, + "y": 1.0, + "z": 1.0, + "w": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SplitNode", + "m_ObjectId": "09d858bd77ed49e88176b9db0c99b120", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Split", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 684.0000610351563, + "y": -325.9999694824219, + "width": 119.99993896484375, + "height": 149.0 + } + }, + "m_Slots": [ + { + "m_Id": "94c47554f96c4928b6d997ddcb7c8dcd" + }, + { + "m_Id": "b86620e0eb4f455293006adb413117be" + }, + { + "m_Id": "5fbf3072a84d49aaa77cd6a461762c26" + }, + { + "m_Id": "28796d2cb80a44d8af106e8390f25ead" + }, + { + "m_Id": "1b03796c1b50408dac895b4dde31f22d" + } + ], + "synonyms": [ + "separate" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "0a9589445d3e4b6c930b1b2d2ac35b94", + "m_Id": 3, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "0a9d3a31f92a4d0c90804dc354d7928a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -15.999998092651368, + "y": -47.999996185302737, + "width": 200.00003051757813, + "height": 41.0 + } + }, + "m_Slots": [ + { + "m_Id": "8f7def75ed37422c8dc9f3efcd950e2b" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Position" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "0aa6d1e88f4e4cd6962ca748fdd2ae66", + "m_Id": 0, + "m_DisplayName": "In", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "In", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "0b895513f08c45da91f5f5ee49b403a5", + "m_Id": 2, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "0dd48aaaf45d4c6fad6c475b8bab68d7", + "m_Id": 0, + "m_DisplayName": "R", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "R", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", + "m_ObjectId": "0f0a87d0c5264429ba21f6320cb25b91", + "m_Id": 0, + "m_DisplayName": "UV", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "UV", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [], + "m_Channel": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "1b03796c1b50408dac895b4dde31f22d", + "m_Id": 4, + "m_DisplayName": "A", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "1b40edc05ee3427f94ef7525e361d028", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.BaseColor", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "cf8675e110e542158e6b27d9da1f2880" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.BaseColor" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "208cf08f38ba4f24afbad86f47629961", + "m_Id": 4, + "m_DisplayName": "R", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "R", + "m_StageCapability": 2, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "2701167775774eedb1473699178e188b", + "m_Id": 6, + "m_DisplayName": "RG", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "RG", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "28796d2cb80a44d8af106e8390f25ead", + "m_Id": 3, + "m_DisplayName": "B", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "2bcc44ecdfcf4d59b42e278a5fae9bcd", + "m_Id": 2, + "m_DisplayName": "Radial Scale", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "RadialScale", + "m_StageCapability": 3, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.SampleGradient", + "m_ObjectId": "32fd5797914a446d88f5e3384b21753a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Sample Gradient", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 178.00001525878907, + "y": -451.9999694824219, + "width": 167.9999542236328, + "height": 117.99996948242188 + } + }, + "m_Slots": [ + { + "m_Id": "d5bbcb0c3043469081d1be2a65c2b9ea" + }, + { + "m_Id": "791e8dad05d546e1876addd0b3892874" + }, + { + "m_Id": "f8de06454bd34de094748022a7aae48d" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "335b239ae53c401c94018a21fbf5a38c", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Tangent", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "a0a30ac26b1b47218ed357d50f94c967" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Tangent" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "35fb6f333eaf4fdd984711f84635e2ac", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 11.999988555908204, + "y": -275.0, + "width": 134.0000762939453, + "height": 34.00001525878906 + } + }, + "m_Slots": [ + { + "m_Id": "b5524503a1254aebaf7fd596dca461e7" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "f831077ad1e2485ea4635302ea8e6adc" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot", + "m_ObjectId": "3665aeba8adf4c6eb3937d5c165f137b", + "m_Id": 3, + "m_DisplayName": "Sampler", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Sampler", + "m_StageCapability": 3, + "m_BareResource": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalSpriteCustomLitSubTarget", + "m_ObjectId": "3973016ebd1a4a6c8fe89ee1777489e6" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "3b107a05c77843f1be5bf7bde97872e7", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Alpha", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "bfe0f8f03e964d68a4526bb6157d5d69" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Alpha" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "3c7829d6bfdb472a833fb07d019c285c", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.SpriteMask", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "04341a6ab8564a008bb2f4ea4c7d831d" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.SpriteMask" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty", + "m_ObjectId": "403714350a1b45f5bfd42fa6063e3d0a", + "m_Guid": { + "m_GuidSerialized": "757de1e8-3b77-43e2-9ed1-b6986779d186" + }, + "m_Name": "Circular", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Circular", + "m_DefaultReferenceName": "_Circular", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.OneMinusNode", + "m_ObjectId": "4daf53cb5dec4bb5865a04ee1544572a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "One Minus", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -115.99999237060547, + "y": -440.0, + "width": 127.99998474121094, + "height": 94.0 + } + }, + "m_Slots": [ + { + "m_Id": "d4665abe5370457c9192f136672fc3c6" + }, + { + "m_Id": "e1c2b3ce20d4450fb88e362ffa290659" + } + ], + "synonyms": [ + "complement", + "invert", + "opposite" + ], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GradientMaterialSlot", + "m_ObjectId": "4ebfe1a7acf04babbb081b0b3a356090", + "m_Id": 0, + "m_DisplayName": "Gradient", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "5569d40a8dd64b8d88816959a594cba9", + "m_Id": 1, + "m_DisplayName": "G", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "G", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "5f570043e258429dab6724f003e22d17", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "e00": 2.0, + "e01": 2.0, + "e02": 2.0, + "e03": 2.0, + "e10": 2.0, + "e11": 2.0, + "e12": 2.0, + "e13": 2.0, + "e20": 2.0, + "e21": 2.0, + "e22": 2.0, + "e23": 2.0, + "e30": 2.0, + "e31": 2.0, + "e32": 2.0, + "e33": 2.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "5fbf3072a84d49aaa77cd6a461762c26", + "m_Id": 2, + "m_DisplayName": "G", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "G", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "6449a8e14e5c43988c0ca948628e605e", + "m_Id": 0, + "m_DisplayName": "RGBA", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "RGBA", + "m_StageCapability": 2, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "685dced57cc34c52a9cc6d78508e7d83", + "m_Id": 0, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": { + "e00": 0.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 0.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 0.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 0.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "690cff8d3cdb4343aba7135e6e480bc8", + "m_Id": 7, + "m_DisplayName": "A", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 2, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SplitNode", + "m_ObjectId": "77cb20933d7f490bbad7cd6e0bbb72b1", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Split", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -305.0, + "y": -451.9999694824219, + "width": 119.0, + "height": 149.0 + } + }, + "m_Slots": [ + { + "m_Id": "0aa6d1e88f4e4cd6962ca748fdd2ae66" + }, + { + "m_Id": "cfacace71bc84aac911245e74dc1a4fe" + }, + { + "m_Id": "80d22d12ba3c466c84b307fe14c2cc26" + }, + { + "m_Id": "f6fd51f0909a4d518dc1c91a36c8775b" + }, + { + "m_Id": "faaf158d8b8a4ad4a6344e0a52420f61" + } + ], + "synonyms": [ + "separate" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "791e8dad05d546e1876addd0b3892874", + "m_Id": 1, + "m_DisplayName": "Time", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Time", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "7d0243c3beb846a7b553fc9cd973de28", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 422.0000915527344, + "y": -346.0, + "width": 207.99996948242188, + "height": 302.0000305175781 + } + }, + "m_Slots": [ + { + "m_Id": "685dced57cc34c52a9cc6d78508e7d83" + }, + { + "m_Id": "5f570043e258429dab6724f003e22d17" + }, + { + "m_Id": "a3001a3bb75c4481a0aba7482e596f13" + } + ], + "synonyms": [ + "multiplication", + "times", + "x" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode", + "m_ObjectId": "807a38fdd9884537a6a58c2a63615aba", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Sample Texture 2D", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 178.00001525878907, + "y": -275.0, + "width": 208.00010681152345, + "height": 435.00006103515627 + } + }, + "m_Slots": [ + { + "m_Id": "6449a8e14e5c43988c0ca948628e605e" + }, + { + "m_Id": "208cf08f38ba4f24afbad86f47629961" + }, + { + "m_Id": "ad57131eeb94404e91a5b852e008650d" + }, + { + "m_Id": "a529bd3dc95747928a0da3d280309ed3" + }, + { + "m_Id": "690cff8d3cdb4343aba7135e6e480bc8" + }, + { + "m_Id": "bd57c8d124bd4c2883f8cbc4c8c12e4c" + }, + { + "m_Id": "c3d6d3530317407a966d2963a1f84471" + }, + { + "m_Id": "3665aeba8adf4c6eb3937d5c165f137b" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_TextureType": 0, + "m_NormalMapSpace": 0, + "m_EnableGlobalMipBias": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "80d22d12ba3c466c84b307fe14c2cc26", + "m_Id": 2, + "m_DisplayName": "G", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "G", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", + "m_ObjectId": "8f7def75ed37422c8dc9f3efcd950e2b", + "m_Id": 0, + "m_DisplayName": "Position", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Position", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "920532006ec540d2a347b0665d7a111b", + "m_Id": 4, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "94c47554f96c4928b6d997ddcb7c8dcd", + "m_Id": 0, + "m_DisplayName": "In", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "In", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "973c6534ec684aa48fe65dd3f28ac9a8", + "m_Id": 5, + "m_DisplayName": "RGB", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "RGB", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "97ed7be93eec4f578f4c017b09f0367e", + "m_Id": 0, + "m_DisplayName": "Normal (Tangent Space)", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "NormalTS", + "m_StageCapability": 2, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 3 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CombineNode", + "m_ObjectId": "9ea170c0398d43548f0683634671834e", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Combine", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 840.0001220703125, + "y": -334.0, + "width": 139.9998779296875, + "height": 166.0 + } + }, + "m_Slots": [ + { + "m_Id": "0dd48aaaf45d4c6fad6c475b8bab68d7" + }, + { + "m_Id": "5569d40a8dd64b8d88816959a594cba9" + }, + { + "m_Id": "0b895513f08c45da91f5f5ee49b403a5" + }, + { + "m_Id": "0a9589445d3e4b6c930b1b2d2ac35b94" + }, + { + "m_Id": "a3570ebb7d5344c9ad1ac4854ca954ef" + }, + { + "m_Id": "973c6534ec684aa48fe65dd3f28ac9a8" + }, + { + "m_Id": "2701167775774eedb1473699178e188b" + } + ], + "synonyms": [ + "append" + ], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", + "m_ObjectId": "a0a30ac26b1b47218ed357d50f94c967", + "m_Id": 0, + "m_DisplayName": "Tangent", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tangent", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "a3001a3bb75c4481a0aba7482e596f13", + "m_Id": 2, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "e00": 0.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 0.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 0.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 0.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "a3570ebb7d5344c9ad1ac4854ca954ef", + "m_Id": 4, + "m_DisplayName": "RGBA", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "RGBA", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "a529bd3dc95747928a0da3d280309ed3", + "m_Id": 6, + "m_DisplayName": "B", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 2, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GradientShaderProperty", + "m_ObjectId": "ac5560c79f664537be48a6959117293a", + "m_Guid": { + "m_GuidSerialized": "ec03946f-b42a-4033-a7d3-970efac47394" + }, + "m_Name": "Gradient", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Gradient", + "m_DefaultReferenceName": "_Gradient", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": false, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "serializedVersion": "2", + "key0": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key1": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 1.0 + }, + "key2": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key3": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.5333333611488342 + }, + "key4": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key5": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key6": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key7": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "ctime0": 0, + "ctime1": 65535, + "ctime2": 65535, + "ctime3": 0, + "ctime4": 0, + "ctime5": 0, + "ctime6": 0, + "ctime7": 0, + "atime0": 0, + "atime1": 65150, + "atime2": 65150, + "atime3": 65150, + "atime4": 0, + "atime5": 0, + "atime6": 0, + "atime7": 0, + "m_Mode": 0, + "m_NumColorKeys": 2, + "m_NumAlphaKeys": 2 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "ad57131eeb94404e91a5b852e008650d", + "m_Id": 5, + "m_DisplayName": "G", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "G", + "m_StageCapability": 2, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "b3c9376d0d4c449a910b8a1deb8a8196", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Normal", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "e1ecb44725be4ee2bf42160b8a3c47a3" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Normal" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot", + "m_ObjectId": "b5524503a1254aebaf7fd596dca461e7", + "m_Id": 0, + "m_DisplayName": "_MainTex", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_BareResource": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "b86620e0eb4f455293006adb413117be", + "m_Id": 1, + "m_DisplayName": "R", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "R", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", + "m_ObjectId": "bc319e154fc94130bc43baad097cb9ea", + "m_ActiveSubTarget": { + "m_Id": "3973016ebd1a4a6c8fe89ee1777489e6" + }, + "m_AllowMaterialOverride": false, + "m_SurfaceType": 0, + "m_ZTestMode": 4, + "m_ZWriteControl": 0, + "m_AlphaMode": 0, + "m_RenderFace": 2, + "m_AlphaClip": false, + "m_CastShadows": true, + "m_ReceiveShadows": true, + "m_CustomEditorGUI": "", + "m_SupportVFX": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot", + "m_ObjectId": "bd57c8d124bd4c2883f8cbc4c8c12e4c", + "m_Id": 1, + "m_DisplayName": "Texture", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Texture", + "m_StageCapability": 3, + "m_BareResource": false, + "m_Texture": { + "m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}", + "m_Guid": "" + }, + "m_DefaultType": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "bfe0f8f03e964d68a4526bb6157d5d69", + "m_Id": 0, + "m_DisplayName": "Alpha", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Alpha", + "m_StageCapability": 2, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", + "m_ObjectId": "c3d6d3530317407a966d2963a1f84471", + "m_Id": 2, + "m_DisplayName": "UV", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "UV", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [], + "m_Channel": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "cf8675e110e542158e6b27d9da1f2880", + "m_Id": 0, + "m_DisplayName": "Base Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "BaseColor", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_ColorMode": 0, + "m_DefaultColor": { + "r": 0.5, + "g": 0.5, + "b": 0.5, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "cfacace71bc84aac911245e74dc1a4fe", + "m_Id": 1, + "m_DisplayName": "R", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "R", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PolarCoordinatesNode", + "m_ObjectId": "d3ff0faa717d47aba8b50c8e96e435df", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Polar Coordinates", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -603.0, + "y": -449.9999694824219, + "width": 208.0, + "height": 349.9999694824219 + } + }, + "m_Slots": [ + { + "m_Id": "0f0a87d0c5264429ba21f6320cb25b91" + }, + { + "m_Id": "005d84e59b4c4e0abf6fd9cb9da169f2" + }, + { + "m_Id": "2bcc44ecdfcf4d59b42e278a5fae9bcd" + }, + { + "m_Id": "e7a2dadb910a43c5bcba2ed31b788b8b" + }, + { + "m_Id": "920532006ec540d2a347b0665d7a111b" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "d4665abe5370457c9192f136672fc3c6", + "m_Id": 0, + "m_DisplayName": "In", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "In", + "m_StageCapability": 3, + "m_Value": { + "x": 1.0, + "y": 1.0, + "z": 1.0, + "w": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.GradientInputMaterialSlot", + "m_ObjectId": "d5bbcb0c3043469081d1be2a65c2b9ea", + "m_Id": 0, + "m_DisplayName": "Gradient", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Gradient", + "m_StageCapability": 3, + "m_Value": { + "serializedVersion": "2", + "key0": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": 1.0 + }, + "key1": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": 1.0 + }, + "key2": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key3": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key4": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key5": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key6": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key7": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "ctime0": 0, + "ctime1": 65535, + "ctime2": 0, + "ctime3": 0, + "ctime4": 0, + "ctime5": 0, + "ctime6": 0, + "ctime7": 0, + "atime0": 0, + "atime1": 65535, + "atime2": 0, + "atime3": 0, + "atime4": 0, + "atime5": 0, + "atime6": 0, + "atime7": 0, + "m_Mode": 0, + "m_NumColorKeys": 2, + "m_NumAlphaKeys": 2 + }, + "m_DefaultValue": { + "serializedVersion": "2", + "key0": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": 1.0 + }, + "key1": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": 1.0 + }, + "key2": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key3": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key4": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key5": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key6": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "key7": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "ctime0": 0, + "ctime1": 65535, + "ctime2": 0, + "ctime3": 0, + "ctime4": 0, + "ctime5": 0, + "ctime6": 0, + "ctime7": 0, + "atime0": 0, + "atime1": 65535, + "atime2": 0, + "atime3": 0, + "atime4": 0, + "atime5": 0, + "atime6": 0, + "atime7": 0, + "m_Mode": 0, + "m_NumColorKeys": 2, + "m_NumAlphaKeys": 2 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "dd6543bc3eb44a4d967e3778ffb0f366", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.NormalTS", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "97ed7be93eec4f578f4c017b09f0367e" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.NormalTS" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "e1c2b3ce20d4450fb88e362ffa290659", + "m_Id": 1, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "e1ecb44725be4ee2bf42160b8a3c47a3", + "m_Id": 0, + "m_DisplayName": "Normal", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Normal", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "e7a2dadb910a43c5bcba2ed31b788b8b", + "m_Id": 3, + "m_DisplayName": "Length Scale", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "LengthScale", + "m_StageCapability": 3, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "f6fd51f0909a4d518dc1c91a36c8775b", + "m_Id": 3, + "m_DisplayName": "B", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "f7866121058248f98c5af98c21ce6c76", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 11.999988555908204, + "y": -416.9999694824219, + "width": 113.00007629394531, + "height": 34.0 + } + }, + "m_Slots": [ + { + "m_Id": "4ebfe1a7acf04babbb081b0b3a356090" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "ac5560c79f664537be48a6959117293a" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty", + "m_ObjectId": "f831077ad1e2485ea4635302ea8e6adc", + "m_Guid": { + "m_GuidSerialized": "f63db3b5-6add-4364-a595-807e8e1c321b" + }, + "m_Name": "_MainTex", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "_MainTex", + "m_DefaultReferenceName": "_MainTex", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"47e353a78c92b9838963e533e37462e5\",\"type\":3}}", + "m_Guid": "" + }, + "isMainTexture": false, + "useTilingAndOffset": false, + "m_Modifiable": true, + "m_DefaultType": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "f8de06454bd34de094748022a7aae48d", + "m_Id": 2, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "faaf158d8b8a4ad4a6344e0a52420f61", + "m_Id": 4, + "m_DisplayName": "A", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + diff --git a/Assets/Shaders/GradientSprite.shadergraph.meta b/Assets/Shaders/GradientSprite.shadergraph.meta new file mode 100644 index 0000000..4e215de --- /dev/null +++ b/Assets/Shaders/GradientSprite.shadergraph.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 5e68bbedda3b17858b070612ad890c40 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}