Net-Game/Library/PackageCache/com.unity.shadergraph@cdef3258c742/Samples~/UGUIShaders/Subgraphs/Helpers/Posterize Gradient.shadersubgraph
2025-03-28 08:33:16 -04:00

1522 lines
34 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "f67a200cc1a044dab72dd1208e57df34",
"m_Properties": [
{
"m_Id": "b62ae7cd2fee46c4a468d79d5caa1e5c"
},
{
"m_Id": "9c7e0a3ead354b7ebbeb16df9eed7f92"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "357d3203a95147ada541032c982a58cc"
}
],
"m_Nodes": [
{
"m_Id": "505560724c524d1e87af303f8af6784f"
},
{
"m_Id": "e5094789259048e3a93ee5170040a68b"
},
{
"m_Id": "40d9325520094e07ac6fc9c43a6217a4"
},
{
"m_Id": "23d95a0f54d640039e7ddbc109ef47f0"
},
{
"m_Id": "e182dc2f913340a98e91679c3137faac"
},
{
"m_Id": "8616bc24e0d04d68a874b2299b28c4f2"
},
{
"m_Id": "49c1394c030548d1b79ce8c710151cb2"
},
{
"m_Id": "151c24fb86cf40aa947352fb0fe762c1"
},
{
"m_Id": "48e52b42dfeb45cbaa4a10b151669e9d"
},
{
"m_Id": "700c860336174519bf84675fe230bb0f"
},
{
"m_Id": "a97358129e3b4a9089be0c62ab2ee510"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "ff63b225aea94d76b2ee4d3cc462a5b8"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "151c24fb86cf40aa947352fb0fe762c1"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "700c860336174519bf84675fe230bb0f"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "23d95a0f54d640039e7ddbc109ef47f0"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "40d9325520094e07ac6fc9c43a6217a4"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "40d9325520094e07ac6fc9c43a6217a4"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8616bc24e0d04d68a874b2299b28c4f2"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "48e52b42dfeb45cbaa4a10b151669e9d"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "700c860336174519bf84675fe230bb0f"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "48e52b42dfeb45cbaa4a10b151669e9d"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a97358129e3b4a9089be0c62ab2ee510"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "49c1394c030548d1b79ce8c710151cb2"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "151c24fb86cf40aa947352fb0fe762c1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "700c860336174519bf84675fe230bb0f"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "505560724c524d1e87af303f8af6784f"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8616bc24e0d04d68a874b2299b28c4f2"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "48e52b42dfeb45cbaa4a10b151669e9d"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a97358129e3b4a9089be0c62ab2ee510"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "505560724c524d1e87af303f8af6784f"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e182dc2f913340a98e91679c3137faac"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "49c1394c030548d1b79ce8c710151cb2"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e182dc2f913340a98e91679c3137faac"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8616bc24e0d04d68a874b2299b28c4f2"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e182dc2f913340a98e91679c3137faac"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a97358129e3b4a9089be0c62ab2ee510"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e5094789259048e3a93ee5170040a68b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "40d9325520094e07ac6fc9c43a6217a4"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e5094789259048e3a93ee5170040a68b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "40d9325520094e07ac6fc9c43a6217a4"
},
"m_SlotId": 1
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Procedural/Helpers",
"m_GraphPrecision": 1,
"m_PreviewMode": 1,
"m_OutputNode": {
"m_Id": "505560724c524d1e87af303f8af6784f"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "049591a814d14d3288e9e75780571b1e",
"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.MaximumNode",
"m_ObjectId": "151c24fb86cf40aa947352fb0fe762c1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Maximum",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": 72.50000762939453,
"y": 219.50003051757813,
"width": 126.00005340576172,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "c83c7326763d4adda91235705de9aee5"
},
{
"m_Id": "27ccbcc0edf240b7a7148b5d0387d5ee"
},
{
"m_Id": "9ed4ef4c1f074e44b8eaae9310393f59"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "23d95a0f54d640039e7ddbc109ef47f0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Linear Gradient",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -438.5,
"y": 187.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "c8b1cc76496f484e982b946d55aa53cf"
},
{
"m_Id": "37241b4e95d14c73a6def3d52e054005"
},
{
"m_Id": "2c16d0bb7f5f4e4285af2feb52cdd15e"
},
{
"m_Id": "538fd6bf0f154670b00fb1ee6bc4a16a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"767c9a81c2520cf498b8a235aabbda7f\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"fbbee051-bf7c-4739-b148-d1aa3739ea58",
"82ed09e9-1724-40e2-86dd-32547e34d7f4"
],
"m_PropertyIds": [
1320955563,
1659565877
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "23e6864aa916488f9827627824f5fb67",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "2407fc1e7f05420f87dd70c5e97b1410",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "24e3057ff49a4b848dc727b482107138",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "27ccbcc0edf240b7a7148b5d0387d5ee",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"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": "2c16d0bb7f5f4e4285af2feb52cdd15e",
"m_Id": 1,
"m_DisplayName": "U",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "U",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "357d3203a95147ada541032c982a58cc",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "b62ae7cd2fee46c4a468d79d5caa1e5c"
},
{
"m_Id": "9c7e0a3ead354b7ebbeb16df9eed7f92"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "37241b4e95d14c73a6def3d52e054005",
"m_Id": 1659565877,
"m_DisplayName": "Invert",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Invert",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "3fc0ffe39ab74e2ead75492ac1700b6f",
"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.BranchOnInputConnectionNode",
"m_ObjectId": "40d9325520094e07ac6fc9c43a6217a4",
"m_Group": {
"m_Id": ""
},
"m_Name": "Branch On Input Connection",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -286.5,
"y": 101.5,
"width": 206.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "e9c1ec284f5a48c3b0738440125ca24d"
},
{
"m_Id": "c92de6bd6a7e4b11ab7eca074ce798cd"
},
{
"m_Id": "2407fc1e7f05420f87dd70c5e97b1410"
},
{
"m_Id": "9828aa9c53c94ed1beaa34bca313fe1a"
}
],
"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": "48197507eb3847e6b5f11836380dd39d",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "48395f6e87114a2b8465bd5b86ee8215",
"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.FloorNode",
"m_ObjectId": "48e52b42dfeb45cbaa4a10b151669e9d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Floor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 71.00000762939453,
"y": 101.50000762939453,
"width": 127.50005340576172,
"height": 94.00000762939453
}
},
"m_Slots": [
{
"m_Id": "e911048cef2b4bc2877310fe95c65443"
},
{
"m_Id": "3fc0ffe39ab74e2ead75492ac1700b6f"
}
],
"synonyms": [
"down"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubtractNode",
"m_ObjectId": "49c1394c030548d1b79ce8c710151cb2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Subtract",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -67.99998474121094,
"y": 219.50003051757813,
"width": 126.0,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "48197507eb3847e6b5f11836380dd39d"
},
{
"m_Id": "96f162f0285245f9b4d6412274a8581f"
},
{
"m_Id": "23e6864aa916488f9827627824f5fb67"
}
],
"synonyms": [
"subtraction",
"remove",
"minus",
"take away"
],
"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": "4e5dd658a0de4cd59e4bde8ab2140619",
"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.SubGraphOutputNode",
"m_ObjectId": "505560724c524d1e87af303f8af6784f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 399.00006103515627,
"y": 153.00001525878907,
"width": 151.5,
"height": 101.0
}
},
"m_Slots": [
{
"m_Id": "b31432f1ba45466d85041b2e4c9d45ab"
},
{
"m_Id": "998e0f3eda1a4e34b060f473b6523144"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "538fd6bf0f154670b00fb1ee6bc4a16a",
"m_Id": 2,
"m_DisplayName": "V",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "V",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "55fab1e743a746a4989b415b5c2b540c",
"m_Id": 0,
"m_DisplayName": "Steps",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "684a959f31794743963dcb65b5c6c9ff",
"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.DivideNode",
"m_ObjectId": "700c860336174519bf84675fe230bb0f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 242.50003051757813,
"y": 101.50000762939453,
"width": 126.00003051757813,
"height": 118.0000228881836
}
},
"m_Slots": [
{
"m_Id": "4e5dd658a0de4cd59e4bde8ab2140619"
},
{
"m_Id": "049591a814d14d3288e9e75780571b1e"
},
{
"m_Id": "24e3057ff49a4b848dc727b482107138"
}
],
"synonyms": [
"division",
"divided by"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "7ec8937372d948bdb7dc4efc1e82c5f5",
"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.MultiplyNode",
"m_ObjectId": "8616bc24e0d04d68a874b2299b28c4f2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -55.0,
"y": 101.5,
"width": 208.0,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "48395f6e87114a2b8465bd5b86ee8215"
},
{
"m_Id": "7ec8937372d948bdb7dc4efc1e82c5f5"
},
{
"m_Id": "f5741e37e6e3473880803da53a1d8af8"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"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": "96f162f0285245f9b4d6412274a8581f",
"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": 1.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": "9828aa9c53c94ed1beaa34bca313fe1a",
"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": "998e0f3eda1a4e34b060f473b6523144",
"m_Id": 1,
"m_DisplayName": "EqualStepDistance",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "EqualStepDistance",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "9c7e0a3ead354b7ebbeb16df9eed7f92",
"m_Guid": {
"m_GuidSerialized": "3cb42289-146a-4745-a44c-479d76c35edb"
},
"m_Name": "Steps",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Steps",
"m_DefaultReferenceName": "_Steps",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 4.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "9ed4ef4c1f074e44b8eaae9310393f59",
"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.DivideNode",
"m_ObjectId": "a97358129e3b4a9089be0c62ab2ee510",
"m_Group": {
"m_Id": ""
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 242.50003051757813,
"y": 219.50003051757813,
"width": 126.00003051757813,
"height": 118.00003051757813
}
},
"m_Slots": [
{
"m_Id": "684a959f31794743963dcb65b5c6c9ff"
},
{
"m_Id": "bc4e51f026d740769be4e1df0d6591e2"
},
{
"m_Id": "aa8ac13acb844612bc0a0b65193b1b07"
}
],
"synonyms": [
"division",
"divided by"
],
"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": "aa8ac13acb844612bc0a0b65193b1b07",
"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.Vector1MaterialSlot",
"m_ObjectId": "b31432f1ba45466d85041b2e4c9d45ab",
"m_Id": 2,
"m_DisplayName": "KeepRange",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "KeepRange",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "b62ae7cd2fee46c4a468d79d5caa1e5c",
"m_Guid": {
"m_GuidSerialized": "803806ad-f2bd-4399-b9b3-c0894afa1286"
},
"m_Name": "Gradient",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Gradient",
"m_DefaultReferenceName": "_Gradient",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": true,
"m_CustomSlotLabel": "Linear Gradient",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "bc4e51f026d740769be4e1df0d6591e2",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "c83c7326763d4adda91235705de9aee5",
"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": "c8b1cc76496f484e982b946d55aa53cf",
"m_Id": 1320955563,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c92de6bd6a7e4b11ab7eca074ce798cd",
"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.PropertyNode",
"m_ObjectId": "e182dc2f913340a98e91679c3137faac",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -203.50003051757813,
"y": 281.0,
"width": 105.0,
"height": 34.000030517578128
}
},
"m_Slots": [
{
"m_Id": "55fab1e743a746a4989b415b5c2b540c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "9c7e0a3ead354b7ebbeb16df9eed7f92"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "e5094789259048e3a93ee5170040a68b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -428.5,
"y": 153.0,
"width": 120.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "fe12e5e6a9ed4e6ebf251335357d17e0"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b62ae7cd2fee46c4a468d79d5caa1e5c"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e911048cef2b4bc2877310fe95c65443",
"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.PropertyConnectionStateMaterialSlot",
"m_ObjectId": "e9c1ec284f5a48c3b0738440125ca24d",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "f5741e37e6e3473880803da53a1d8af8",
"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.Vector1MaterialSlot",
"m_ObjectId": "fe12e5e6a9ed4e6ebf251335357d17e0",
"m_Id": 0,
"m_DisplayName": "Gradient",
"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.StickyNoteData",
"m_ObjectId": "ff63b225aea94d76b2ee4d3cc462a5b8",
"m_Title": "Posterize Gradient",
"m_Content": "Converts a smooth gradient into a stepped gradient with the given number of Steps.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -97.5,
"y": -99.5,
"width": 214.5,
"height": 160.0
},
"m_Group": {
"m_Id": ""
}
}