UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/NodeReference/Math/CrossProduct.shadergraph

1203 lines
28 KiB
Plaintext
Raw Normal View History

2024-10-27 10:53:47 +03:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "c5969c66d6c64a958ea7e599cc26b6af",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "22dcb362bfe14f13be7b16ed3c7984b2"
}
],
"m_Nodes": [
{
"m_Id": "07ef85c4d7e24136ab25dbd31e828d8c"
},
{
"m_Id": "191cdc1f1bae42029dcef35bd5cda7ed"
},
{
"m_Id": "f57eaed991d5463888df4d9e139c0f2f"
},
{
"m_Id": "1391cc97c4404b1f9fb6445c6341ae8e"
},
{
"m_Id": "c2f33904f83e4bbca9c222121f659576"
},
{
"m_Id": "36396da48bf34d4f8531376db8e96019"
},
{
"m_Id": "3fd3cd5f6b0c4254a4510f74a58e7724"
},
{
"m_Id": "d262fde06b4c417a9591b6bfd31b22b2"
},
{
"m_Id": "0520c76964a94073a5ddbb45133c0536"
},
{
"m_Id": "6003a885d16741a29b6eb5af7766bad1"
},
{
"m_Id": "8148857c23db4305a3e7e4c4dec9f357"
},
{
"m_Id": "b0e890b8b5e44c7d8b05a6f642c36206"
}
],
"m_GroupDatas": [
{
"m_Id": "3ced03de3a2f4fc28f5b6112acdc7a93"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "640aca218cb84bd5837ad8bd984f9b93"
},
{
"m_Id": "54d2972022984855908965cbe591a287"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0520c76964a94073a5ddbb45133c0536"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b0e890b8b5e44c7d8b05a6f642c36206"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6003a885d16741a29b6eb5af7766bad1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0520c76964a94073a5ddbb45133c0536"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d262fde06b4c417a9591b6bfd31b22b2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0520c76964a94073a5ddbb45133c0536"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "07ef85c4d7e24136ab25dbd31e828d8c"
},
{
"m_Id": "191cdc1f1bae42029dcef35bd5cda7ed"
},
{
"m_Id": "f57eaed991d5463888df4d9e139c0f2f"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "1391cc97c4404b1f9fb6445c6341ae8e"
},
{
"m_Id": "c2f33904f83e4bbca9c222121f659576"
},
{
"m_Id": "36396da48bf34d4f8531376db8e96019"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Shader Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_SubDatas": [],
"m_ActiveTargets": [
{
"m_Id": "dfc61364ea9c4bab8c14c6b072aa09ac"
},
{
"m_Id": "8db1e0129634420992ec8424a0943836"
},
{
"m_Id": "489da2f4e4ff4397ae8ab22553afcf16"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "00a55b58b41e49adbaf23ce982ace6a2",
"m_Id": 0,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"m_StageCapability": 2,
"m_Value": {
"x": 0.5,
"y": 0.5,
"z": 0.5
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 0.5,
"g": 0.5,
"b": 0.5,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CrossProductNode",
"m_ObjectId": "0520c76964a94073a5ddbb45133c0536",
"m_Group": {
"m_Id": "3ced03de3a2f4fc28f5b6112acdc7a93"
},
"m_Name": "Cross Product",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -563.5001831054688,
"y": 252.5000762939453,
"width": 129.50006103515626,
"height": 117.99998474121094
}
},
"m_Slots": [
{
"m_Id": "b884b9994f014014b269007be46327d1"
},
{
"m_Id": "d1dd94762cd7414ebba328517dbbe569"
},
{
"m_Id": "5c5fdb1444bf45839e1f8e3238ca395e"
}
],
"synonyms": [
"perpendicular"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "07ef85c4d7e24136ab25dbd31e828d8c",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "242c07067acb40e390cf1ffe288e736b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "0e926c6f69f54b4ebfb35c5b2210722b",
"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.BlockNode",
"m_ObjectId": "1391cc97c4404b1f9fb6445c6341ae8e",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.BaseColor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "00a55b58b41e49adbaf23ce982ace6a2"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "191cdc1f1bae42029dcef35bd5cda7ed",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Normal",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "9db960c9740d48818468e6713cf7902f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "22dcb362bfe14f13be7b16ed3c7984b2",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "242c07067acb40e390cf1ffe288e736b",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"m_StageCapability": 1,
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "36396da48bf34d4f8531376db8e96019",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Alpha",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "752deef9521145e9a0b0830278604c43"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "3ced03de3a2f4fc28f5b6112acdc7a93",
"m_Title": "Creating a Normal",
"m_Position": {
"x": -846.0001220703125,
"y": 127.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CrossProductNode",
"m_ObjectId": "3fd3cd5f6b0c4254a4510f74a58e7724",
"m_Group": {
"m_Id": ""
},
"m_Name": "Cross Product",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -605.5000610351563,
"y": -43.0,
"width": 129.5,
"height": 117.99998474121094
}
},
"m_Slots": [
{
"m_Id": "d0dca6bb0fa44c4ca253b09291df9295"
},
{
"m_Id": "eba289ab9f48457b9b497137de932e28"
},
{
"m_Id": "a2f13762087647b8b65ca15d249f9f58"
}
],
"synonyms": [
"perpendicular"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "40f287d8c1ce4b6bb9e86e638f67836e"
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "489da2f4e4ff4397ae8ab22553afcf16",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "6a180a1c171842b5a0cfec70885ee515"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZTestMode": 4,
"m_ZWriteControl": 0,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CastShadows": true,
"m_ReceiveShadows": true,
"m_DisableTint": false,
"m_AdditionalMotionVectorMode": 0,
"m_AlembicMotionVectors": false,
"m_SupportsLODCrossFade": false,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "54d2972022984855908965cbe591a287",
"m_Title": "",
"m_Content": "In this example we compute the cross product of the Bitangent and Tangent Vector.\n\nNotice that the result exactly matched the Normal Vector - because the Normal Vector is perpendicular to both the Tangent and Bitangent Vectors.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -697.5000610351563,
"y": 529.0000610351563,
"width": 200.00003051757813,
"height": 160.0
},
"m_Group": {
"m_Id": "3ced03de3a2f4fc28f5b6112acdc7a93"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5c5fdb1444bf45839e1f8e3238ca395e",
"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.TangentVectorNode",
"m_ObjectId": "6003a885d16741a29b6eb5af7766bad1",
"m_Group": {
"m_Id": "3ced03de3a2f4fc28f5b6112acdc7a93"
},
"m_Name": "Tangent Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -821.0001220703125,
"y": 334.5000305175781,
"width": 206.0,
"height": 130.50003051757813
}
},
"m_Slots": [
{
"m_Id": "9ab96f43deea4de982bce657b441c89a"
}
],
"synonyms": [],
"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": "640aca218cb84bd5837ad8bd984f9b93",
"m_Title": "Cross Product Node",
"m_Content": "The Cross Product node performs a cross product operation between two vectors.\n\nThe result of a cross product operation is a vector that is perpendicular to both of the input vectors.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -439.0,
"y": -40.0,
"width": 215.00001525878907,
"height": 148.7369842529297
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "6a180a1c171842b5a0cfec70885ee515"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "714b02fa713b45e2a301c1231ed4bc03",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "752deef9521145e9a0b0830278604c43",
"m_Id": 0,
"m_DisplayName": "Alpha",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Alpha",
"m_StageCapability": 2,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "792096b707494d49bbe233ff59b1b0e2"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "8148857c23db4305a3e7e4c4dec9f357",
"m_Group": {
"m_Id": "3ced03de3a2f4fc28f5b6112acdc7a93"
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -415.5001525878906,
"y": 551.0000610351563,
"width": 208.00015258789063,
"height": 281.5
}
},
"m_Slots": [
{
"m_Id": "0e926c6f69f54b4ebfb35c5b2210722b"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "8db1e0129634420992ec8424a0943836",
"m_ActiveSubTarget": {
"m_Id": "792096b707494d49bbe233ff59b1b0e2"
},
"m_Datas": [
{
"m_Id": "df616d293b8e4fe5ab5fb3b018c0ae9c"
},
{
"m_Id": "be1d16b831b3454d873f0834232f49bc"
},
{
"m_Id": "714b02fa713b45e2a301c1231ed4bc03"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "9699860e0bb14ab4bd8fa3979279ec45",
"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.Vector3MaterialSlot",
"m_ObjectId": "9ab96f43deea4de982bce657b441c89a",
"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.NormalMaterialSlot",
"m_ObjectId": "9db960c9740d48818468e6713cf7902f",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Normal",
"m_StageCapability": 1,
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "a2f13762087647b8b65ca15d249f9f58",
"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.NormalizeNode",
"m_ObjectId": "b0e890b8b5e44c7d8b05a6f642c36206",
"m_Group": {
"m_Id": "3ced03de3a2f4fc28f5b6112acdc7a93"
},
"m_Name": "Normalize",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -415.5001525878906,
"y": 252.5000762939453,
"width": 208.00015258789063,
"height": 278.00006103515627
}
},
"m_Slots": [
{
"m_Id": "b349a5a2b0ee4dc2913127a958f23697"
},
{
"m_Id": "dbfa5be922aa48a7a303277656f081f4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "b349a5a2b0ee4dc2913127a958f23697",
"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": "b884b9994f014014b269007be46327d1",
"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.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "be1d16b831b3454d873f0834232f49bc",
"m_MaterialNeedsUpdateHash": 0,
"m_SurfaceType": 0,
"m_RenderingPass": 1,
"m_BlendMode": 0,
"m_ZTest": 4,
"m_ZWrite": false,
"m_TransparentCullMode": 2,
"m_OpaqueCullMode": 2,
"m_SortPriority": 0,
"m_AlphaTest": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
"m_CustomVelocity": false,
"m_Tessellation": false,
"m_TessellationMode": 0,
"m_TessellationFactorMinDistance": 20.0,
"m_TessellationFactorMaxDistance": 50.0,
"m_TessellationFactorTriangleSize": 100.0,
"m_TessellationShapeFactor": 0.75,
"m_TessellationBackFaceCullEpsilon": -0.25,
"m_TessellationMaxDisplacement": 0.009999999776482582,
"m_DebugSymbols": false,
"m_Version": 2,
"inspectorFoldoutMask": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "c2f33904f83e4bbca9c222121f659576",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Emission",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "cdfe1462d03d4c118425ca22c628a269"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Emission"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "cdfe1462d03d4c118425ca22c628a269",
"m_Id": 0,
"m_DisplayName": "Emission",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Emission",
"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_ColorMode": 1,
"m_DefaultColor": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "d0dca6bb0fa44c4ca253b09291df9295",
"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.Vector3MaterialSlot",
"m_ObjectId": "d1dd94762cd7414ebba328517dbbe569",
"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": 1.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BitangentVectorNode",
"m_ObjectId": "d262fde06b4c417a9591b6bfd31b22b2",
"m_Group": {
"m_Id": "3ced03de3a2f4fc28f5b6112acdc7a93"
},
"m_Name": "Bitangent Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -821.0001220703125,
"y": 185.50001525878907,
"width": 206.0,
"height": 130.5000457763672
}
},
"m_Slots": [
{
"m_Id": "9699860e0bb14ab4bd8fa3979279ec45"
}
],
"synonyms": [
"binormal"
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "dbfa5be922aa48a7a303277656f081f4",
"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.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "df616d293b8e4fe5ab5fb3b018c0ae9c",
"m_Distortion": false,
"m_DistortionMode": 0,
"m_DistortionDepthTest": true,
"m_AddPrecomputedVelocity": false,
"m_TransparentWritesMotionVec": false,
"m_DepthOffset": false,
"m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_TransparentPerPixelSorting": false,
"m_SupportLodCrossFade": false
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "dfc61364ea9c4bab8c14c6b072aa09ac",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "40f287d8c1ce4b6bb9e86e638f67836e"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZWriteControl": 0,
"m_ZTestMode": 4,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CustomEditorGUI": ""
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "eba289ab9f48457b9b497137de932e28",
"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": 1.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "f57eaed991d5463888df4d9e139c0f2f",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Tangent",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "fe20203345254afbbf649ad824a86891"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Tangent"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "fe20203345254afbbf649ad824a86891",
"m_Id": 0,
"m_DisplayName": "Tangent",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Tangent",
"m_StageCapability": 1,
"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_Space": 0
}