UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/Common/Subgraphs/FaceNormal.shadersubgraph
2024-10-27 10:53:47 +03:00

1251 lines
28 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "6c89ec25da3d4c4480bd82e72398261c",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [
{
"m_Id": "bd2d0345bb944456aca5709eae7c44af"
}
],
"m_CategoryData": [
{
"m_Id": "d29f694a8b77436992d92fe6168d4356"
}
],
"m_Nodes": [
{
"m_Id": "fba4f9b68c104b5a90c55e4491bdad91"
},
{
"m_Id": "8d417530668644b58d83669f29f62b52"
},
{
"m_Id": "ae1e59e66f8f4efb8ebd8540d8c773f6"
},
{
"m_Id": "e7988e207bce4b3e9d90ff02f1716bb6"
},
{
"m_Id": "0e907faf81734c558aba6597c2a95dec"
},
{
"m_Id": "a3b8c8bd55e349e980d104178e569227"
},
{
"m_Id": "baa2c6909f8445c1929d4b5b069539b9"
},
{
"m_Id": "87f746fe95c141f49c4a384d6514b2f2"
},
{
"m_Id": "5f0973a3c25d42ca88ddf98cca780606"
},
{
"m_Id": "f0ef3f4e40184ff4b5e1766a11c6d7ea"
}
],
"m_GroupDatas": [
{
"m_Id": "cb51d646e9df49b69a40cf372d35a014"
},
{
"m_Id": "f9435a05b5134c81ba4acc825d26a833"
}
],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0e907faf81734c558aba6597c2a95dec"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e7988e207bce4b3e9d90ff02f1716bb6"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5f0973a3c25d42ca88ddf98cca780606"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "baa2c6909f8445c1929d4b5b069539b9"
},
"m_SlotId": 4
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "87f746fe95c141f49c4a384d6514b2f2"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "baa2c6909f8445c1929d4b5b069539b9"
},
"m_SlotId": 5
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8d417530668644b58d83669f29f62b52"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "baa2c6909f8445c1929d4b5b069539b9"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a3b8c8bd55e349e980d104178e569227"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e7988e207bce4b3e9d90ff02f1716bb6"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ae1e59e66f8f4efb8ebd8540d8c773f6"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0e907faf81734c558aba6597c2a95dec"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ae1e59e66f8f4efb8ebd8540d8c773f6"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a3b8c8bd55e349e980d104178e569227"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "baa2c6909f8445c1929d4b5b069539b9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f0ef3f4e40184ff4b5e1766a11c6d7ea"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e7988e207bce4b3e9d90ff02f1716bb6"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5f0973a3c25d42ca88ddf98cca780606"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e7988e207bce4b3e9d90ff02f1716bb6"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "87f746fe95c141f49c4a384d6514b2f2"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e7988e207bce4b3e9d90ff02f1716bb6"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8d417530668644b58d83669f29f62b52"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e7988e207bce4b3e9d90ff02f1716bb6"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "baa2c6909f8445c1929d4b5b069539b9"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f0ef3f4e40184ff4b5e1766a11c6d7ea"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "fba4f9b68c104b5a90c55e4491bdad91"
},
"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": "Input/Geometry",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "fba4f9b68c104b5a90c55e4491bdad91"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "059e493d206445b29de8463517354b01",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 2,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "0da1db4798c04b9e83e7cb9ff4d557a7",
"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.DDYNode",
"m_ObjectId": "0e907faf81734c558aba6597c2a95dec",
"m_Group": {
"m_Id": "cb51d646e9df49b69a40cf372d35a014"
},
"m_Name": "DDY",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -693.0001220703125,
"y": -15.000006675720215,
"width": 131.5,
"height": 94.00001525878906
}
},
"m_Slots": [
{
"m_Id": "99a096ce579d4749abb5a2bb22e84e72"
},
{
"m_Id": "059e493d206445b29de8463517354b01"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "275e0f9e1d0442e7969630f11181c81c",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "27d891b61d6844b6a064c22f0f456532",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 2,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "2f9595ab6a2d4ebf9b6fa329a92fbfdc",
"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.Vector3MaterialSlot",
"m_ObjectId": "40d55cc6cc594a56ae35e63801f7791d",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 2,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "480978c94f0c43eea9bcdf12b2f7a344",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "4e641a334161405f9656c6035714022c",
"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": "5a7ae497aff5459bbcfd730d4aa31ca4",
"m_Id": 3,
"m_DisplayName": "World",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "World",
"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": "5cf58ae4c07b45dc87644ef9f0badcdf",
"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_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.TransformNode",
"m_ObjectId": "5f0973a3c25d42ca88ddf98cca780606",
"m_Group": {
"m_Id": "f9435a05b5134c81ba4acc825d26a833"
},
"m_Name": "Transform",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -333.00006103515627,
"y": -238.50001525878907,
"width": 212.00003051757813,
"height": 156.0
}
},
"m_Slots": [
{
"m_Id": "0da1db4798c04b9e83e7cb9ff4d557a7"
},
{
"m_Id": "df6564130bf04ec7b2bba6123439be95"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Conversion": {
"from": 2,
"to": 0
},
"m_ConversionType": 2,
"m_Normalize": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "63e988972ba447f499164a9ade1ac445",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "705ef3e8953b4aecaea825361f09e406",
"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": "84122df8f1904bbcb34aae29b329cf13",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "86f6b4e26ed441e7b8f61baa26abe306",
"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": 2,
"m_Type": "UnityEditor.ShaderGraph.TransformNode",
"m_ObjectId": "87f746fe95c141f49c4a384d6514b2f2",
"m_Group": {
"m_Id": "f9435a05b5134c81ba4acc825d26a833"
},
"m_Name": "Transform",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -333.00006103515627,
"y": -82.50001525878906,
"width": 212.00003051757813,
"height": 156.00001525878907
}
},
"m_Slots": [
{
"m_Id": "4e641a334161405f9656c6035714022c"
},
{
"m_Id": "84122df8f1904bbcb34aae29b329cf13"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Conversion": {
"from": 2,
"to": 1
},
"m_ConversionType": 2,
"m_Normalize": false
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.TransformNode",
"m_ObjectId": "8d417530668644b58d83669f29f62b52",
"m_Group": {
"m_Id": "f9435a05b5134c81ba4acc825d26a833"
},
"m_Name": "Transform",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -333.00006103515627,
"y": 98.00001525878906,
"width": 212.00003051757813,
"height": 155.99996948242188
}
},
"m_Slots": [
{
"m_Id": "2f9595ab6a2d4ebf9b6fa329a92fbfdc"
},
{
"m_Id": "63e988972ba447f499164a9ade1ac445"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Conversion": {
"from": 2,
"to": 3
},
"m_ConversionType": 2,
"m_Normalize": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "99a096ce579d4749abb5a2bb22e84e72",
"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": "a08b2d3b8c124d60855ca3e19e452a4d",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DDXNode",
"m_ObjectId": "a3b8c8bd55e349e980d104178e569227",
"m_Group": {
"m_Id": "cb51d646e9df49b69a40cf372d35a014"
},
"m_Name": "DDX",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -694.0001220703125,
"y": 82.00000762939453,
"width": 131.5,
"height": 94.00000762939453
}
},
"m_Slots": [
{
"m_Id": "86f6b4e26ed441e7b8f61baa26abe306"
},
{
"m_Id": "27d891b61d6844b6a064c22f0f456532"
}
],
"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": "aabee4ec7d1d4211a4042dbcebf87ced",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "ab5167da90ff4154b96fdc24013841b3",
"m_Id": 4,
"m_DisplayName": "Object",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Object",
"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.PositionNode",
"m_ObjectId": "ae1e59e66f8f4efb8ebd8540d8c773f6",
"m_Group": {
"m_Id": "cb51d646e9df49b69a40cf372d35a014"
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -922.5001220703125,
"y": 29.500011444091798,
"width": 206.0,
"height": 130.5
}
},
"m_Slots": [
{
"m_Id": "a08b2d3b8c124d60855ca3e19e452a4d"
}
],
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 4,
"m_PositionSource": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DropdownNode",
"m_ObjectId": "baa2c6909f8445c1929d4b5b069539b9",
"m_Group": {
"m_Id": "f9435a05b5134c81ba4acc825d26a833"
},
"m_Name": "Space",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -75.5000228881836,
"y": -28.000009536743165,
"width": 165.4999542236328,
"height": 166.00001525878907
}
},
"m_Slots": [
{
"m_Id": "5cf58ae4c07b45dc87644ef9f0badcdf"
},
{
"m_Id": "ab5167da90ff4154b96fdc24013841b3"
},
{
"m_Id": "c57702c672994c8b8acfe3dc8148a006"
},
{
"m_Id": "5a7ae497aff5459bbcfd730d4aa31ca4"
},
{
"m_Id": "d93a07fcd5ab414983af2efaf673e71f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Dropdown": {
"m_Id": "bd2d0345bb944456aca5709eae7c44af"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ShaderDropdown",
"m_ObjectId": "bd2d0345bb944456aca5709eae7c44af",
"m_Guid": {
"m_GuidSerialized": "c557a6d8-b544-4c7d-abca-d450aab3dd1b"
},
"m_Name": "Space",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Space",
"m_DefaultReferenceName": "_Space",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Entries": [
{
"id": 4,
"displayName": "Object"
},
{
"id": 5,
"displayName": "View"
},
{
"id": 3,
"displayName": "World"
},
{
"id": 1,
"displayName": "Tangent"
}
],
"m_Value": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "c0ee9a28e2a249f48de5fefe50bf5f02",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "c57702c672994c8b8acfe3dc8148a006",
"m_Id": 5,
"m_DisplayName": "View",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "View",
"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.GroupData",
"m_ObjectId": "cb51d646e9df49b69a40cf372d35a014",
"m_Title": "Calculate Face Normals",
"m_Position": {
"x": -947.5001220703125,
"y": -73.5
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "d29f694a8b77436992d92fe6168d4356",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "bd2d0345bb944456aca5709eae7c44af"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "d93a07fcd5ab414983af2efaf673e71f",
"m_Id": 1,
"m_DisplayName": "Tangent",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Tangent",
"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": "df6564130bf04ec7b2bba6123439be95",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.CrossProductNode",
"m_ObjectId": "e7988e207bce4b3e9d90ff02f1716bb6",
"m_Group": {
"m_Id": "cb51d646e9df49b69a40cf372d35a014"
},
"m_Name": "Cross Product",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -537.5000610351563,
"y": 19.999990463256837,
"width": 129.5,
"height": 118.0000228881836
}
},
"m_Slots": [
{
"m_Id": "275e0f9e1d0442e7969630f11181c81c"
},
{
"m_Id": "480978c94f0c43eea9bcdf12b2f7a344"
},
{
"m_Id": "c0ee9a28e2a249f48de5fefe50bf5f02"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalizeNode",
"m_ObjectId": "f0ef3f4e40184ff4b5e1766a11c6d7ea",
"m_Group": {
"m_Id": ""
},
"m_Name": "Normalize",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 147.0,
"y": -28.000001907348634,
"width": 131.49996948242188,
"height": 94.00000762939453
}
},
"m_Slots": [
{
"m_Id": "705ef3e8953b4aecaea825361f09e406"
},
{
"m_Id": "aabee4ec7d1d4211a4042dbcebf87ced"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "f9435a05b5134c81ba4acc825d26a833",
"m_Title": "Transform to the selected space",
"m_Position": {
"x": 10.0,
"y": 10.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "fba4f9b68c104b5a90c55e4491bdad91",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 278.4999694824219,
"y": -28.000001907348634,
"width": 85.49996948242188,
"height": 77.0000228881836
}
},
"m_Slots": [
{
"m_Id": "40d55cc6cc594a56ae35e63801f7791d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}