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

1438 lines
34 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "7ad91b13a450438fba76ff2cb5249010",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "8c8bf48f25aa4fc99e1bdf278ae765e6"
}
],
"m_Nodes": [
{
"m_Id": "6c8c7b26fc28465dafbae680a996a4f8"
},
{
"m_Id": "ebc2a2589aca4a70a0a35696df76a5d0"
},
{
"m_Id": "255273b190934795a5b5a4f9618397e9"
},
{
"m_Id": "7268494f1b6b484fb427fc8de5751a2c"
},
{
"m_Id": "fbf93e647c2f4bee91871db81a3e0825"
},
{
"m_Id": "da382fa3e3484a0e90ae4af6979a75fa"
},
{
"m_Id": "494896cd4b8c4de08468db864cdea663"
},
{
"m_Id": "0987b087e59d4009b30cd1ba0b1ea5c5"
},
{
"m_Id": "a91b68a4d8a34724ac8384afc12db3ad"
},
{
"m_Id": "51aafa85f1cb4d0892f6429c59e75808"
},
{
"m_Id": "63e40b9ef56d400b84173ebaf1afd687"
},
{
"m_Id": "d4f306167536466faa3419b3efb66e0f"
}
],
"m_GroupDatas": [
{
"m_Id": "a9991c2cc2cf42abb817f632bb2baa09"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "ee8f47a532f34443a8f9f73f3e5c0e91"
},
{
"m_Id": "5c673429337844c299e5cd5bcea08bfb"
},
{
"m_Id": "cc848a554eb84fcbb2e641e7564aed76"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0987b087e59d4009b30cd1ba0b1ea5c5"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "494896cd4b8c4de08468db864cdea663"
},
"m_SlotId": 9
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "51aafa85f1cb4d0892f6429c59e75808"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "494896cd4b8c4de08468db864cdea663"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a91b68a4d8a34724ac8384afc12db3ad"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "51aafa85f1cb4d0892f6429c59e75808"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a91b68a4d8a34724ac8384afc12db3ad"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "da382fa3e3484a0e90ae4af6979a75fa"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "da382fa3e3484a0e90ae4af6979a75fa"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0987b087e59d4009b30cd1ba0b1ea5c5"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "6c8c7b26fc28465dafbae680a996a4f8"
},
{
"m_Id": "ebc2a2589aca4a70a0a35696df76a5d0"
},
{
"m_Id": "255273b190934795a5b5a4f9618397e9"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "7268494f1b6b484fb427fc8de5751a2c"
},
{
"m_Id": "63e40b9ef56d400b84173ebaf1afd687"
},
{
"m_Id": "d4f306167536466faa3419b3efb66e0f"
}
]
},
"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": "b0ea80bbca4c439fafef0d11df7441c0"
},
{
"m_Id": "ebfa53417ffb48ae9745a883832189d2"
},
{
"m_Id": "6aef48bd6ff64176b3dee37475cc8041"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "02dcbe3826444492b7fd0e8be031f24c",
"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.TangentMaterialSlot",
"m_ObjectId": "03e03aaa6838425ca90a4740eb9956c5",
"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.Vector1MaterialSlot",
"m_ObjectId": "05a2dedfe50b40949a151b11ac5569cb",
"m_Id": 0,
"m_DisplayName": "LOD",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "LOD",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubtractNode",
"m_ObjectId": "0987b087e59d4009b30cd1ba0b1ea5c5",
"m_Group": {
"m_Id": "a9991c2cc2cf42abb817f632bb2baa09"
},
"m_Name": "Subtract",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -732.0000610351563,
"y": 110.50006866455078,
"width": 126.0,
"height": 117.99999237060547
}
},
"m_Slots": [
{
"m_Id": "64c8ad9d0b8848e48395788a8a3fad4c"
},
{
"m_Id": "356f06819704450688d067fb9ed9cf7d"
},
{
"m_Id": "cc26d761cde94acb942709f76112eb16"
}
],
"synonyms": [
"subtraction",
"remove",
"minus",
"take away"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "0af9a9cdfd474f58a6b86ee57c3e520c",
"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.Texture2DInputMaterialSlot",
"m_ObjectId": "0ca6a647106a41069205c9f87d051e0b",
"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\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "15942ec7188f41ed9473e731ac759339",
"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\":\"b3d77c7c5abcbac42ad89ac5c7f837e6\",\"type\":3}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "1b39b956606b4cbda9898a5b3196e293",
"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.BlockNode",
"m_ObjectId": "255273b190934795a5b5a4f9618397e9",
"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": "03e03aaa6838425ca90a4740eb9956c5"
}
],
"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": "356f06819704450688d067fb9ed9cf7d",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": -3.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": "3c7771e475be498cbd39d56955fd832b",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "47db22f1d886434f8df18ff1b54553e5",
"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.SamplerStateMaterialSlot",
"m_ObjectId": "47f5557258fe4175b1630d52741c4675",
"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.SampleTexture2DNode",
"m_ObjectId": "494896cd4b8c4de08468db864cdea663",
"m_Group": {
"m_Id": "a9991c2cc2cf42abb817f632bb2baa09"
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -585.0001220703125,
"y": 86.99999237060547,
"width": 208.00018310546876,
"height": 362.0000305175781
}
},
"m_Slots": [
{
"m_Id": "8520b48833f5475ea90049e65f670155"
},
{
"m_Id": "cda18887f5e3445a9b7610d3a6e0eff5"
},
{
"m_Id": "5262b36a3c5643bbaf2de0e9b77297d2"
},
{
"m_Id": "835c1896445f4919bbbf07743f0a1091"
},
{
"m_Id": "6318dfaa4f7a471099b6f9b72032dfe6"
},
{
"m_Id": "bb5ef9deeed44810a296a77df90f0c7a"
},
{
"m_Id": "d898d210878242d5b0e2ffa712e055b7"
},
{
"m_Id": "47f5557258fe4175b1630d52741c4675"
},
{
"m_Id": "82c8accff12b4299a1a120e8ae93d97f"
}
],
"synonyms": [
"tex2d"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_NormalMapSpace": 0,
"m_EnableGlobalMipBias": true,
"m_MipSamplingMode": 1
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.RedirectNodeData",
"m_ObjectId": "51aafa85f1cb4d0892f6429c59e75808",
"m_Group": {
"m_Id": "a9991c2cc2cf42abb817f632bb2baa09"
},
"m_Name": "Redirect Node",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -674.0,
"y": 25.000032424926759,
"width": 55.99993896484375,
"height": 23.999982833862306
}
},
"m_Slots": [
{
"m_Id": "e34123bd78f94357b30fc187cc7baca8"
},
{
"m_Id": "d65abf01c60c439080e72d4143feb427"
}
],
"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": "5262b36a3c5643bbaf2de0e9b77297d2",
"m_Id": 5,
"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.StickyNoteData",
"m_ObjectId": "5c673429337844c299e5cd5bcea08bfb",
"m_Title": "",
"m_Content": "The Sample Texture 2D node's Mip Sampling Mode is set to LOD, which exposes the LOD input port - which can be used to control the LOD or MIP level that is sampled.\n\nThe result looks blurry because we're sampling a lower resolution mip level than normal.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -582.5000610351563,
"y": 453.5000305175781,
"width": 200.00003051757813,
"height": 141.16629028320313
},
"m_Group": {
"m_Id": "a9991c2cc2cf42abb817f632bb2baa09"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "6318dfaa4f7a471099b6f9b72032dfe6",
"m_Id": 7,
"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.BlockNode",
"m_ObjectId": "63e40b9ef56d400b84173ebaf1afd687",
"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": "9cfe409f3a284d278fbe6398e7500e42"
}
],
"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": "64c8ad9d0b8848e48395788a8a3fad4c",
"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": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "6aef48bd6ff64176b3dee37475cc8041",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "cee6df0f90484224b3537e599efd4262"
},
"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.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "6bb1dc1a4ece418d93c9a8f62a32b686"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "6c8c7b26fc28465dafbae680a996a4f8",
"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": "c4e14b73225849548075d9b564881291"
}
],
"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.BlockNode",
"m_ObjectId": "7268494f1b6b484fb427fc8de5751a2c",
"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": "0af9a9cdfd474f58a6b86ee57c3e520c"
}
],
"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.Texture2DMaterialSlot",
"m_ObjectId": "7a12fea08df0415da3250cd0ee44bc1e",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "82c8accff12b4299a1a120e8ae93d97f",
"m_Id": 9,
"m_DisplayName": "LOD",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "LOD",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "835c1896445f4919bbbf07743f0a1091",
"m_Id": 6,
"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.Vector4MaterialSlot",
"m_ObjectId": "8520b48833f5475ea90049e65f670155",
"m_Id": 0,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"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.CategoryData",
"m_ObjectId": "8c8bf48f25aa4fc99e1bdf278ae765e6",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "993cd25fe42f4d8d990dd307768da502",
"m_Id": 0,
"m_DisplayName": "LOD",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "LOD",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "9cfe409f3a284d278fbe6398e7500e42",
"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.Texture2DAssetNode",
"m_ObjectId": "a91b68a4d8a34724ac8384afc12db3ad",
"m_Group": {
"m_Id": "a9991c2cc2cf42abb817f632bb2baa09"
},
"m_Name": "Texture 2D Asset",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1250.5001220703125,
"y": -19.000009536743165,
"width": 143.5,
"height": 106.0
}
},
"m_Slots": [
{
"m_Id": "7a12fea08df0415da3250cd0ee44bc1e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"ade6c320c9b59a94d9bb43c5a437e2ef\",\"type\":3}}",
"m_Guid": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "a9991c2cc2cf42abb817f632bb2baa09",
"m_Title": "Using the Node",
"m_Position": {
"x": -1275.5001220703125,
"y": -77.5
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "ad72df43ac6d48a785a759e8750cf29b",
"m_Distortion": false,
"m_DistortionMode": 0,
"m_DistortionDepthTest": true,
"m_AddPrecomputedVelocity": false,
"m_TransparentWritesMotionVec": false,
"m_DepthOffset": false,
"m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_TransparentPerPixelSorting": false,
"m_SupportLodCrossFade": false
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "b0ea80bbca4c439fafef0d11df7441c0",
"m_ActiveSubTarget": {
"m_Id": "6bb1dc1a4ece418d93c9a8f62a32b686"
},
"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.SamplerStateMaterialSlot",
"m_ObjectId": "b1091211fb56423b9465298194c822c3",
"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.Texture2DInputMaterialSlot",
"m_ObjectId": "bb5ef9deeed44810a296a77df90f0c7a",
"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\":\"b3d77c7c5abcbac42ad89ac5c7f837e6\",\"type\":3}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "bbf5901ab7584cb98ff80cd4c54cf219"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "c4e14b73225849548075d9b564881291",
"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": "cc26d761cde94acb942709f76112eb16",
"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.StickyNoteData",
"m_ObjectId": "cc848a554eb84fcbb2e641e7564aed76",
"m_Title": "",
"m_Content": "Here we calculate the LOD level and then alter it before using it to sample a texture.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -1048.0001220703125,
"y": 373.0000305175781,
"width": 200.00006103515626,
"height": 100.00003051757813
},
"m_Group": {
"m_Id": "a9991c2cc2cf42abb817f632bb2baa09"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "cda18887f5e3445a9b7610d3a6e0eff5",
"m_Id": 4,
"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": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "cee6df0f90484224b3537e599efd4262"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "d4f306167536466faa3419b3efb66e0f",
"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": "47db22f1d886434f8df18ff1b54553e5"
}
],
"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.Texture2DMaterialSlot",
"m_ObjectId": "d65abf01c60c439080e72d4143feb427",
"m_Id": 1,
"m_DisplayName": "",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "d898d210878242d5b0e2ffa712e055b7",
"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.UVMaterialSlot",
"m_ObjectId": "d8e5cf43b52947a0829b46e55b38e343",
"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.CalculateLevelOfDetailTexture2DNode",
"m_ObjectId": "da382fa3e3484a0e90ae4af6979a75fa",
"m_Group": {
"m_Id": "a9991c2cc2cf42abb817f632bb2baa09"
},
"m_Name": "Calculate Level Of Detail Texture 2D",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1082.0001220703125,
"y": 110.50006866455078,
"width": 250.50006103515626,
"height": 177.0
}
},
"m_Slots": [
{
"m_Id": "993cd25fe42f4d8d990dd307768da502"
},
{
"m_Id": "15942ec7188f41ed9473e731ac759339"
},
{
"m_Id": "d8e5cf43b52947a0829b46e55b38e343"
},
{
"m_Id": "b1091211fb56423b9465298194c822c3"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Clamp": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "dde39b05b1b74d8fa884158988f8dfa2",
"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.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "e0da5c7d5c504b62b5be8498c662e630",
"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.Texture2DMaterialSlot",
"m_ObjectId": "e34123bd78f94357b30fc187cc7baca8",
"m_Id": 0,
"m_DisplayName": "",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "ebc2a2589aca4a70a0a35696df76a5d0",
"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": "dde39b05b1b74d8fa884158988f8dfa2"
}
],
"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.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "ebfa53417ffb48ae9745a883832189d2",
"m_ActiveSubTarget": {
"m_Id": "bbf5901ab7584cb98ff80cd4c54cf219"
},
"m_Datas": [
{
"m_Id": "ad72df43ac6d48a785a759e8750cf29b"
},
{
"m_Id": "e0da5c7d5c504b62b5be8498c662e630"
},
{
"m_Id": "3c7771e475be498cbd39d56955fd832b"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "ee8f47a532f34443a8f9f73f3e5c0e91",
"m_Title": "Calculate Level of Detail Texture 2D",
"m_Content": "The Calculate Level of Detail Texture 2D node takes an input Texture 2D and outputs the mip level of a Texture sample. This node is useful in situations where you need to know the mip level of a Texture, such as when you might want to modify the mip level before sampling in your shader.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -828.0000610351563,
"y": -273.5000305175781,
"width": 364.8421630859375,
"height": 160.0
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CalculateLevelOfDetailTexture2DNode",
"m_ObjectId": "fbf93e647c2f4bee91871db81a3e0825",
"m_Group": {
"m_Id": ""
},
"m_Name": "Calculate Level Of Detail Texture 2D",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1094.5001220703125,
"y": -276.5,
"width": 250.50006103515626,
"height": 176.99998474121095
}
},
"m_Slots": [
{
"m_Id": "05a2dedfe50b40949a151b11ac5569cb"
},
{
"m_Id": "0ca6a647106a41069205c9f87d051e0b"
},
{
"m_Id": "1b39b956606b4cbda9898a5b3196e293"
},
{
"m_Id": "02dcbe3826444492b7fd0e8be031f24c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Clamp": true
}