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

1616 lines
37 KiB
Plaintext
Raw Normal View History

2024-08-26 13:07:20 -07:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "72d03ce333d64dfc830b7a67a50c91d8",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "e4a0ec3d560b48f1b2a7a0ce6a287931"
}
],
"m_Nodes": [
{
"m_Id": "317f19f6744b49d3b75452c62710bedf"
},
{
"m_Id": "8b67adf8f0974f07b2f1e3c996d132ea"
},
{
"m_Id": "f4265e225bf0495bbe51b6a81c24d469"
},
{
"m_Id": "f8dd9f7a5b5e43e1880894c7ab8772d0"
},
{
"m_Id": "9f28d1c8ef1c4901b598b2937964a3a8"
},
{
"m_Id": "fe5cb10bdfdb47da90ab48cd06a0e704"
},
{
"m_Id": "9a6743e8b852483aa3294b37ae382b8a"
},
{
"m_Id": "1f522a26355447d8806dd25671026349"
},
{
"m_Id": "a8f472b3ef6b464b9c57ccc0e4f8a5f3"
},
{
"m_Id": "03f4907a684f4a6aaf35335ecbba00fc"
},
{
"m_Id": "cd8240a71ae44377ba3817a83d0faa69"
},
{
"m_Id": "42a068a459be4991bf233c4f59fa2cea"
},
{
"m_Id": "96757bb181b149bbb93a88b719709a3a"
},
{
"m_Id": "259fbcbaabe54c899aa2ad4c0cfdb27b"
}
],
"m_GroupDatas": [
{
"m_Id": "a7523fecc58c4dadb5e1e1c091f54b32"
},
{
"m_Id": "7576f217423c4dc3bb423b4ea1fb7a10"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "31e66208c1374120a93e9bd01110f290"
},
{
"m_Id": "8fdecb5cd2934ed2a931a782fbccae8e"
},
{
"m_Id": "a05b31a8c15248f99c3bb2db754101a7"
},
{
"m_Id": "99dc762d8d8f46ceb7ede916a57d3caf"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1f522a26355447d8806dd25671026349"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a8f472b3ef6b464b9c57ccc0e4f8a5f3"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "42a068a459be4991bf233c4f59fa2cea"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "03f4907a684f4a6aaf35335ecbba00fc"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9a6743e8b852483aa3294b37ae382b8a"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1f522a26355447d8806dd25671026349"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "cd8240a71ae44377ba3817a83d0faa69"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "42a068a459be4991bf233c4f59fa2cea"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "fe5cb10bdfdb47da90ab48cd06a0e704"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a8f472b3ef6b464b9c57ccc0e4f8a5f3"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "317f19f6744b49d3b75452c62710bedf"
},
{
"m_Id": "8b67adf8f0974f07b2f1e3c996d132ea"
},
{
"m_Id": "f4265e225bf0495bbe51b6a81c24d469"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "f8dd9f7a5b5e43e1880894c7ab8772d0"
},
{
"m_Id": "96757bb181b149bbb93a88b719709a3a"
},
{
"m_Id": "259fbcbaabe54c899aa2ad4c0cfdb27b"
}
]
},
"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": "efd452cbcee74a6faefb4c38f921dc71"
},
{
"m_Id": "190a7dcc345c4557a31438f999ddf798"
},
{
"m_Id": "dab6c66297d04deba49c0b1443490e4f"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "01eef6a8a9d440939256a163ac1e6274",
"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.RotateNode",
"m_ObjectId": "03f4907a684f4a6aaf35335ecbba00fc",
"m_Group": {
"m_Id": "7576f217423c4dc3bb423b4ea1fb7a10"
},
"m_Name": "Rotate",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -467.5000305175781,
"y": 112.00000762939453,
"width": 162.99996948242188,
"height": 176.50003051757813
}
},
"m_Slots": [
{
"m_Id": "4cbefddcb562447a92402f97bff84a34"
},
{
"m_Id": "e5330f7b51364f168cf7be98a608668b"
},
{
"m_Id": "e37d1151df05431dbb9fa76280772733"
},
{
"m_Id": "46606c06ab56436aa1c77f00e3b070e7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Unit": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "05d470cf6b7443239a167c8d170e4624",
"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.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "0fdd0b133d364ea78a9eb77116f3f997"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "15b976657dd94913ab8488a37376ca98",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 180.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.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "190a7dcc345c4557a31438f999ddf798",
"m_ActiveSubTarget": {
"m_Id": "b79610ada87947fb9e28bd5125317c57"
},
"m_Datas": [
{
"m_Id": "c7a3f5e64f8046cfa7289bf04fd76e9a"
},
{
"m_Id": "f86cc0023df24706a59e373a449c6596"
},
{
"m_Id": "689acad9d42640308bdcdd6cc9cefe85"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DivideNode",
"m_ObjectId": "1f522a26355447d8806dd25671026349",
"m_Group": {
"m_Id": "a7523fecc58c4dadb5e1e1c091f54b32"
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1267.0001220703125,
"y": 335.5000305175781,
"width": 126.0,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "5711d1e3ab794550aabfc0eb4f11a076"
},
{
"m_Id": "15b976657dd94913ab8488a37376ca98"
},
{
"m_Id": "e3c0f21fcfea49de9d629cd421c4bf59"
}
],
"synonyms": [
"division",
"divided by"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "259fbcbaabe54c899aa2ad4c0cfdb27b",
"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": "01eef6a8a9d440939256a163ac1e6274"
}
],
"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.BlockNode",
"m_ObjectId": "317f19f6744b49d3b75452c62710bedf",
"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": "bc0cedce728444cda77f65f1929c957e"
}
],
"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": "31e66208c1374120a93e9bd01110f290",
"m_Title": "Degrees To Radians Node",
"m_Content": "The Degrees To Radians Node converts a value in degrees to the same value in radians.\n\nThis node is useful because rotation values in degrees are often more intuitive to understand as inputs for artists, but the trig math functions generally expect inputs in radians. So with this node, you can ask for input values in degrees and then convert them to radians before using them.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -925.5000610351563,
"y": -124.50001525878906,
"width": 345.0,
"height": 150.00001525878907
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "37ced716cee14b61b41f31fac274382a",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 90.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "3a99d90ce69e45c38f14e3ce72143b0a",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DegreesToRadiansNode",
"m_ObjectId": "42a068a459be4991bf233c4f59fa2cea",
"m_Group": {
"m_Id": "7576f217423c4dc3bb423b4ea1fb7a10"
},
"m_Name": "Degrees To Radians",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -674.0000610351563,
"y": 232.50001525878907,
"width": 158.99993896484376,
"height": 94.00001525878906
}
},
"m_Slots": [
{
"m_Id": "7940c550fbb84f728224c2ee339e29ac"
},
{
"m_Id": "f6caca5f375a4d62ab6e551faad0219f"
}
],
"synonyms": [
"degtorad",
"radians",
"convert"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "46606c06ab56436aa1c77f00e3b070e7",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "496e49a68e994cb999d26de63e741378",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.0,
"e01": 2.0,
"e02": 2.0,
"e03": 2.0,
"e10": 2.0,
"e11": 2.0,
"e12": 2.0,
"e13": 2.0,
"e20": 2.0,
"e21": 2.0,
"e22": 2.0,
"e23": 2.0,
"e30": 2.0,
"e31": 2.0,
"e32": 2.0,
"e33": 2.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "4cbefddcb562447a92402f97bff84a34",
"m_Id": 0,
"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": "5711d1e3ab794550aabfc0eb4f11a076",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "57c064a8769b461b9734698723cbb151",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "689acad9d42640308bdcdd6cc9cefe85",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "6e6332b7c8ce4e8aa07a1cf222fd5f9e",
"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.GroupData",
"m_ObjectId": "7576f217423c4dc3bb423b4ea1fb7a10",
"m_Title": "Rotating UVs",
"m_Position": {
"x": 10.0,
"y": 10.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "7940c550fbb84f728224c2ee339e29ac",
"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": "8b67adf8f0974f07b2f1e3c996d132ea",
"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": "a1058519024f4d1eb3183df379291f60"
}
],
"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.StickyNoteData",
"m_ObjectId": "8fdecb5cd2934ed2a931a782fbccae8e",
"m_Title": "",
"m_Content": "In",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1253.0001220703125,
"y": 111.50001525878906,
"width": 80.0,
"height": 100.0
},
"m_Group": {
"m_Id": "a7523fecc58c4dadb5e1e1c091f54b32"
}
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "91d60154352c4fada4d868f83138589b"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "96757bb181b149bbb93a88b719709a3a",
"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": "05d470cf6b7443239a167c8d170e4624"
}
],
"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.DynamicValueMaterialSlot",
"m_ObjectId": "99d2fe9755924403a015d4164519c5a1",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "99dc762d8d8f46ceb7ede916a57d3caf",
"m_Title": "",
"m_Content": "In this example, we input a value of 90 degrees, convert it to radians, and then pass that value into the Rotate node. This rotates the UVs by 90 degrees.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -738.5000610351563,
"y": 358.5000305175781,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "7576f217423c4dc3bb423b4ea1fb7a10"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ConstantNode",
"m_ObjectId": "9a6743e8b852483aa3294b37ae382b8a",
"m_Group": {
"m_Id": "a7523fecc58c4dadb5e1e1c091f54b32"
},
"m_Name": "Constant",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1437.0001220703125,
"y": 273.5000305175781,
"width": 145.0,
"height": 111.5
}
},
"m_Slots": [
{
"m_Id": "ce6e9f7326f64a4eb6a97f6ecf877c52"
}
],
"synonyms": [
"pi",
"tau",
"phi"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_constant": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DegreesToRadiansNode",
"m_ObjectId": "9f28d1c8ef1c4901b598b2937964a3a8",
"m_Group": {
"m_Id": ""
},
"m_Name": "Degrees To Radians",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1093.5001220703125,
"y": -126.5,
"width": 159.00006103515626,
"height": 94.00000762939453
}
},
"m_Slots": [
{
"m_Id": "b8bbf0e9b71945d6951033fed41e3f30"
},
{
"m_Id": "57c064a8769b461b9734698723cbb151"
}
],
"synonyms": [
"degtorad",
"radians",
"convert"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "a05b31a8c15248f99c3bb2db754101a7",
"m_Title": "",
"m_Content": "Degrees are converted to radians by multiplying the input by Pi divided by 180.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1110.0001220703125,
"y": 395.0000305175781,
"width": 200.00006103515626,
"height": 100.00003051757813
},
"m_Group": {
"m_Id": "a7523fecc58c4dadb5e1e1c091f54b32"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "a1058519024f4d1eb3183df379291f60",
"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.GroupData",
"m_ObjectId": "a7523fecc58c4dadb5e1e1c091f54b32",
"m_Title": "Under The Hood",
"m_Position": {
"x": -1462.0001220703125,
"y": 53.000030517578128
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "a8f472b3ef6b464b9c57ccc0e4f8a5f3",
"m_Group": {
"m_Id": "a7523fecc58c4dadb5e1e1c091f54b32"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1079.0001220703125,
"y": 237.50006103515626,
"width": 126.00006103515625,
"height": 118.0
}
},
"m_Slots": [
{
"m_Id": "99d2fe9755924403a015d4164519c5a1"
},
{
"m_Id": "496e49a68e994cb999d26de63e741378"
},
{
"m_Id": "3a99d90ce69e45c38f14e3ce72143b0a"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "b6072669e656469eb7b6cea5fd88f177",
"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.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "b79610ada87947fb9e28bd5125317c57"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "b8bbf0e9b71945d6951033fed41e3f30",
"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.PositionMaterialSlot",
"m_ObjectId": "bc0cedce728444cda77f65f1929c957e",
"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.ColorRGBMaterialSlot",
"m_ObjectId": "c39013257a274390ad24650bdb373a0d",
"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.Vector1MaterialSlot",
"m_ObjectId": "c6cf70d860924bc094c3ea3fa831d7f5",
"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.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "c7a3f5e64f8046cfa7289bf04fd76e9a",
"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.Vector1Node",
"m_ObjectId": "cd8240a71ae44377ba3817a83d0faa69",
"m_Group": {
"m_Id": "7576f217423c4dc3bb423b4ea1fb7a10"
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -799.5000610351563,
"y": 232.50001525878907,
"width": 125.5,
"height": 77.00004577636719
}
},
"m_Slots": [
{
"m_Id": "37ced716cee14b61b41f31fac274382a"
},
{
"m_Id": "f0838133af724397aa8753a6d38e046f"
}
],
"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": "ce6e9f7326f64a4eb6a97f6ecf877c52",
"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": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "dab6c66297d04deba49c0b1443490e4f",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "91d60154352c4fada4d868f83138589b"
},
"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.Vector1MaterialSlot",
"m_ObjectId": "e37d1151df05431dbb9fa76280772733",
"m_Id": 2,
"m_DisplayName": "Rotation",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Rotation",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e3c0f21fcfea49de9d629cd421c4bf59",
"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.CategoryData",
"m_ObjectId": "e4a0ec3d560b48f1b2a7a0ce6a287931",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "e5330f7b51364f168cf7be98a608668b",
"m_Id": 1,
"m_DisplayName": "Center",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Center",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"y": 0.5
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "efd452cbcee74a6faefb4c38f921dc71",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "0fdd0b133d364ea78a9eb77116f3f997"
},
"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": "f0838133af724397aa8753a6d38e046f",
"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": "f4265e225bf0495bbe51b6a81c24d469",
"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": "b6072669e656469eb7b6cea5fd88f177"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "f6caca5f375a4d62ab6e551faad0219f",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "f86cc0023df24706a59e373a449c6596",
"m_MaterialNeedsUpdateHash": 0,
"m_SurfaceType": 0,
"m_RenderingPass": 1,
"m_BlendMode": 0,
"m_ZTest": 4,
"m_ZWrite": false,
"m_TransparentCullMode": 2,
"m_OpaqueCullMode": 2,
"m_SortPriority": 0,
"m_AlphaTest": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
"m_CustomVelocity": false,
"m_Tessellation": false,
"m_TessellationMode": 0,
"m_TessellationFactorMinDistance": 20.0,
"m_TessellationFactorMaxDistance": 50.0,
"m_TessellationFactorTriangleSize": 100.0,
"m_TessellationShapeFactor": 0.75,
"m_TessellationBackFaceCullEpsilon": -0.25,
"m_TessellationMaxDisplacement": 0.009999999776482582,
"m_DebugSymbols": false,
"m_Version": 2,
"inspectorFoldoutMask": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "f8dd9f7a5b5e43e1880894c7ab8772d0",
"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": "c39013257a274390ad24650bdb373a0d"
}
],
"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.Vector1Node",
"m_ObjectId": "fe5cb10bdfdb47da90ab48cd06a0e704",
"m_Group": {
"m_Id": "a7523fecc58c4dadb5e1e1c091f54b32"
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1274.0001220703125,
"y": 143.5000457763672,
"width": 125.5,
"height": 76.99998474121094
}
},
"m_Slots": [
{
"m_Id": "6e6332b7c8ce4e8aa07a1cf222fd5f9e"
},
{
"m_Id": "c6cf70d860924bc094c3ea3fa831d7f5"
}
],
"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
}