Rasagar/Library/PackageCache/com.unity.shadergraph/Samples~/NodeReference/Math/Fraction.shadergraph
2024-08-26 23:07:20 +03:00

1339 lines
31 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "4c8eaa9c7f7e43809a0c3865e87a2dc4",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "f7d6d130cd3e493d96178e49258cc941"
}
],
"m_Nodes": [
{
"m_Id": "3b4fd6bf7801432fb24d65d89556ff1f"
},
{
"m_Id": "6ac8e7706b7f4b399c3c049136404cce"
},
{
"m_Id": "e93809cb829a43338bf079717bf7214d"
},
{
"m_Id": "93397805570e462f815ee96b7af3ee58"
},
{
"m_Id": "d4732576fb2e4ef4b1fed1ec5e413485"
},
{
"m_Id": "84d070da88d54c80adb9671b3d8e8145"
},
{
"m_Id": "9eaef7cb84de4d83bd0b7867636afac5"
},
{
"m_Id": "b252a16a45ea4f01a705f24ce8f2bf74"
},
{
"m_Id": "1b1ad93550bc49c391a49498ae07e0e1"
},
{
"m_Id": "48162698788a45f1b9736dd3f2fe9b12"
},
{
"m_Id": "8102e30ac5e84abc99dfa5ccf99d1927"
},
{
"m_Id": "296693d1ff5642cd8bc93383e6ece82c"
}
],
"m_GroupDatas": [
{
"m_Id": "192d7113c6924a22ba8102bcbb431305"
},
{
"m_Id": "51fd8dd52a5846099b493c1171afb76c"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "400154ada6ee4f76999469271da3951b"
},
{
"m_Id": "a6ed2c590e2649c18ce2aecd7d666466"
},
{
"m_Id": "2ccebcd63b424ea7bd7c139b80d1e5e6"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "48162698788a45f1b9736dd3f2fe9b12"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1b1ad93550bc49c391a49498ae07e0e1"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "84d070da88d54c80adb9671b3d8e8145"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9eaef7cb84de4d83bd0b7867636afac5"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b252a16a45ea4f01a705f24ce8f2bf74"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1b1ad93550bc49c391a49498ae07e0e1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b252a16a45ea4f01a705f24ce8f2bf74"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "48162698788a45f1b9736dd3f2fe9b12"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "3b4fd6bf7801432fb24d65d89556ff1f"
},
{
"m_Id": "6ac8e7706b7f4b399c3c049136404cce"
},
{
"m_Id": "e93809cb829a43338bf079717bf7214d"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "93397805570e462f815ee96b7af3ee58"
},
{
"m_Id": "8102e30ac5e84abc99dfa5ccf99d1927"
},
{
"m_Id": "296693d1ff5642cd8bc93383e6ece82c"
}
]
},
"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": "1e6d8dc22e914964b05fe18027dfbaea"
},
{
"m_Id": "fdd366720e0d41828a53a61db19b4d51"
},
{
"m_Id": "c3eadbd746d84addb0b014b6b3e01578"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "113d77ce522944a397dff81d522bc1ce"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "12b63641a99447378b5130d0114cbb97",
"m_Id": 0,
"m_DisplayName": "Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "131ed1d8f05c4e76960d746973da6dd5",
"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.Vector1MaterialSlot",
"m_ObjectId": "13d3f1e578484227af65d14b5cf3c528",
"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.GroupData",
"m_ObjectId": "192d7113c6924a22ba8102bcbb431305",
"m_Title": "Under The Hood",
"m_Position": {
"x": -1200.0,
"y": -57.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubtractNode",
"m_ObjectId": "1b1ad93550bc49c391a49498ae07e0e1",
"m_Group": {
"m_Id": "192d7113c6924a22ba8102bcbb431305"
},
"m_Name": "Subtract",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -873.9999389648438,
"y": 1.4999682903289796,
"width": 125.99993896484375,
"height": 118.0000228881836
}
},
"m_Slots": [
{
"m_Id": "d581fcec0b3b4ab8b4d2cc4a57758acb"
},
{
"m_Id": "aedb2b72d946495da5a08e794a2f0015"
},
{
"m_Id": "8cc1d8fd2da14523879fde711fdfe1a1"
}
],
"synonyms": [
"subtraction",
"remove",
"minus",
"take away"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "1e6d8dc22e914964b05fe18027dfbaea",
"m_ActiveSubTarget": {
"m_Id": "861697ea42674d2da39b9445dcc883c4"
},
"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.Vector1MaterialSlot",
"m_ObjectId": "2205e38b28024fee9252360fbba903dd",
"m_Id": 1,
"m_DisplayName": "Sine Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Sine Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "25aec7c0659f480aabfbb06dd6da7dfa",
"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": "296693d1ff5642cd8bc93383e6ece82c",
"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": "13d3f1e578484227af65d14b5cf3c528"
}
],
"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.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "2a6abcc05e984df884a2647de3299c7c",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "2ccebcd63b424ea7bd7c139b80d1e5e6",
"m_Title": "",
"m_Content": "In this example, we find the fractional value of Time - which is a value that goes from 0 to 1. As soon as the value reaches 1, it drops back to zero again and repeats. This is very useful to use for effects that need to loop.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -609.5000610351563,
"y": 281.0000305175781,
"width": 207.00003051757813,
"height": 112.0
},
"m_Group": {
"m_Id": "51fd8dd52a5846099b493c1171afb76c"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "3b4fd6bf7801432fb24d65d89556ff1f",
"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": "570f6151b35543cc9f4f907378e043f4"
}
],
"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": "400154ada6ee4f76999469271da3951b",
"m_Title": "Fraction Node",
"m_Content": "The Fraction Node removes the integer portion of a value and just returns the fractional portion - or the values to the right of the decimal. This effectively limits the range of any input value to between 0 and 1 regardless of how large the value is.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -822.5000610351563,
"y": -182.00001525878907,
"width": 286.95654296875,
"height": 105.00001525878906
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "429872dcb06d4829b65db3f2fe11da89",
"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.FloorNode",
"m_ObjectId": "48162698788a45f1b9736dd3f2fe9b12",
"m_Group": {
"m_Id": "192d7113c6924a22ba8102bcbb431305"
},
"m_Name": "Floor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1024.5001220703125,
"y": 72.5,
"width": 127.50006103515625,
"height": 93.99998474121094
}
},
"m_Slots": [
{
"m_Id": "25aec7c0659f480aabfbb06dd6da7dfa"
},
{
"m_Id": "86f523b6c9154cb194f260cffe47b098"
}
],
"synonyms": [
"down"
],
"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": "4dcf6a9608a0435e9db3a9955b652f23",
"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.GroupData",
"m_ObjectId": "51fd8dd52a5846099b493c1171afb76c",
"m_Title": "Blinking Light",
"m_Position": {
"x": -711.9998168945313,
"y": -57.50006103515625
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "546bee9e583948b8b76382d384ccd2d4",
"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.PositionMaterialSlot",
"m_ObjectId": "570f6151b35543cc9f4f907378e043f4",
"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": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "57cbfe2c38fa46379789acd3295a5adc"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "587f39cbf8c54257ab48c7740760dd04",
"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": "6ac8e7706b7f4b399c3c049136404cce",
"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": "f929b30ce7744aa6b977597d42c7d4cc"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "7bbdc1ef89b744639d131ee186637fd4",
"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.BlockNode",
"m_ObjectId": "8102e30ac5e84abc99dfa5ccf99d1927",
"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": "b544a13b0eb4462ba7d1891d3a4af006"
}
],
"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.TimeNode",
"m_ObjectId": "84d070da88d54c80adb9671b3d8e8145",
"m_Group": {
"m_Id": "51fd8dd52a5846099b493c1171afb76c"
},
"m_Name": "Time",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -686.9999389648438,
"y": 0.9999526143074036,
"width": 78.9998779296875,
"height": 77.0000228881836
}
},
"m_Slots": [
{
"m_Id": "12b63641a99447378b5130d0114cbb97"
},
{
"m_Id": "2205e38b28024fee9252360fbba903dd"
},
{
"m_Id": "9492ecdb96c5471d82a62f1b1f9768c4"
},
{
"m_Id": "fc08930878ff49f188f46a3302222a24"
},
{
"m_Id": "e6f7bc788ca741a6b9c6442e5a363af8"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "861697ea42674d2da39b9445dcc883c4"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "86f523b6c9154cb194f260cffe47b098",
"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": "89f220883f0c4116b10b153089773673",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "8cc1d8fd2da14523879fde711fdfe1a1",
"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.BlockNode",
"m_ObjectId": "93397805570e462f815ee96b7af3ee58",
"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": "9de737dab97141018217d1116d6452f5"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "9492ecdb96c5471d82a62f1b1f9768c4",
"m_Id": 2,
"m_DisplayName": "Cosine Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Cosine Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "98018105dc324315bbe7472d17ff5bc0",
"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.ColorRGBMaterialSlot",
"m_ObjectId": "9de737dab97141018217d1116d6452f5",
"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.FractionNode",
"m_ObjectId": "9eaef7cb84de4d83bd0b7867636afac5",
"m_Group": {
"m_Id": "51fd8dd52a5846099b493c1171afb76c"
},
"m_Name": "Fraction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -608.0000610351563,
"y": 0.9999526143074036,
"width": 208.00006103515626,
"height": 278.0000305175781
}
},
"m_Slots": [
{
"m_Id": "587f39cbf8c54257ab48c7740760dd04"
},
{
"m_Id": "4dcf6a9608a0435e9db3a9955b652f23"
}
],
"synonyms": [
"remainder"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "a6ed2c590e2649c18ce2aecd7d666466",
"m_Title": "",
"m_Content": "The Fraction node rounds the input value down to the nearest whole number and then subtracts that from the original input. The result is just the fractional portion of the original value.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1167.0001220703125,
"y": 168.50001525878907,
"width": 200.00006103515626,
"height": 107.00001525878906
},
"m_Group": {
"m_Id": "192d7113c6924a22ba8102bcbb431305"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "aedb2b72d946495da5a08e794a2f0015",
"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.Vector1Node",
"m_ObjectId": "b252a16a45ea4f01a705f24ce8f2bf74",
"m_Group": {
"m_Id": "192d7113c6924a22ba8102bcbb431305"
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1175.0,
"y": 1.4999682903289796,
"width": 125.5,
"height": 77.0000228881836
}
},
"m_Slots": [
{
"m_Id": "546bee9e583948b8b76382d384ccd2d4"
},
{
"m_Id": "7bbdc1ef89b744639d131ee186637fd4"
}
],
"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.ColorRGBMaterialSlot",
"m_ObjectId": "b544a13b0eb4462ba7d1891d3a4af006",
"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": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "c3eadbd746d84addb0b014b6b3e01578",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "57cbfe2c38fa46379789acd3295a5adc"
},
"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.FractionNode",
"m_ObjectId": "d4732576fb2e4ef4b1fed1ec5e413485",
"m_Group": {
"m_Id": ""
},
"m_Name": "Fraction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -957.0,
"y": -188.0,
"width": 127.5,
"height": 94.00000762939453
}
},
"m_Slots": [
{
"m_Id": "89f220883f0c4116b10b153089773673"
},
{
"m_Id": "429872dcb06d4829b65db3f2fe11da89"
}
],
"synonyms": [
"remainder"
],
"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": "d581fcec0b3b4ab8b4d2cc4a57758acb",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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": "e6f7bc788ca741a6b9c6442e5a363af8",
"m_Id": 4,
"m_DisplayName": "Smooth Delta",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Smooth Delta",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "e93809cb829a43338bf079717bf7214d",
"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": "98018105dc324315bbe7472d17ff5bc0"
}
],
"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.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "f09fbd3601304dc9a6f085e01f698718",
"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.CategoryData",
"m_ObjectId": "f7d6d130cd3e493d96178e49258cc941",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "f929b30ce7744aa6b977597d42c7d4cc",
"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.Vector1MaterialSlot",
"m_ObjectId": "fc08930878ff49f188f46a3302222a24",
"m_Id": 3,
"m_DisplayName": "Delta Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Delta Time",
"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": "fdd366720e0d41828a53a61db19b4d51",
"m_ActiveSubTarget": {
"m_Id": "113d77ce522944a397dff81d522bc1ce"
},
"m_Datas": [
{
"m_Id": "f09fbd3601304dc9a6f085e01f698718"
},
{
"m_Id": "131ed1d8f05c4e76960d746973da6dd5"
},
{
"m_Id": "2a6abcc05e984df884a2647de3299c7c"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}