Files
Bombaleila/Library/PackageCache/com.unity.shadergraph@c8830f61858d/Samples~/Terrain/Subgraphs/Components/Hex/Get Hex Grid Triangle.shadersubgraph
2026-03-03 00:39:30 +05:00

1576 lines
37 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "f84ab9d137a947e693aa9b1b41ca7005",
"m_Properties": [
{
"m_Id": "0998682ee9484a15b5a1d9c29aa57738"
},
{
"m_Id": "141c509c86cadb869ede3e7a8baa4629"
},
{
"m_Id": "3950c611d1a3eb89a53dd61d6f30c7e2"
},
{
"m_Id": "4ba3958f9d5c3f899e1e01009b87f503"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "2b7afd28878b4280b39bda263d35aeb7"
}
],
"m_Nodes": [
{
"m_Id": "e1570827597f0b82b43fbbebd2ea05f1"
},
{
"m_Id": "2b6f46c60b10238f986f88c4cc15837e"
},
{
"m_Id": "c9864dfb0cdc4d84bd74c47ea196f203"
},
{
"m_Id": "10f54732b3949a8daee8ec7e7265fe88"
},
{
"m_Id": "f9cf3cf2ba7af588871f6a3519413687"
},
{
"m_Id": "a5515682d35d402e9b3506bed9800d0e"
},
{
"m_Id": "fa35fa6db90746e9b9a3c2f3bce5fa1b"
},
{
"m_Id": "2d10692672a144d5a73c6b8081e93184"
},
{
"m_Id": "a6dc19dac9524d8688bc9c5ae9492c74"
},
{
"m_Id": "56c2d42edc0b4558ab12284983aa190a"
},
{
"m_Id": "40c05aba20344c9bae07f30e1f1a137a"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "3731976caeb34f7bb354edff1dacbdf3"
},
{
"m_Id": "abe9017d85ab46f98800ba741353249c"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "10f54732b3949a8daee8ec7e7265fe88"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f9cf3cf2ba7af588871f6a3519413687"
},
"m_SlotId": 6
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2b6f46c60b10238f986f88c4cc15837e"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f9cf3cf2ba7af588871f6a3519413687"
},
"m_SlotId": 5
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2d10692672a144d5a73c6b8081e93184"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a6dc19dac9524d8688bc9c5ae9492c74"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "40c05aba20344c9bae07f30e1f1a137a"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c9864dfb0cdc4d84bd74c47ea196f203"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "56c2d42edc0b4558ab12284983aa190a"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "40c05aba20344c9bae07f30e1f1a137a"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a5515682d35d402e9b3506bed9800d0e"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f9cf3cf2ba7af588871f6a3519413687"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a6dc19dac9524d8688bc9c5ae9492c74"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "40c05aba20344c9bae07f30e1f1a137a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a6dc19dac9524d8688bc9c5ae9492c74"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "56c2d42edc0b4558ab12284983aa190a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e1570827597f0b82b43fbbebd2ea05f1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a5515682d35d402e9b3506bed9800d0e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e1570827597f0b82b43fbbebd2ea05f1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a5515682d35d402e9b3506bed9800d0e"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f9cf3cf2ba7af588871f6a3519413687"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c9864dfb0cdc4d84bd74c47ea196f203"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f9cf3cf2ba7af588871f6a3519413687"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c9864dfb0cdc4d84bd74c47ea196f203"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f9cf3cf2ba7af588871f6a3519413687"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c9864dfb0cdc4d84bd74c47ea196f203"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f9cf3cf2ba7af588871f6a3519413687"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a6dc19dac9524d8688bc9c5ae9492c74"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "fa35fa6db90746e9b9a3c2f3bce5fa1b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a5515682d35d402e9b3506bed9800d0e"
},
"m_SlotId": 2
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 268.0,
"y": -67.99999237060547
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 268.0,
"y": 132.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Terrain/Components/Hex",
"m_GraphPrecision": 0,
"m_PreviewMode": 1,
"m_OutputNode": {
"m_Id": "c9864dfb0cdc4d84bd74c47ea196f203"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "02097b2e28bf49a49ea0362faab6549f",
"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_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "0998682ee9484a15b5a1d9c29aa57738",
"m_Guid": {
"m_GuidSerialized": "c77e5fe0-96e8-4883-8831-4a52b7641aea"
},
"m_Name": "Edge Contrast",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Edge Contrast",
"m_DefaultReferenceName": "_Edge_Contrast",
"m_OverrideReferenceName": "Vector1_DF8FE34F",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": 5.0,
"m_FloatType": 0,
"m_GammaSpace": false,
"m_SliderType": 0,
"m_SliderPower": 3.0,
"m_EnumType": 0,
"m_CSharpEnumString": "",
"m_EnumNames": [
"Default"
],
"m_EnumValues": [
0
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "0da1486818ee4e9eae8c81ebde817a9d",
"m_Id": 2,
"m_DisplayName": "NotConnected",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "NotConnected",
"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.Vector2MaterialSlot",
"m_ObjectId": "0fadbbd8f0d48b81ad60430963ade1ad",
"m_Id": 2,
"m_DisplayName": "UV G",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UVG",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "10f54732b3949a8daee8ec7e7265fe88",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -116.66667175292969,
"y": 20.000001907348634,
"width": 163.33334350585938,
"height": 36.0
}
},
"m_Slots": [
{
"m_Id": "c0954238234abd8fad219b36d046a413"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "4ba3958f9d5c3f899e1e01009b87f503"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty",
"m_ObjectId": "141c509c86cadb869ede3e7a8baa4629",
"m_Guid": {
"m_GuidSerialized": "6c2e6404-6055-4692-a3cb-467164ef642f"
},
"m_Name": "UVs",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector2_E43128AE",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": true,
"m_CustomSlotLabel": "uv0",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "1b533728c4317084a6466f668dc04064",
"m_Id": 3,
"m_DisplayName": "UV B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UVB",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "2b6f46c60b10238f986f88c4cc15837e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -80.0,
"y": -4.000002384185791,
"width": 123.99999237060547,
"height": 36.0
}
},
"m_Slots": [
{
"m_Id": "71507cda0122058f94168c3cdf6dc391"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "3950c611d1a3eb89a53dd61d6f30c7e2"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "2b7afd28878b4280b39bda263d35aeb7",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "141c509c86cadb869ede3e7a8baa4629"
},
{
"m_Id": "3950c611d1a3eb89a53dd61d6f30c7e2"
},
{
"m_Id": "4ba3958f9d5c3f899e1e01009b87f503"
},
{
"m_Id": "0998682ee9484a15b5a1d9c29aa57738"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "2d10692672a144d5a73c6b8081e93184",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 180.00001525878907,
"y": 112.50003051757813,
"width": 147.00001525878907,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "b1a44d9d164e44c89d1ca3a688c464b2"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "0998682ee9484a15b5a1d9c29aa57738"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "3731976caeb34f7bb354edff1dacbdf3",
"m_Title": "GetHexGridTriangle",
"m_Content": "used for hex grid tiling, this node produces a set of three hex grid UV values that can be plugged into the GridRandom3 node. It also produces a set of red, green, and blue hex grid weights that can be passed into the SampledBlendedTriangleTexture2D subgraph or the SampleBlendedTriangleTextureNormal2D and used to blend the three samples together. The HexSize input controls the size of the hex grid tiles and the EdgeContrast controls the focus or sharpness of the transition between the tiles. Lower values create larger, smoother transitions, and higher values create tighter, more focused transitions.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": 49.500003814697269,
"y": -279.0000305175781,
"width": 307.5000305175781,
"height": 196.00001525878907
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "3950c611d1a3eb89a53dd61d6f30c7e2",
"m_Guid": {
"m_GuidSerialized": "b1ac8b7e-8a4f-44e6-8bbc-1b8d6cd9eb43"
},
"m_Name": "Hex Size",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_9BF5406D",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": 1.0,
"m_FloatType": 0,
"m_GammaSpace": false,
"m_SliderType": 0,
"m_SliderPower": 3.0,
"m_EnumType": 0,
"m_CSharpEnumString": "",
"m_EnumNames": [
"Default"
],
"m_EnumValues": [
0
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DivideNode",
"m_ObjectId": "40c05aba20344c9bae07f30e1f1a137a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 641.0000610351563,
"y": 48.0,
"width": 129.5,
"height": 118.00003051757813
}
},
"m_Slots": [
{
"m_Id": "7ebd87b04cc242039e3748e2119e246a"
},
{
"m_Id": "e10d2a7d72e04bc0be930ace5757e6cb"
},
{
"m_Id": "b92fdee440354c92b68389e0aa92b24a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "49af45a9353a4dfd934cedea3f7404f1",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.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.Internal.BooleanShaderProperty",
"m_ObjectId": "4ba3958f9d5c3f899e1e01009b87f503",
"m_Guid": {
"m_GuidSerialized": "74badc28-74ff-48f6-8834-0722c1f84b60"
},
"m_Name": "Return Hex UVs",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Boolean_F4263971",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "4bedb7925d1a4a1d9802a5e9c88470c0",
"m_Id": 4,
"m_DisplayName": "Weights",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Weights",
"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.DotProductNode",
"m_ObjectId": "56c2d42edc0b4558ab12284983aa190a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Dot Product",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": 490.00006103515627,
"y": 112.50003051757813,
"width": 127.5,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "e61956bd6e5641eabdf119c7a1823f8f"
},
{
"m_Id": "49af45a9353a4dfd934cedea3f7404f1"
},
{
"m_Id": "b2ce3dbc54a1464eb045429bc119bb32"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "6e5775420e2943dda38907a9e85ca35b",
"m_Id": 3,
"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.Vector1MaterialSlot",
"m_ObjectId": "71507cda0122058f94168c3cdf6dc391",
"m_Id": 0,
"m_DisplayName": "Hex Size",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "73a743ecd9eb2b828ee30c3cddbdc618",
"m_Id": 6,
"m_DisplayName": "returnHexUVs",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "returnHexUVs",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "7ebd87b04cc242039e3748e2119e246a",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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.Vector2MaterialSlot",
"m_ObjectId": "95ee77fbeb1cd781b3f5cc2fbe0b1afb",
"m_Id": 0,
"m_DisplayName": "UVs",
"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": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "9d936147dc2c40a791f800a68eee81f1",
"m_Id": 1,
"m_DisplayName": "Connected",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Connected",
"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.BranchOnInputConnectionNode",
"m_ObjectId": "a5515682d35d402e9b3506bed9800d0e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Branch On Input Connection",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -185.50001525878907,
"y": -146.00001525878907,
"width": 206.00003051757813,
"height": 142.00001525878907
}
},
"m_Slots": [
{
"m_Id": "b0abd0da9d3743ed89f353bf5de4b129"
},
{
"m_Id": "9d936147dc2c40a791f800a68eee81f1"
},
{
"m_Id": "0da1486818ee4e9eae8c81ebde817a9d"
},
{
"m_Id": "6e5775420e2943dda38907a9e85ca35b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PowerNode",
"m_ObjectId": "a6dc19dac9524d8688bc9c5ae9492c74",
"m_Group": {
"m_Id": ""
},
"m_Name": "Power",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 337.0000305175781,
"y": 48.0,
"width": 129.5,
"height": 118.00003051757813
}
},
"m_Slots": [
{
"m_Id": "eef4cf73f23644bfbb609f1a44d80ee0"
},
{
"m_Id": "ef99a161c8544189846c3fd9a0984e86"
},
{
"m_Id": "02097b2e28bf49a49ea0362faab6549f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "abe9017d85ab46f98800ba741353249c",
"m_Title": "",
"m_Content": "This part controls how sharp or blurry the borders are between tiles. Higher \"EdgeContrast\" values make the tile borders sharper.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": 452.0000305175781,
"y": 212.00001525878907,
"width": 200.00003051757813,
"height": 100.00001525878906
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyConnectionStateMaterialSlot",
"m_ObjectId": "b0abd0da9d3743ed89f353bf5de4b129",
"m_Id": 0,
"m_DisplayName": "Input",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Input",
"m_StageCapability": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b1a44d9d164e44c89d1ca3a688c464b2",
"m_Id": 0,
"m_DisplayName": "Edge Contrast",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b2ce3dbc54a1464eb045429bc119bb32",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "b5cda4b8ae8c4a03a20e0a948d2af6ae",
"m_Id": 0,
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "b92fdee440354c92b68389e0aa92b24a",
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "c0954238234abd8fad219b36d046a413",
"m_Id": 0,
"m_DisplayName": "Return Hex UVs",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "c44d08c7de4f2d88af205241ba92fd21",
"m_Id": 2,
"m_DisplayName": "uv G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "uvG",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "c9864dfb0cdc4d84bd74c47ea196f203",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 795.0000610351563,
"y": -68.0,
"width": 96.0,
"height": 149.0
}
},
"m_Slots": [
{
"m_Id": "ed2d6ffa2a3de580a7bd3597dc36271a"
},
{
"m_Id": "0fadbbd8f0d48b81ad60430963ade1ad"
},
{
"m_Id": "1b533728c4317084a6466f668dc04064"
},
{
"m_Id": "4bedb7925d1a4a1d9802a5e9c88470c0"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "d172ac1bbdaa6b8ba6ceea07a31a467b",
"m_Id": 4,
"m_DisplayName": "weights",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "weights",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "db2f1ba9d340e9889bbeb92bc1d03a12",
"m_Id": 1,
"m_DisplayName": "uv R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "uvR",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "dbe65bd25affe285bba72681e9997bb5",
"m_Id": 5,
"m_DisplayName": "hexSize",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "hexSize",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e10d2a7d72e04bc0be930ace5757e6cb",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 2.0,
"y": 2.0,
"z": 2.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "e1570827597f0b82b43fbbebd2ea05f1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -291.0000305175781,
"y": -132.0,
"width": 89.50001525878906,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "95ee77fbeb1cd781b3f5cc2fbe0b1afb"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "141c509c86cadb869ede3e7a8baa4629"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "e217bfe06c7e94838247c736676a1cfd",
"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": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e61956bd6e5641eabdf119c7a1823f8f",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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.Vector2MaterialSlot",
"m_ObjectId": "e868511bd46b7e8394e0815be7a17676",
"m_Id": 3,
"m_DisplayName": "uv B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "uvB",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "ed2d6ffa2a3de580a7bd3597dc36271a",
"m_Id": 1,
"m_DisplayName": "UV R",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UVR",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [
"X",
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "eef4cf73f23644bfbb609f1a44d80ee0",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "ef99a161c8544189846c3fd9a0984e86",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 3.0,
"y": 3.0,
"z": 3.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "f9cf3cf2ba7af588871f6a3519413687",
"m_Group": {
"m_Id": ""
},
"m_Name": "GetHexGridTriangle (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 44.50000762939453,
"y": -68.00000762939453,
"width": 267.0000305175781,
"height": 166.00001525878907
}
},
"m_Slots": [
{
"m_Id": "e217bfe06c7e94838247c736676a1cfd"
},
{
"m_Id": "db2f1ba9d340e9889bbeb92bc1d03a12"
},
{
"m_Id": "c44d08c7de4f2d88af205241ba92fd21"
},
{
"m_Id": "e868511bd46b7e8394e0815be7a17676"
},
{
"m_Id": "d172ac1bbdaa6b8ba6ceea07a31a467b"
},
{
"m_Id": "dbe65bd25affe285bba72681e9997bb5"
},
{
"m_Id": "73a743ecd9eb2b828ee30c3cddbdc618"
}
],
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "GetHexGridTriangle",
"m_FunctionSource": "5d933689cc9357c409e6fd213c05c330",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVNode",
"m_ObjectId": "fa35fa6db90746e9b9a3c2f3bce5fa1b",
"m_Group": {
"m_Id": ""
},
"m_Name": "UV",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -348.66668701171877,
"y": -98.0,
"width": 147.33334350585938,
"height": 131.3333282470703
}
},
"m_Slots": [
{
"m_Id": "b5cda4b8ae8c4a03a20e0a948d2af6ae"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_OutputChannel": 0
}