Rasagar/Library/PackageCache/com.unity.shadergraph/Samples~/NodeReference/Math/FresnelEffect.shadergraph

2528 lines
58 KiB
Plaintext
Raw Normal View History

2024-08-26 13:07:20 -07:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "6c466470302d47d391b2dbdb705e0ebc",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "1b38ba9b193d464eac4632df16fc9e9d"
}
],
"m_Nodes": [
{
"m_Id": "bfb5a738d16e4947b64e8ce9d89d491e"
},
{
"m_Id": "32816f6c1fb44753a15be4f9945f8ec5"
},
{
"m_Id": "ed73d4e684bf4a52832e79a449b5c593"
},
{
"m_Id": "997c0c75dc644ed6a23751720527a5c5"
},
{
"m_Id": "bb16a361efc94131baae2faa0c2c83e2"
},
{
"m_Id": "3a22ccd204fa4ce9859913400a8826e9"
},
{
"m_Id": "8f4b9be7dced4128b64e02ec9adde765"
},
{
"m_Id": "b0157d40e47c42f19eba0422f1e4915f"
},
{
"m_Id": "890173cacad0459f943bc70763a72d4d"
},
{
"m_Id": "b8992bc1af4d42f9a27335b4e1f6b494"
},
{
"m_Id": "1f39f6fa6341457294c40626940829ae"
},
{
"m_Id": "4f573455696a4c0687d752a620db3e45"
},
{
"m_Id": "bd6211fb2cec4c449b16a05bee7f3366"
},
{
"m_Id": "a539dd8bd214490e97de3138fb7f6b94"
},
{
"m_Id": "186c7e77b3374f9299aa52b0293c6693"
},
{
"m_Id": "d3e67a8a6adf4392bb698c575a8a8c13"
},
{
"m_Id": "016a568b2d37418b96d1451797ad7815"
},
{
"m_Id": "c96face822644a66b39ddf1703422416"
},
{
"m_Id": "6300548e8b124733a3932fc7864968af"
},
{
"m_Id": "e53ac59b25ba464499c88f1acb72788d"
}
],
"m_GroupDatas": [
{
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
},
{
"m_Id": "d949c439e12b48a1a4ce4e7a8865cd10"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "ac108de5e9384c3190350aaff6e2d743"
},
{
"m_Id": "e59432c788cf4ab2b13ce746e1b9baf1"
},
{
"m_Id": "6ca35655826c477f8922c415d20c5633"
},
{
"m_Id": "c622d630f6014093bdf5dab8144804fe"
},
{
"m_Id": "1a83a0ebd12446d1b4fd1fe4ccfa578a"
},
{
"m_Id": "e5fe84a67d2f4869a755d61ea8016c38"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "186c7e77b3374f9299aa52b0293c6693"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bd6211fb2cec4c449b16a05bee7f3366"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3a22ccd204fa4ce9859913400a8826e9"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "890173cacad0459f943bc70763a72d4d"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4f573455696a4c0687d752a620db3e45"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "016a568b2d37418b96d1451797ad7815"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4f573455696a4c0687d752a620db3e45"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bd6211fb2cec4c449b16a05bee7f3366"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "890173cacad0459f943bc70763a72d4d"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b8992bc1af4d42f9a27335b4e1f6b494"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8f4b9be7dced4128b64e02ec9adde765"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3a22ccd204fa4ce9859913400a8826e9"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a539dd8bd214490e97de3138fb7f6b94"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bd6211fb2cec4c449b16a05bee7f3366"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b0157d40e47c42f19eba0422f1e4915f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3a22ccd204fa4ce9859913400a8826e9"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b8992bc1af4d42f9a27335b4e1f6b494"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1f39f6fa6341457294c40626940829ae"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c96face822644a66b39ddf1703422416"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "016a568b2d37418b96d1451797ad7815"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d3e67a8a6adf4392bb698c575a8a8c13"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "016a568b2d37418b96d1451797ad7815"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "bfb5a738d16e4947b64e8ce9d89d491e"
},
{
"m_Id": "32816f6c1fb44753a15be4f9945f8ec5"
},
{
"m_Id": "ed73d4e684bf4a52832e79a449b5c593"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "997c0c75dc644ed6a23751720527a5c5"
},
{
"m_Id": "6300548e8b124733a3932fc7864968af"
},
{
"m_Id": "e53ac59b25ba464499c88f1acb72788d"
}
]
},
"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_ActiveTargets": [
{
"m_Id": "dc40edb1720e45e191c175e77c85dbf7"
},
{
"m_Id": "8350660ca957416597a1968ccfc699f0"
},
{
"m_Id": "24dcb945528742d3bf47fefe919c2370"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.LerpNode",
"m_ObjectId": "016a568b2d37418b96d1451797ad7815",
"m_Group": {
"m_Id": "d949c439e12b48a1a4ce4e7a8865cd10"
},
"m_Name": "Lerp",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -409.4999694824219,
"y": 812.0000610351563,
"width": 208.0,
"height": 326.00006103515627
}
},
"m_Slots": [
{
"m_Id": "defea4c897aa463da16b64df9c13e661"
},
{
"m_Id": "039a6fd6c4724a9da440e62b00760e1c"
},
{
"m_Id": "3fb883949d354cb589c6f18d20e9e89d"
},
{
"m_Id": "0572b4b060fa451da6e3eeaddf94ca3c"
}
],
"synonyms": [
"mix",
"blend",
"linear interpolate"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0335888374c04012adc9b793194953e0",
"m_Id": 6,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "039a6fd6c4724a9da440e62b00760e1c",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "0572b4b060fa451da6e3eeaddf94ca3c",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "0f58d327a21443ee90ae660e81052247",
"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.ViewDirectionMaterialSlot",
"m_ObjectId": "1360131d69aa454b8b73c618d5cb8e0f",
"m_Id": 1,
"m_DisplayName": "View Dir",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ViewDir",
"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_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1715d749c7d74d7094f8885599cd4aa3",
"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.ColorNode",
"m_ObjectId": "186c7e77b3374f9299aa52b0293c6693",
"m_Group": {
"m_Id": "d949c439e12b48a1a4ce4e7a8865cd10"
},
"m_Name": "Color",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -691.5,
"y": 515.5000610351563,
"width": 208.0,
"height": 125.0
}
},
"m_Slots": [
{
"m_Id": "43e00f4da89043aa9dc51ffb5ddf39ce"
}
],
"synonyms": [
"rgba"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Color": {
"color": {
"r": 0.0,
"g": 0.0,
"b": 1.0,
"a": 0.0
},
"mode": 0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "1a83a0ebd12446d1b4fd1fe4ccfa578a",
"m_Title": "",
"m_Content": "Raising the result to a power controls the falloff curve.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -952.5000610351563,
"y": 802.5000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "1aef40914ddf4d979ba45b4d87d30672",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 2.0,
"y": 2.0,
"z": 2.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "1b38ba9b193d464eac4632df16fc9e9d",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PowerNode",
"m_ObjectId": "1f39f6fa6341457294c40626940829ae",
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
},
"m_Name": "Power",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -956.5000610351563,
"y": 493.0000915527344,
"width": 208.0,
"height": 302.0000305175781
}
},
"m_Slots": [
{
"m_Id": "0f58d327a21443ee90ae660e81052247"
},
{
"m_Id": "1aef40914ddf4d979ba45b4d87d30672"
},
{
"m_Id": "e73e86e37b4044b8b58af75cea2e77e9"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "210bc751cc2045e2a73beabd5a416d7f",
"m_Id": 3,
"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.TangentMaterialSlot",
"m_ObjectId": "237c7ad904954a8480bf25e96ba79768",
"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
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "24dcb945528742d3bf47fefe919c2370",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "dd121f4f3e58449aa4c0de46dc20c9d8"
},
"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_AdditionalMotionVectorMode": 0,
"m_AlembicMotionVectors": false,
"m_SupportsLODCrossFade": false,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "2540964384604fbfa17014202b8504b3",
"m_Id": 2,
"m_DisplayName": "UV",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UV",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [],
"m_Channel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "290042c897c44d219226dbc9f45b1228",
"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.PositionMaterialSlot",
"m_ObjectId": "2c7dd6b75c924356b16229c387debd22",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "2da8266c49cd4f2b8bffb84693178c80",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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.Vector4MaterialSlot",
"m_ObjectId": "2f781ef726df40f192f0d76f118b1322",
"m_Id": 0,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "32816f6c1fb44753a15be4f9945f8ec5",
"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": "ea1f64557d1a4041bdf5bde447b47aad"
}
],
"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.DotProductNode",
"m_ObjectId": "3a22ccd204fa4ce9859913400a8826e9",
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
},
"m_Name": "Dot Product",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1544.5001220703125,
"y": 493.0000915527344,
"width": 208.0,
"height": 302.0000305175781
}
},
"m_Slots": [
{
"m_Id": "1715d749c7d74d7094f8885599cd4aa3"
},
{
"m_Id": "4f367d0e1a6c4b5b866e3cb1742d97c8"
},
{
"m_Id": "50a390e8d91840a3bce1e28ef4e27425"
}
],
"synonyms": [
"scalar product"
],
"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": "3c1e006bf24048318931ed0110b80136",
"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": "3fb883949d354cb589c6f18d20e9e89d",
"m_Id": 2,
"m_DisplayName": "T",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "T",
"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.Vector4MaterialSlot",
"m_ObjectId": "43e00f4da89043aa9dc51ffb5ddf39ce",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "4abc88534a7c4eaea93b54a0c9c843af",
"m_Id": 3,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4c7f69df42e34f7496b19e24309d36a0",
"m_Id": 5,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "4f367d0e1a6c4b5b866e3cb1742d97c8",
"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.FresnelNode",
"m_ObjectId": "4f573455696a4c0687d752a620db3e45",
"m_Group": {
"m_Id": "d949c439e12b48a1a4ce4e7a8865cd10"
},
"m_Name": "Fresnel Effect",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -617.0000610351563,
"y": 679.5001220703125,
"width": 125.00003051757813,
"height": 94.0
}
},
"m_Slots": [
{
"m_Id": "b881ea61c94e45f0a6e8d4e8ff513e13"
},
{
"m_Id": "1360131d69aa454b8b73c618d5cb8e0f"
},
{
"m_Id": "e7d01e0e30fe4b51aa6f9aad9e200c13"
},
{
"m_Id": "210bc751cc2045e2a73beabd5a416d7f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "504720707649484681f08f6591428816",
"m_Id": 3,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "50a390e8d91840a3bce1e28ef4e27425",
"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.Vector1MaterialSlot",
"m_ObjectId": "58320a06867e4891adf2c30629c46014",
"m_Id": 4,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "628492b02127459aa45ad9296ac71fd8",
"m_Id": 4,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "6300548e8b124733a3932fc7864968af",
"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": "dbb026d765284d238812510cd451c21d"
}
],
"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.Vector4MaterialSlot",
"m_ObjectId": "6771e5b1783b4f0babbfe2733b5f93c8",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "68c04e0e536b4612ba7f7911fbaa6332",
"m_Id": 7,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "6ca35655826c477f8922c415d20c5633",
"m_Title": "",
"m_Content": "The dot product is white where the normal and view vector are parallel and black where they're perpendicular.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1541.5001220703125,
"y": 799.5000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "73139c818411422891b44e8dc06c35ae",
"m_Id": 0,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "8350660ca957416597a1968ccfc699f0",
"m_ActiveSubTarget": {
"m_Id": "ba4ae1e583ab499ebaa12e8a6709dffe"
},
"m_Datas": [
{
"m_Id": "fbd409d34b064adbabef5fbffccbe94b"
},
{
"m_Id": "c8c3af9954974b33919009981cbaf81c"
},
{
"m_Id": "8b39abe3793b4237ae347530319de642"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SaturateNode",
"m_ObjectId": "890173cacad0459f943bc70763a72d4d",
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
},
"m_Name": "Saturate",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1336.5001220703125,
"y": 493.0000915527344,
"width": 127.5,
"height": 94.00003051757813
}
},
"m_Slots": [
{
"m_Id": "adcd1b144d7749f087625ef287108735"
},
{
"m_Id": "3c1e006bf24048318931ed0110b80136"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "8a5f1407a9094f2db3066c67e43274d6",
"m_Id": 2,
"m_DisplayName": "T",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "T",
"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.HDUnlitData",
"m_ObjectId": "8b39abe3793b4237ae347530319de642",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "8f4b9be7dced4128b64e02ec9adde765",
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1792.0001220703125,
"y": 448.50006103515627,
"width": 206.0,
"height": 130.50006103515626
}
},
"m_Slots": [
{
"m_Id": "aec8946bc04e4c719f677b80c605f4e3"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "8f912c6b16044ebea58abaf81e0996c3",
"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.ViewDirectionMaterialSlot",
"m_ObjectId": "8fc01b9a5f8d4300bc39e364524ef5a8",
"m_Id": 1,
"m_DisplayName": "View Dir",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "ViewDir",
"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_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8fc66e8368db4cc7b7dd7a6c3dbf5387",
"m_Id": 3,
"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.SamplerStateMaterialSlot",
"m_ObjectId": "940e2dfea41f4ecf8e1128564f9759fc",
"m_Id": 3,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "97cc1c6bc7cb482fb4da717e6e169dd7",
"m_Id": 6,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "997c0c75dc644ed6a23751720527a5c5",
"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": "bb0a42607dbe4294a95955b18c5793fe"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.ColorNode",
"m_ObjectId": "a539dd8bd214490e97de3138fb7f6b94",
"m_Group": {
"m_Id": "d949c439e12b48a1a4ce4e7a8865cd10"
},
"m_Name": "Color",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -691.5,
"y": 390.5000305175781,
"width": 208.0,
"height": 125.00003051757813
}
},
"m_Slots": [
{
"m_Id": "6771e5b1783b4f0babbfe2733b5f93c8"
}
],
"synonyms": [
"rgba"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Color": {
"color": {
"r": 1.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"mode": 0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "a5c6a57527764b09a2b17401fdc403f9",
"m_Title": "Under The Hood",
"m_Position": {
"x": -1819.0001220703125,
"y": 331.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "a7deff8e227548ed9a4ab382a8b6e474",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"f795ef393a172cd418f83132fadab39d\",\"type\":3}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "ac108de5e9384c3190350aaff6e2d743",
"m_Title": "Fresnel Effect Node",
"m_Content": "Creates a mask based on the relationship between the view direction and the surface normal. When the mesh's surface is facing the camera, the mask is black. When it's facing away, the mask is white.\n\nThe Power input can be used to control the falloff curve of the effect. Values higher than 1 push the black toward the glancing angles. Values lower than 1 pull the white toward the camera-facing angles.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -891.0000610351563,
"y": -8.0,
"width": 245.0,
"height": 186.50001525878907
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "adcd1b144d7749f087625ef287108735",
"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": "aec8946bc04e4c719f677b80c605f4e3",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.ViewDirectionNode",
"m_ObjectId": "b0157d40e47c42f19eba0422f1e4915f",
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
},
"m_Name": "View Direction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1794.0001220703125,
"y": 579.0001220703125,
"width": 206.0,
"height": 130.49993896484376
}
},
"m_Slots": [
{
"m_Id": "ccf01dbe97ce4081b823f29c473c4796"
}
],
"synonyms": [
"eye 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.NormalMaterialSlot",
"m_ObjectId": "b881ea61c94e45f0a6e8d4e8ff513e13",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Normal",
"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_Space": 2
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.OneMinusNode",
"m_ObjectId": "b8992bc1af4d42f9a27335b4e1f6b494",
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
},
"m_Name": "One Minus",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1209.0001220703125,
"y": 493.0000915527344,
"width": 208.0001220703125,
"height": 277.9999694824219
}
},
"m_Slots": [
{
"m_Id": "2da8266c49cd4f2b8bffb84693178c80"
},
{
"m_Id": "d1cb6393986546848ff55333f44ed76a"
}
],
"synonyms": [
"complement",
"invert",
"opposite"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "ba4ae1e583ab499ebaa12e8a6709dffe"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "bb0a42607dbe4294a95955b18c5793fe",
"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.FresnelNode",
"m_ObjectId": "bb16a361efc94131baae2faa0c2c83e2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Fresnel Effect",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1113.0001220703125,
"y": -13.500020027160645,
"width": 208.0001220703125,
"height": 326.0000305175781
}
},
"m_Slots": [
{
"m_Id": "feeda879477146f3aa5776e6a5d7a450"
},
{
"m_Id": "8fc01b9a5f8d4300bc39e364524ef5a8"
},
{
"m_Id": "fbcdee31214d41a1a8cd76b064d554d8"
},
{
"m_Id": "8fc66e8368db4cc7b7dd7a6c3dbf5387"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.LerpNode",
"m_ObjectId": "bd6211fb2cec4c449b16a05bee7f3366",
"m_Group": {
"m_Id": "d949c439e12b48a1a4ce4e7a8865cd10"
},
"m_Name": "Lerp",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -409.4999694824219,
"y": 390.5000305175781,
"width": 208.0,
"height": 326.0000915527344
}
},
"m_Slots": [
{
"m_Id": "8f912c6b16044ebea58abaf81e0996c3"
},
{
"m_Id": "290042c897c44d219226dbc9f45b1228"
},
{
"m_Id": "8a5f1407a9094f2db3066c67e43274d6"
},
{
"m_Id": "504720707649484681f08f6591428816"
}
],
"synonyms": [
"mix",
"blend",
"linear interpolate"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "bfb5a738d16e4947b64e8ce9d89d491e",
"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": "2c7dd6b75c924356b16229c387debd22"
}
],
"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.StickyNoteData",
"m_ObjectId": "c622d630f6014093bdf5dab8144804fe",
"m_Title": "",
"m_Content": "Most use-cases call for the mask to be inverted so we do that with the One Minus node.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1205.5001220703125,
"y": 780.0000610351563,
"width": 200.00006103515626,
"height": 100.0
},
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "c8c3af9954974b33919009981cbaf81c",
"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.SampleTexture2DNode",
"m_ObjectId": "c96face822644a66b39ddf1703422416",
"m_Group": {
"m_Id": "d949c439e12b48a1a4ce4e7a8865cd10"
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -647.0,
"y": 966.0001220703125,
"width": 154.99996948242188,
"height": 154.0001220703125
}
},
"m_Slots": [
{
"m_Id": "73139c818411422891b44e8dc06c35ae"
},
{
"m_Id": "58320a06867e4891adf2c30629c46014"
},
{
"m_Id": "4c7f69df42e34f7496b19e24309d36a0"
},
{
"m_Id": "0335888374c04012adc9b793194953e0"
},
{
"m_Id": "68c04e0e536b4612ba7f7911fbaa6332"
},
{
"m_Id": "fed537867aee443bb5fcd31c01f4f788"
},
{
"m_Id": "da390e30945645e4923ba028d389fc7f"
},
{
"m_Id": "4abc88534a7c4eaea93b54a0c9c843af"
}
],
"synonyms": [
"tex2d"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_NormalMapSpace": 0,
"m_EnableGlobalMipBias": true,
"m_MipSamplingMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "ccf01dbe97ce4081b823f29c473c4796",
"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.Vector1MaterialSlot",
"m_ObjectId": "d098493b57aa499191eff74eb4a20eeb",
"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.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "d1cb6393986546848ff55333f44ed76a",
"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.SampleTexture2DNode",
"m_ObjectId": "d3e67a8a6adf4392bb698c575a8a8c13",
"m_Group": {
"m_Id": "d949c439e12b48a1a4ce4e7a8865cd10"
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -647.0,
"y": 812.0000610351563,
"width": 154.99996948242188,
"height": 154.00006103515626
}
},
"m_Slots": [
{
"m_Id": "2f781ef726df40f192f0d76f118b1322"
},
{
"m_Id": "628492b02127459aa45ad9296ac71fd8"
},
{
"m_Id": "f56298b59d5f46dead7cafbdb1ffae50"
},
{
"m_Id": "97cc1c6bc7cb482fb4da717e6e169dd7"
},
{
"m_Id": "fc0236b3be7243119cdd2ea6a4fafb45"
},
{
"m_Id": "a7deff8e227548ed9a4ab382a8b6e474"
},
{
"m_Id": "2540964384604fbfa17014202b8504b3"
},
{
"m_Id": "940e2dfea41f4ecf8e1128564f9759fc"
}
],
"synonyms": [
"tex2d"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_NormalMapSpace": 0,
"m_EnableGlobalMipBias": true,
"m_MipSamplingMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "d949c439e12b48a1a4ce4e7a8865cd10",
"m_Title": "Mask Blending",
"m_Position": {
"x": -716.5001220703125,
"y": 332.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "da390e30945645e4923ba028d389fc7f",
"m_Id": 2,
"m_DisplayName": "UV",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UV",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [],
"m_Channel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "dbb026d765284d238812510cd451c21d",
"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": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "dc40edb1720e45e191c175e77c85dbf7",
"m_ActiveSubTarget": {
"m_Id": "f4f32a6677e3498ba88388ac953114ba"
},
"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": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "dd121f4f3e58449aa4c0de46dc20c9d8"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "defea4c897aa463da16b64df9c13e661",
"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.BlockNode",
"m_ObjectId": "e53ac59b25ba464499c88f1acb72788d",
"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": "d098493b57aa499191eff74eb4a20eeb"
}
],
"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.StickyNoteData",
"m_ObjectId": "e59432c788cf4ab2b13ce746e1b9baf1",
"m_Title": "",
"m_Content": "This is the math that the Fresnel Effect node does to generate the mask.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -951.5000610351563,
"y": 389.5000305175781,
"width": 200.0,
"height": 100.00003051757813
},
"m_Group": {
"m_Id": "a5c6a57527764b09a2b17401fdc403f9"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "e5fe84a67d2f4869a755d61ea8016c38",
"m_Title": "",
"m_Content": "The Fresnel Effec Node can be used to blend colors or textures based on if the surface is facing the camera.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -405.5000305175781,
"y": 715.0000610351563,
"width": 200.00001525878907,
"height": 100.0
},
"m_Group": {
"m_Id": "d949c439e12b48a1a4ce4e7a8865cd10"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e73e86e37b4044b8b58af75cea2e77e9",
"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": "e7d01e0e30fe4b51aa6f9aad9e200c13",
"m_Id": 2,
"m_DisplayName": "Power",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Power",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "ea1f64557d1a4041bdf5bde447b47aad",
"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.BlockNode",
"m_ObjectId": "ed73d4e684bf4a52832e79a449b5c593",
"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": "237c7ad904954a8480bf25e96ba79768"
}
],
"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.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "f4f32a6677e3498ba88388ac953114ba"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f56298b59d5f46dead7cafbdb1ffae50",
"m_Id": 5,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "fbcdee31214d41a1a8cd76b064d554d8",
"m_Id": 2,
"m_DisplayName": "Power",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Power",
"m_StageCapability": 3,
"m_Value": 2.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "fbd409d34b064adbabef5fbffccbe94b",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "fc0236b3be7243119cdd2ea6a4fafb45",
"m_Id": 7,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "fed537867aee443bb5fcd31c01f4f788",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"583384ba064432b41891bec94e35c8af\",\"type\":3}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "feeda879477146f3aa5776e6a5d7a450",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Normal",
"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_Space": 2
}