1092 lines
25 KiB
Plaintext
1092 lines
25 KiB
Plaintext
{
|
|
"m_SGVersion": 3,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "45e12b03da0940298831448640d67610",
|
|
"m_Properties": [
|
|
{
|
|
"m_Id": "a12354c78b694cc6b2bdddd67d09ccdc"
|
|
},
|
|
{
|
|
"m_Id": "68a7999ae9ea4bfba3702fd95b0d1a14"
|
|
}
|
|
],
|
|
"m_Keywords": [],
|
|
"m_Dropdowns": [],
|
|
"m_CategoryData": [
|
|
{
|
|
"m_Id": "d46b7225d21d49a39d3ed80211b1e867"
|
|
}
|
|
],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "e221ed40731b42e0b26b49a56ef3aa20"
|
|
},
|
|
{
|
|
"m_Id": "c979bfc9e06b459ca5e503658f2eda27"
|
|
},
|
|
{
|
|
"m_Id": "9b98c52259884722b0057a1410f58d3c"
|
|
},
|
|
{
|
|
"m_Id": "71cde5ac4ee04aacb1e2544c8017ba47"
|
|
},
|
|
{
|
|
"m_Id": "99ccf4aecf59420794efa0951355f7ab"
|
|
},
|
|
{
|
|
"m_Id": "d18845e766084954af1aa554531c90b9"
|
|
},
|
|
{
|
|
"m_Id": "daa979e4f9384944a14a23e079be6a5c"
|
|
},
|
|
{
|
|
"m_Id": "4747439b9bfa431293a93646ce71aa12"
|
|
},
|
|
{
|
|
"m_Id": "fa0151c045984bcab58e58725bae0709"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [
|
|
{
|
|
"m_Id": "a37bfea4db40410aa16880c96f9b8737"
|
|
}
|
|
],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "4747439b9bfa431293a93646ce71aa12"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "e221ed40731b42e0b26b49a56ef3aa20"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "71cde5ac4ee04aacb1e2544c8017ba47"
|
|
},
|
|
"m_SlotId": 3
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "daa979e4f9384944a14a23e079be6a5c"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "99ccf4aecf59420794efa0951355f7ab"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "d18845e766084954af1aa554531c90b9"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "99ccf4aecf59420794efa0951355f7ab"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "d18845e766084954af1aa554531c90b9"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "9b98c52259884722b0057a1410f58d3c"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "71cde5ac4ee04aacb1e2544c8017ba47"
|
|
},
|
|
"m_SlotId": 2
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "c979bfc9e06b459ca5e503658f2eda27"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "71cde5ac4ee04aacb1e2544c8017ba47"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "c979bfc9e06b459ca5e503658f2eda27"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "71cde5ac4ee04aacb1e2544c8017ba47"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "d18845e766084954af1aa554531c90b9"
|
|
},
|
|
"m_SlotId": 3
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "daa979e4f9384944a14a23e079be6a5c"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "daa979e4f9384944a14a23e079be6a5c"
|
|
},
|
|
"m_SlotId": 2
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "4747439b9bfa431293a93646ce71aa12"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "fa0151c045984bcab58e58725bae0709"
|
|
},
|
|
"m_SlotId": 1
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "d18845e766084954af1aa554531c90b9"
|
|
},
|
|
"m_SlotId": 2
|
|
}
|
|
}
|
|
],
|
|
"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": "Sub Graphs",
|
|
"m_GraphPrecision": 1,
|
|
"m_PreviewMode": 2,
|
|
"m_OutputNode": {
|
|
"m_Id": "e221ed40731b42e0b26b49a56ef3aa20"
|
|
},
|
|
"m_SubDatas": [],
|
|
"m_ActiveTargets": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "035d096e7316487ba0042bcf8db69196",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "LightVector",
|
|
"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.Vector3MaterialSlot",
|
|
"m_ObjectId": "10414013cad442d6bf3e1a8ae95ccfd8",
|
|
"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": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "1dfdfcd6d563486da707a916a75165c1",
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "2480f6826ff9467e88b340dd69c1ff56",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "ShadowAtten",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "ShadowAtten",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "35f722c5260e4f3dbca49ba14024c2d9",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "NormalWS",
|
|
"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.SaturateNode",
|
|
"m_ObjectId": "4747439b9bfa431293a93646ce71aa12",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Saturate",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -386.25006103515627,
|
|
"y": 191.25003051757813,
|
|
"width": 123.75006103515625,
|
|
"height": 92.25
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "fed98a223aaf4348bd6271a4c63dffd9"
|
|
},
|
|
{
|
|
"m_Id": "c65f92f2be694921a28c1c0432310138"
|
|
}
|
|
],
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "4e11fbf7d8624c6f9b6fd3168560f9ec",
|
|
"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": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "5c17ca6ab2f448b09546c8dd1baaa090",
|
|
"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": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
|
|
"m_ObjectId": "68a7999ae9ea4bfba3702fd95b0d1a14",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "14a27ec0-1328-485d-8e92-4b76bfad84a4"
|
|
},
|
|
"m_Name": "NormalWS",
|
|
"m_DefaultRefNameVersion": 1,
|
|
"m_RefNameGeneratedByDisplayName": "NormalWS",
|
|
"m_DefaultReferenceName": "_NormalWS",
|
|
"m_OverrideReferenceName": "",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_UseCustomSlotLabel": true,
|
|
"m_CustomSlotLabel": "VertNormalWS",
|
|
"m_DismissedVersion": 0,
|
|
"m_Precision": 0,
|
|
"overrideHLSLDeclaration": false,
|
|
"hlslDeclarationOverride": 0,
|
|
"m_Hidden": false,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 1.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "6d84227eb25f49d6abe67650b85ab3c6",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 0,
|
|
"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.Vector3MaterialSlot",
|
|
"m_ObjectId": "6f529dede00749d598198d499fb13a03",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Direction",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Direction",
|
|
"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.BranchOnInputConnectionNode",
|
|
"m_ObjectId": "71cde5ac4ee04aacb1e2544c8017ba47",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Branch On Input Connection",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -751.5,
|
|
"y": 108.75001525878906,
|
|
"width": 206.24993896484376,
|
|
"height": 140.25001525878907
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "b96fefa5658f4efdb572040c33fb84f7"
|
|
},
|
|
{
|
|
"m_Id": "7d0789ef41d941a59acf758aaffcc75c"
|
|
},
|
|
{
|
|
"m_Id": "c40514218d584b4bbd0634b61f6fe4d9"
|
|
},
|
|
{
|
|
"m_Id": "f7371e31d39447218812086a5018f0ca"
|
|
}
|
|
],
|
|
"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": "7a52cb2dbec4478eb3a51d5a5e854215",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "B",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "B",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 1.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": "7d0789ef41d941a59acf758aaffcc75c",
|
|
"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": "99ccf4aecf59420794efa0951355f7ab",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Property",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -926.25,
|
|
"y": 287.2500305175781,
|
|
"width": 135.74993896484376,
|
|
"height": 33.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "035d096e7316487ba0042bcf8db69196"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Property": {
|
|
"m_Id": "a12354c78b694cc6b2bdddd67d09ccdc"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
|
|
"m_ObjectId": "9b98c52259884722b0057a1410f58d3c",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Normal Vector",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -999.0000610351563,
|
|
"y": 161.25001525878907,
|
|
"width": 206.24993896484376,
|
|
"height": 126.00001525878906
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "10414013cad442d6bf3e1a8ae95ccfd8"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"surface direction"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 2,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Space": 2
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
|
|
"m_ObjectId": "a12354c78b694cc6b2bdddd67d09ccdc",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "bc0dafd1-46fd-428e-a980-4ff409cd9b44"
|
|
},
|
|
"m_Name": "LightVector",
|
|
"m_DefaultRefNameVersion": 1,
|
|
"m_RefNameGeneratedByDisplayName": "LightVector",
|
|
"m_DefaultReferenceName": "_LightVector",
|
|
"m_OverrideReferenceName": "",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_UseCustomSlotLabel": true,
|
|
"m_CustomSlotLabel": "MainLight",
|
|
"m_DismissedVersion": 0,
|
|
"m_Precision": 0,
|
|
"overrideHLSLDeclaration": false,
|
|
"hlslDeclarationOverride": 0,
|
|
"m_Hidden": false,
|
|
"m_Value": {
|
|
"x": -0.699999988079071,
|
|
"y": 0.699999988079071,
|
|
"z": 0.699999988079071,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
|
|
"m_ObjectId": "a37bfea4db40410aa16880c96f9b8737",
|
|
"m_Title": "",
|
|
"m_Content": "A simple dot product between the light vector and normal is all we need to compute direct specular. Both PBR and Simple lighting use this.",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -456.0,
|
|
"y": 315.0,
|
|
"width": 154.0,
|
|
"height": 111.0
|
|
},
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "a5b419728b8449659d3b2fe07eb55458",
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "a6c990654d494f728240b7f9c9794d1a",
|
|
"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.PropertyConnectionStateMaterialSlot",
|
|
"m_ObjectId": "b96fefa5658f4efdb572040c33fb84f7",
|
|
"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.PropertyConnectionStateMaterialSlot",
|
|
"m_ObjectId": "bd6ec7c18fcb47a8ab7ff298b8ec3fa2",
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "c40514218d584b4bbd0634b61f6fe4d9",
|
|
"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": "c65f92f2be694921a28c1c0432310138",
|
|
"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.PropertyNode",
|
|
"m_ObjectId": "c979bfc9e06b459ca5e503658f2eda27",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Property",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -925.5000610351563,
|
|
"y": 127.50003051757813,
|
|
"width": 129.74993896484376,
|
|
"height": 32.99998474121094
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "35f722c5260e4f3dbca49ba14024c2d9"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Property": {
|
|
"m_Id": "68a7999ae9ea4bfba3702fd95b0d1a14"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BranchOnInputConnectionNode",
|
|
"m_ObjectId": "d18845e766084954af1aa554531c90b9",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Branch On Input Connection",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -751.5,
|
|
"y": 273.00006103515627,
|
|
"width": 206.24993896484376,
|
|
"height": 140.25
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "bd6ec7c18fcb47a8ab7ff298b8ec3fa2"
|
|
},
|
|
{
|
|
"m_Id": "a5b419728b8449659d3b2fe07eb55458"
|
|
},
|
|
{
|
|
"m_Id": "1dfdfcd6d563486da707a916a75165c1"
|
|
},
|
|
{
|
|
"m_Id": "a6c990654d494f728240b7f9c9794d1a"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
|
|
"m_ObjectId": "d46b7225d21d49a39d3ed80211b1e867",
|
|
"m_Name": "",
|
|
"m_ChildObjectList": [
|
|
{
|
|
"m_Id": "68a7999ae9ea4bfba3702fd95b0d1a14"
|
|
},
|
|
{
|
|
"m_Id": "a12354c78b694cc6b2bdddd67d09ccdc"
|
|
}
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "d96353e63bd34eb0953214e9f7144e98",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "Color",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Color",
|
|
"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": "daa979e4f9384944a14a23e079be6a5c",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Dot Product",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -510.0000305175781,
|
|
"y": 191.25003051757813,
|
|
"width": 123.74996948242188,
|
|
"height": 116.25
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "5c17ca6ab2f448b09546c8dd1baaa090"
|
|
},
|
|
{
|
|
"m_Id": "7a52cb2dbec4478eb3a51d5a5e854215"
|
|
},
|
|
{
|
|
"m_Id": "4e11fbf7d8624c6f9b6fd3168560f9ec"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"scalar product"
|
|
],
|
|
"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": "e221ed40731b42e0b26b49a56ef3aa20",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Output",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -219.00003051757813,
|
|
"y": 191.25001525878907,
|
|
"width": 85.49996948242188,
|
|
"height": 75.75004577636719
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "6d84227eb25f49d6abe67650b85ab3c6"
|
|
}
|
|
],
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "f7371e31d39447218812086a5018f0ca",
|
|
"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.SubGraphNode",
|
|
"m_ObjectId": "fa0151c045984bcab58e58725bae0709",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "MainLight",
|
|
"m_DrawState": {
|
|
"m_Expanded": false,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -895.0,
|
|
"y": 333.0,
|
|
"width": 102.0,
|
|
"height": 95.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "6f529dede00749d598198d499fb13a03"
|
|
},
|
|
{
|
|
"m_Id": "d96353e63bd34eb0953214e9f7144e98"
|
|
},
|
|
{
|
|
"m_Id": "2480f6826ff9467e88b340dd69c1ff56"
|
|
}
|
|
],
|
|
"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\": \"62ad4455d271ca24aac0b75094d0ccff\",\n \"type\": 3\n }\n}",
|
|
"m_PropertyGuids": [],
|
|
"m_PropertyIds": [],
|
|
"m_Dropdowns": [],
|
|
"m_DropdownSelectedEntries": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "fed98a223aaf4348bd6271a4c63dffd9",
|
|
"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
|
|
}
|
|
}
|
|
|