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

1726 lines
40 KiB
Plaintext
Raw Normal View History

2024-10-27 10:53:47 +03:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "130a05fc49774a998b6a8e7eb404f691",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "3153f79dbd0e48f5918bd9b3f783bb86"
}
],
"m_Nodes": [
{
"m_Id": "4b75b521747c4e8f967a353cb8fd518c"
},
{
"m_Id": "e32966b5c229454a8d2d688303f6ec76"
},
{
"m_Id": "01fef72179d2404887f34355aa40e928"
},
{
"m_Id": "81db718d46de4b6794e89079d2a3d94e"
},
{
"m_Id": "1dd1cbefa1f94340bf1af29066c044c7"
},
{
"m_Id": "6254f3a4152b449ab628990c2c3bb662"
},
{
"m_Id": "01a5c956aea74721908d1c54537a5522"
},
{
"m_Id": "66030ebaff274915a4a06ff7538880a3"
},
{
"m_Id": "b8646b07eeb8481d9ab010cdfa226997"
},
{
"m_Id": "03e6a2c27a524f9e8d4202b905a13ac9"
},
{
"m_Id": "a94ec23e6ae541e393fd131c4bd7c696"
},
{
"m_Id": "e1a4de833125430b81ef58182873bf33"
},
{
"m_Id": "201776e40cf34c8dbed7a843fe3161fe"
},
{
"m_Id": "5ed3e4d06d5b48788041df568472bfa5"
},
{
"m_Id": "b818a4c996cb4dd59ff5a0dd85737402"
}
],
"m_GroupDatas": [
{
"m_Id": "f7dc91f7330645c09356e4bab0fb7fe7"
},
{
"m_Id": "bccd036b1fb04d8d963af1808aa318ef"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "fc61f1452ecd40b6b540b5084641dccf"
},
{
"m_Id": "327924b759f84cd487afeac1f460430d"
},
{
"m_Id": "50b39bae5c8643938d1cd57a3e3b3cbe"
},
{
"m_Id": "6bf6ac4e4fdc48589cb3d2013e17a924"
},
{
"m_Id": "1ce4d531665c44fdaa22dbbe8b88b598"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "01a5c956aea74721908d1c54537a5522"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "66030ebaff274915a4a06ff7538880a3"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "201776e40cf34c8dbed7a843fe3161fe"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "03e6a2c27a524f9e8d4202b905a13ac9"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6254f3a4152b449ab628990c2c3bb662"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "01a5c956aea74721908d1c54537a5522"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "66030ebaff274915a4a06ff7538880a3"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b8646b07eeb8481d9ab010cdfa226997"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a94ec23e6ae541e393fd131c4bd7c696"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "201776e40cf34c8dbed7a843fe3161fe"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e1a4de833125430b81ef58182873bf33"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "201776e40cf34c8dbed7a843fe3161fe"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "4b75b521747c4e8f967a353cb8fd518c"
},
{
"m_Id": "e32966b5c229454a8d2d688303f6ec76"
},
{
"m_Id": "01fef72179d2404887f34355aa40e928"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "81db718d46de4b6794e89079d2a3d94e"
},
{
"m_Id": "5ed3e4d06d5b48788041df568472bfa5"
},
{
"m_Id": "b818a4c996cb4dd59ff5a0dd85737402"
}
]
},
"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": "ebd27f4c95304645a932c62bd588458b"
},
{
"m_Id": "e8f376bcc2674cc392832cf06c976775"
},
{
"m_Id": "f693019a5d5045a2907e35cc49dfe019"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SplitNode",
"m_ObjectId": "01a5c956aea74721908d1c54537a5522",
"m_Group": {
"m_Id": "f7dc91f7330645c09356e4bab0fb7fe7"
},
"m_Name": "Split",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -802.5001220703125,
"y": 70.00004577636719,
"width": 118.0,
"height": 76.99998474121094
}
},
"m_Slots": [
{
"m_Id": "4e72e153877a4ee2bc912250a64df50b"
},
{
"m_Id": "e80b73d0ca664e5dbcacc4fb4400afe5"
},
{
"m_Id": "24f374ea57a44bd2b6f12693346a6074"
},
{
"m_Id": "9d3d3d5087d3432db91db51b3740a4de"
},
{
"m_Id": "cacdfbf0326e4603b0bb2b67cc8ae494"
}
],
"synonyms": [
"separate"
],
"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": "01fef72179d2404887f34355aa40e928",
"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": "44e9601c5cbc45b887183ee1a00075b3"
}
],
"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.BranchNode",
"m_ObjectId": "03e6a2c27a524f9e8d4202b905a13ac9",
"m_Group": {
"m_Id": "bccd036b1fb04d8d963af1808aa318ef"
},
"m_Name": "Branch",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1215.5001220703125,
"y": 81.00006866455078,
"width": 208.00006103515626,
"height": 325.9999694824219
}
},
"m_Slots": [
{
"m_Id": "f401472adf324a36a81327e2e4b6e25e"
},
{
"m_Id": "20eb862fb948414c966ed6ef32f49b3c"
},
{
"m_Id": "e52d4e2f7ef34808bf51ac27f3ce506d"
},
{
"m_Id": "2e1b14895e5a4857911bb90660c1c487"
}
],
"synonyms": [
"switch",
"if",
"else"
],
"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.BuiltinData",
"m_ObjectId": "04e09b8e7d1c4279b651a122211b3221",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "1228b56e7d344639b47d7315a2c7acea",
"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": "1c678e3362824b32976f8aa4941fc91e",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "1ce4d531665c44fdaa22dbbe8b88b598",
"m_Title": "",
"m_Content": "This is the formula that the Step function uses.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1441.0001220703125,
"y": 274.5000305175781,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "bccd036b1fb04d8d963af1808aa318ef"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StepNode",
"m_ObjectId": "1dd1cbefa1f94340bf1af29066c044c7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Step",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1007.5000610351563,
"y": -157.50001525878907,
"width": 144.99993896484376,
"height": 118.00003051757813
}
},
"m_Slots": [
{
"m_Id": "524081e0dcbb4097aaa05e31697203cd"
},
{
"m_Id": "20061ea67a86466b8aeb3143231439a6"
},
{
"m_Id": "ea9233009e234895a3b979c6dc80b641"
}
],
"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": "20061ea67a86466b8aeb3143231439a6",
"m_Id": 1,
"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.ComparisonNode",
"m_ObjectId": "201776e40cf34c8dbed7a843fe3161fe",
"m_Group": {
"m_Id": "bccd036b1fb04d8d963af1808aa318ef"
},
"m_Name": "Comparison",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1447.5001220703125,
"y": 81.00006866455078,
"width": 145.0,
"height": 135.49996948242188
}
},
"m_Slots": [
{
"m_Id": "f7ec440249b24dcaa8a71e31469588a1"
},
{
"m_Id": "d0a7fe776dae44f0ab86b6b9e81940e0"
},
{
"m_Id": "96f52bb915fa461bb61bb40484c4c7dd"
}
],
"synonyms": [
"equal",
"greater than",
"less than"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_ComparisonType": 5
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "20eb862fb948414c966ed6ef32f49b3c",
"m_Id": 1,
"m_DisplayName": "True",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "True",
"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.Vector1MaterialSlot",
"m_ObjectId": "24f374ea57a44bd2b6f12693346a6074",
"m_Id": 2,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "2e1b14895e5a4857911bb90660c1c487",
"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.CategoryData",
"m_ObjectId": "3153f79dbd0e48f5918bd9b3f783bb86",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "327924b759f84cd487afeac1f460430d",
"m_Title": "",
"m_Content": "Here we can see that our input gradient value is rounded up to 1 or down to 0 depending on the value of Edge.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -912.5000610351563,
"y": 230.00003051757813,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "f7dc91f7330645c09356e4bab0fb7fe7"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "4089ab2e7b99427698eec96230bc21bc"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4296193bd3eb4754af47170fe9a27d02",
"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": "44b542d7078745dbb6e123a57004d558"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "44e9601c5cbc45b887183ee1a00075b3",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "4b75b521747c4e8f967a353cb8fd518c",
"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": "5b4f78a7a7ff4db8a2b86fcc33b28bc0"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "4e72e153877a4ee2bc912250a64df50b",
"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.StickyNoteData",
"m_ObjectId": "50b39bae5c8643938d1cd57a3e3b3cbe",
"m_Title": "",
"m_Content": "Edge value",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1608.5001220703125,
"y": 195.50001525878907,
"width": 80.0,
"height": 100.00001525878906
},
"m_Group": {
"m_Id": "bccd036b1fb04d8d963af1808aa318ef"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "51058244b968475ba1f977834d2b2093",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "524081e0dcbb4097aaa05e31697203cd",
"m_Id": 0,
"m_DisplayName": "Edge",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Edge",
"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.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "53a58152c2b44ef289d2c3c14897266a",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "575ff342e4ba4b7887f5a53bc991ac3e",
"m_Id": 0,
"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.PositionMaterialSlot",
"m_ObjectId": "5b4f78a7a7ff4db8a2b86fcc33b28bc0",
"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": "5ed3e4d06d5b48788041df568472bfa5",
"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": "9a2faa26a9c9416b8772005da903c9f7"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "60ce880394274c97bd735f436ef1a803",
"m_Id": 0,
"m_DisplayName": "Edge",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Edge",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVNode",
"m_ObjectId": "6254f3a4152b449ab628990c2c3bb662",
"m_Group": {
"m_Id": "f7dc91f7330645c09356e4bab0fb7fe7"
},
"m_Name": "UV",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -947.5001220703125,
"y": 70.00004577636719,
"width": 145.0,
"height": 128.49996948242188
}
},
"m_Slots": [
{
"m_Id": "97a470373b4f4ae5a1effee53cbdcdd2"
}
],
"synonyms": [
"texcoords",
"coords",
"coordinates"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_OutputChannel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PreviewNode",
"m_ObjectId": "66030ebaff274915a4a06ff7538880a3",
"m_Group": {
"m_Id": "f7dc91f7330645c09356e4bab0fb7fe7"
},
"m_Name": "Preview",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -684.5001220703125,
"y": 70.00004577636719,
"width": 208.00006103515626,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "7ee5abed2c114300bc6ec03f958cb8db"
},
{
"m_Id": "c42334648fa54ac285c3a3338dcee6a3"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Width": 208.0,
"m_Height": 208.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "6bf6ac4e4fdc48589cb3d2013e17a924",
"m_Title": "",
"m_Content": "In value",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1607.5001220703125,
"y": 46.000003814697269,
"width": 80.0,
"height": 100.00000762939453
},
"m_Group": {
"m_Id": "bccd036b1fb04d8d963af1808aa318ef"
}
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "7631acb1b77f4b64814fb2b087743f33"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "7e0d20b8d6ae434b92a68451c3c5f687",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "7ee5abed2c114300bc6ec03f958cb8db",
"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.BlockNode",
"m_ObjectId": "81db718d46de4b6794e89079d2a3d94e",
"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": "51058244b968475ba1f977834d2b2093"
}
],
"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.BooleanMaterialSlot",
"m_ObjectId": "96f52bb915fa461bb61bb40484c4c7dd",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "97a470373b4f4ae5a1effee53cbdcdd2",
"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.ColorRGBMaterialSlot",
"m_ObjectId": "9a2faa26a9c9416b8772005da903c9f7",
"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.Vector1MaterialSlot",
"m_ObjectId": "9d3d3d5087d3432db91db51b3740a4de",
"m_Id": 3,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1Node",
"m_ObjectId": "a94ec23e6ae541e393fd131c4bd7c696",
"m_Group": {
"m_Id": "bccd036b1fb04d8d963af1808aa318ef"
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1633.0001220703125,
"y": 228.5000762939453,
"width": 125.5,
"height": 76.99998474121094
}
},
"m_Slots": [
{
"m_Id": "ab01462350b04055b7995f8228ff9fe4"
},
{
"m_Id": "d20293bb65434f759561d1f2bdb6353e"
}
],
"synonyms": [
"Vector 1",
"1",
"v1",
"vec1",
"scalar"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ab01462350b04055b7995f8228ff9fe4",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.5,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "b818a4c996cb4dd59ff5a0dd85737402",
"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": "4296193bd3eb4754af47170fe9a27d02"
}
],
"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.StepNode",
"m_ObjectId": "b8646b07eeb8481d9ab010cdfa226997",
"m_Group": {
"m_Id": "f7dc91f7330645c09356e4bab0fb7fe7"
},
"m_Name": "Step",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -383.00006103515627,
"y": 46.000038146972659,
"width": 207.99996948242188,
"height": 302.0000305175781
}
},
"m_Slots": [
{
"m_Id": "60ce880394274c97bd735f436ef1a803"
},
{
"m_Id": "be08fd1e09664cf38867772a5f46ac60"
},
{
"m_Id": "1228b56e7d344639b47d7315a2c7acea"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "bccd036b1fb04d8d963af1808aa318ef",
"m_Title": "Under the Hood",
"m_Position": {
"x": -1658.0001220703125,
"y": -12.499931335449219
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "be08fd1e09664cf38867772a5f46ac60",
"m_Id": 1,
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "c42334648fa54ac285c3a3338dcee6a3",
"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.Vector1MaterialSlot",
"m_ObjectId": "cacdfbf0326e4603b0bb2b67cc8ae494",
"m_Id": 4,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d0a7fe776dae44f0ab86b6b9e81940e0",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d20293bb65434f759561d1f2bdb6353e",
"m_Id": 0,
"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.NormalMaterialSlot",
"m_ObjectId": "de4c12fa8c644ce0860b5b64c59b0077",
"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.Vector1Node",
"m_ObjectId": "e1a4de833125430b81ef58182873bf33",
"m_Group": {
"m_Id": "bccd036b1fb04d8d963af1808aa318ef"
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1633.0001220703125,
"y": 81.00006866455078,
"width": 125.5,
"height": 76.9999771118164
}
},
"m_Slots": [
{
"m_Id": "1c678e3362824b32976f8aa4941fc91e"
},
{
"m_Id": "575ff342e4ba4b7887f5a53bc991ac3e"
}
],
"synonyms": [
"Vector 1",
"1",
"v1",
"vec1",
"scalar"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "e32966b5c229454a8d2d688303f6ec76",
"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": "de4c12fa8c644ce0860b5b64c59b0077"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "e52d4e2f7ef34808bf51ac27f3ce506d",
"m_Id": 2,
"m_DisplayName": "False",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "False",
"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": "e80b73d0ca664e5dbcacc4fb4400afe5",
"m_Id": 1,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "e8f376bcc2674cc392832cf06c976775",
"m_ActiveSubTarget": {
"m_Id": "44b542d7078745dbb6e123a57004d558"
},
"m_Datas": [
{
"m_Id": "04e09b8e7d1c4279b651a122211b3221"
},
{
"m_Id": "7e0d20b8d6ae434b92a68451c3c5f687"
},
{
"m_Id": "53a58152c2b44ef289d2c3c14897266a"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "ea9233009e234895a3b979c6dc80b641",
"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": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "ebd27f4c95304645a932c62bd588458b",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "4089ab2e7b99427698eec96230bc21bc"
},
"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.BooleanMaterialSlot",
"m_ObjectId": "f401472adf324a36a81327e2e4b6e25e",
"m_Id": 0,
"m_DisplayName": "Predicate",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Predicate",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "f693019a5d5045a2907e35cc49dfe019",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "7631acb1b77f4b64814fb2b087743f33"
},
"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.GroupData",
"m_ObjectId": "f7dc91f7330645c09356e4bab0fb7fe7",
"m_Title": "The Basics",
"m_Position": {
"x": -972.5000610351563,
"y": -12.499931335449219
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f7ec440249b24dcaa8a71e31469588a1",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "fc61f1452ecd40b6b540b5084641dccf",
"m_Title": "Step Node",
"m_Content": "The Step Node returns 1 if In is the same or higher than the Edge input. Otherwise it returns 0.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -855.5000610351563,
"y": -153.00001525878907,
"width": 200.0,
"height": 100.00000762939453
},
"m_Group": {
"m_Id": ""
}
}