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

1730 lines
39 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "c432f082762c4477b1df5bcfd5a78584",
"m_Properties": [
{
"m_Id": "8de22f1cb97c41ce88f1d3e60daa9bb3"
},
{
"m_Id": "b7413c65b9df47c683a91b69a565030e"
},
{
"m_Id": "9b415c1809c44935b28cb4f2d64e497a"
},
{
"m_Id": "6058d03c1a8b42cea5fdbbc353a78276"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "e76f4474c4ba49e68d42e19155d29378"
}
],
"m_Nodes": [
{
"m_Id": "3a81da7f45504dc0b84028be19af7710"
},
{
"m_Id": "9bf6673f15534e758cc072da8d9b051a"
},
{
"m_Id": "bf2b09076aac4f7a953ca29f6360228e"
},
{
"m_Id": "de4490ab60e24d2fbdc5f416b9bed0e9"
},
{
"m_Id": "bafab19ab9a44b26b086a3841d7511df"
},
{
"m_Id": "23376d6d1c8c4faf83414206024707a2"
},
{
"m_Id": "74327ec90a9d4390989621f03f00d532"
},
{
"m_Id": "e149f0ae6ff04272948357592638bee1"
},
{
"m_Id": "3933dbe3b3f745af9a3cde88a1818143"
},
{
"m_Id": "576aec6cfcf84a7696d1d0fa7cb85857"
},
{
"m_Id": "36c47ce907e04f77b7efcfa4f9911d40"
},
{
"m_Id": "72422fe83255442d8c0b8a8f5db19859"
},
{
"m_Id": "29cc1bc7bbf04e47a5e988535badf3fe"
},
{
"m_Id": "d8eb07358fe24701b31119dd86926830"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "38d116d208e64441897b41b2009492aa"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "23376d6d1c8c4faf83414206024707a2"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3933dbe3b3f745af9a3cde88a1818143"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "29cc1bc7bbf04e47a5e988535badf3fe"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "72422fe83255442d8c0b8a8f5db19859"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "36c47ce907e04f77b7efcfa4f9911d40"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "72422fe83255442d8c0b8a8f5db19859"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3933dbe3b3f745af9a3cde88a1818143"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3a81da7f45504dc0b84028be19af7710"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "576aec6cfcf84a7696d1d0fa7cb85857"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "29cc1bc7bbf04e47a5e988535badf3fe"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "72422fe83255442d8c0b8a8f5db19859"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9bf6673f15534e758cc072da8d9b051a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "74327ec90a9d4390989621f03f00d532"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bafab19ab9a44b26b086a3841d7511df"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9bf6673f15534e758cc072da8d9b051a"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bf2b09076aac4f7a953ca29f6360228e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bafab19ab9a44b26b086a3841d7511df"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "23376d6d1c8c4faf83414206024707a2"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bf2b09076aac4f7a953ca29f6360228e"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "de4490ab60e24d2fbdc5f416b9bed0e9"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d8eb07358fe24701b31119dd86926830"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "72422fe83255442d8c0b8a8f5db19859"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "de4490ab60e24d2fbdc5f416b9bed0e9"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bafab19ab9a44b26b086a3841d7511df"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e149f0ae6ff04272948357592638bee1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bf2b09076aac4f7a953ca29f6360228e"
},
"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": "Artistic/Mask",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "3a81da7f45504dc0b84028be19af7710"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "03d0e99612534951bad21842a550143f",
"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": "0884e25ce2b64a49a9caf328cef8a1e9",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "0b59678cfe5749329a54cac4d6fd9550",
"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.Vector3MaterialSlot",
"m_ObjectId": "0c775ea4c68b40aab63923967ebd1b18",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "14a0ecb43812417a8e5205c389a9dcf9",
"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": "1644723c38c24883883feeebf09cfec1",
"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": "1777e7301f824ea182505a05368cd18d",
"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": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 1.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.AddNode",
"m_ObjectId": "23376d6d1c8c4faf83414206024707a2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": 287.5000305175781,
"y": -262.50006103515627,
"width": 126.0,
"height": 94.00001525878906
}
},
"m_Slots": [
{
"m_Id": "25e8f7fb2fd74b7ba5b4af0cb3ad2bbb"
},
{
"m_Id": "a14b05b3700f42bf9d948845fb520b5d"
},
{
"m_Id": "2f4ba865dd2a438497eef97d4de86d48"
}
],
"synonyms": [
"addition",
"sum",
"plus"
],
"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": "25e8f7fb2fd74b7ba5b4af0cb3ad2bbb",
"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": 2,
"m_Type": "UnityEditor.ShaderGraph.TransformNode",
"m_ObjectId": "29cc1bc7bbf04e47a5e988535badf3fe",
"m_Group": {
"m_Id": ""
},
"m_Name": "Transform",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -617.5000610351563,
"y": -238.5,
"width": 212.00003051757813,
"height": 156.0
}
},
"m_Slots": [
{
"m_Id": "0c775ea4c68b40aab63923967ebd1b18"
},
{
"m_Id": "b1d43c6929224688b126232098f0a997"
}
],
"synonyms": [
"world",
"tangent",
"object",
"view",
"screen",
"convert"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Conversion": {
"from": 3,
"to": 2
},
"m_ConversionType": 2,
"m_Normalize": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "2f4ba865dd2a438497eef97d4de86d48",
"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": "343854afaee745e4a0c08a6e1f527f75",
"m_Id": 0,
"m_DisplayName": "Mask Center",
"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": "368fdb5a14b34ae5b178db24f7f1cfd9",
"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.NormalVectorNode",
"m_ObjectId": "36c47ce907e04f77b7efcfa4f9911d40",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -611.5000610351563,
"y": -369.0000305175781,
"width": 206.00003051757813,
"height": 130.50003051757813
}
},
"m_Slots": [
{
"m_Id": "1777e7301f824ea182505a05368cd18d"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "38d116d208e64441897b41b2009492aa",
"m_Title": "AngleMask",
"m_Content": "creates a black to white gradient based on the facing angle of the surface - whether its horizontal or vertical. The mask is white where the terrain is facing straight up (flat) and black where its steep. The gradient can be adjusted using the MaskCenter and MaskContrast values. The MaskCenter value moves the black point of the gradient and the MaskContrast smooths or sharpens the mask.\r\n",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -127.33333587646485,
"y": -394.66668701171877,
"width": 351.5000305175781,
"height": 129.50001525878907
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SaturateNode",
"m_ObjectId": "3933dbe3b3f745af9a3cde88a1818143",
"m_Group": {
"m_Id": ""
},
"m_Name": "Saturate",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 413.5,
"y": -262.5000305175781,
"width": 127.50006103515625,
"height": 93.99998474121094
}
},
"m_Slots": [
{
"m_Id": "826a2600946d4eb7bf003659bd32c661"
},
{
"m_Id": "a3355c0dda484b9f89b4986ea459dbb7"
}
],
"synonyms": [
"clamp"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "3a81da7f45504dc0b84028be19af7710",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 541.0000610351563,
"y": -262.5000305175781,
"width": 110.5,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "54e6b44263cb4c64b076ad71cdc436d7"
}
],
"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": "3c4c502015c841f48da796b644ba6038",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"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.Vector1MaterialSlot",
"m_ObjectId": "52b2c403d0864fd785cb914806af1e45",
"m_Id": 0,
"m_DisplayName": "Mask 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": "54e6b44263cb4c64b076ad71cdc436d7",
"m_Id": 1,
"m_DisplayName": "Mask",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Mask",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "568bc4fb46ea4db6b0eeda4408c9219e",
"m_Id": 2,
"m_DisplayName": "T",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "T",
"m_StageCapability": 3,
"m_Value": {
"x": 0.15000000596046449,
"y": 0.15000000596046449,
"z": 0.15000000596046449,
"w": 0.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": "576aec6cfcf84a7696d1d0fa7cb85857",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -732.0000610351563,
"y": -202.5,
"width": 114.5,
"height": 33.999969482421878
}
},
"m_Slots": [
{
"m_Id": "3c4c502015c841f48da796b644ba6038"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "6058d03c1a8b42cea5fdbbc353a78276"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "6058d03c1a8b42cea5fdbbc353a78276",
"m_Guid": {
"m_GuidSerialized": "fe2bae95-69a4-45e4-8020-8127ae7ec07a"
},
"m_Name": "Normal",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Normal",
"m_DefaultReferenceName": "_Normal",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "WorldVertexNormal",
"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": 1.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "722f81573ce441738cb9875216fd3fa7",
"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.LerpNode",
"m_ObjectId": "72422fe83255442d8c0b8a8f5db19859",
"m_Group": {
"m_Id": ""
},
"m_Name": "Lerp",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -382.50006103515627,
"y": -262.5,
"width": 129.50003051757813,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "722f81573ce441738cb9875216fd3fa7"
},
{
"m_Id": "0884e25ce2b64a49a9caf328cef8a1e9"
},
{
"m_Id": "568bc4fb46ea4db6b0eeda4408c9219e"
},
{
"m_Id": "ffa306b3085e4eee80a423deb3173c6d"
}
],
"synonyms": [
"mix",
"blend",
"linear interpolate"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "74327ec90a9d4390989621f03f00d532",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -0.9999998211860657,
"y": -123.50000762939453,
"width": 148.00001525878907,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "52b2c403d0864fd785cb914806af1e45"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b7413c65b9df47c683a91b69a565030e"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "826a2600946d4eb7bf003659bd32c661",
"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": "84e4d07f33944ecba7356a4f0f43828f",
"m_Id": 1,
"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": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "8de22f1cb97c41ce88f1d3e60daa9bb3",
"m_Guid": {
"m_GuidSerialized": "b14bb75f-4ecb-47b9-9dcd-1790589e2aa5"
},
"m_Name": "Pixel Normal",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Pixel Normal",
"m_DefaultReferenceName": "_Pixel_Normal",
"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": 0.25,
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "9b415c1809c44935b28cb4f2d64e497a",
"m_Guid": {
"m_GuidSerialized": "785747fe-fdce-48ae-97b9-9bb3915e1437"
},
"m_Name": "Mask Center",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Mask Center",
"m_DefaultReferenceName": "_Mask_Center",
"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": -0.4000000059604645,
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.SwizzleNode",
"m_ObjectId": "9bf6673f15534e758cc072da8d9b051a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Swizzle",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -244.00001525878907,
"y": -262.5,
"width": 129.49996948242188,
"height": 121.49998474121094
}
},
"m_Slots": [
{
"m_Id": "1644723c38c24883883feeebf09cfec1"
},
{
"m_Id": "84e4d07f33944ecba7356a4f0f43828f"
}
],
"synonyms": [
"swap",
"reorder",
"component mask"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"_maskInput": "y",
"convertedMask": "y"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "a14b05b3700f42bf9d948845fb520b5d",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"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": "a3355c0dda484b9f89b4986ea459dbb7",
"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.Vector3MaterialSlot",
"m_ObjectId": "b1d43c6929224688b126232098f0a997",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "b7413c65b9df47c683a91b69a565030e",
"m_Guid": {
"m_GuidSerialized": "55c2e9f7-caf6-4430-b29e-8f139c6870d9"
},
"m_Name": "Mask Contrast",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Mask Contrast",
"m_DefaultReferenceName": "_Mask_Contrast",
"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": 50.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.MultiplyNode",
"m_ObjectId": "bafab19ab9a44b26b086a3841d7511df",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 161.50003051757813,
"y": -262.5000305175781,
"width": 126.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "eb30066091f54de9a2a568bab66843b9"
},
{
"m_Id": "0b59678cfe5749329a54cac4d6fd9550"
},
{
"m_Id": "d2980af4573841c4ba285cf7fa4b74a4"
}
],
"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.AddNode",
"m_ObjectId": "bf2b09076aac4f7a953ca29f6360228e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Add",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -98.5,
"y": -262.5000305175781,
"width": 126.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "14a0ecb43812417a8e5205c389a9dcf9"
},
{
"m_Id": "ce53023a89f346e7ab4242bad77371a9"
},
{
"m_Id": "368fdb5a14b34ae5b178db24f7f1cfd9"
}
],
"synonyms": [
"addition",
"sum",
"plus"
],
"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": "c4f74d1a7cba44228ca965870c0700e4",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"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": "ce53023a89f346e7ab4242bad77371a9",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "d09c6c82efe74b57a99bf143c01bb3d9",
"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": "d2980af4573841c4ba285cf7fa4b74a4",
"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.PropertyNode",
"m_ObjectId": "d8eb07358fe24701b31119dd86926830",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -542.5000610351563,
"y": -82.49999237060547,
"width": 137.00003051757813,
"height": 34.00000762939453
}
},
"m_Slots": [
{
"m_Id": "dcbd9a6f52c249b09f5d32ebf7eab810"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "8de22f1cb97c41ce88f1d3e60daa9bb3"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "dcbd9a6f52c249b09f5d32ebf7eab810",
"m_Id": 0,
"m_DisplayName": "Pixel Normal",
"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.SubtractNode",
"m_ObjectId": "de4490ab60e24d2fbdc5f416b9bed0e9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Subtract",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": 27.500003814697267,
"y": -262.5000305175781,
"width": 126.0,
"height": 93.0
}
},
"m_Slots": [
{
"m_Id": "d09c6c82efe74b57a99bf143c01bb3d9"
},
{
"m_Id": "c4f74d1a7cba44228ca965870c0700e4"
},
{
"m_Id": "03d0e99612534951bad21842a550143f"
}
],
"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.PropertyNode",
"m_ObjectId": "e149f0ae6ff04272948357592638bee1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -253.00003051757813,
"y": -123.49999237060547,
"width": 138.49996948242188,
"height": 34.00000762939453
}
},
"m_Slots": [
{
"m_Id": "343854afaee745e4a0c08a6e1f527f75"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "9b415c1809c44935b28cb4f2d64e497a"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "e76f4474c4ba49e68d42e19155d29378",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "6058d03c1a8b42cea5fdbbc353a78276"
},
{
"m_Id": "b7413c65b9df47c683a91b69a565030e"
},
{
"m_Id": "9b415c1809c44935b28cb4f2d64e497a"
},
{
"m_Id": "8de22f1cb97c41ce88f1d3e60daa9bb3"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "eb30066091f54de9a2a568bab66843b9",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "ffa306b3085e4eee80a423deb3173c6d",
"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
}
}