UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/FeatureExamples/Condition/BranchOnRP.shadergraph

1483 lines
35 KiB
Plaintext
Raw Normal View History

2024-10-27 10:53:47 +03:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "a4fdd018984a43c38cd97dc14bb1919b",
"m_Properties": [
{
"m_Id": "20d5cbae90bc4e059310b92aba3c5752"
},
{
"m_Id": "b06befb688be4bbc9dca73fe6f9aa1ca"
},
{
"m_Id": "d1551d72b19049ae889a1250bfd2ed63"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "c31659fc6b4641b8899b6944c4699543"
}
],
"m_Nodes": [
{
"m_Id": "d8fca6616a0a4df18dd4da510e9fa4bb"
},
{
"m_Id": "318f7d482e9d47f3b07f2d33165e706b"
},
{
"m_Id": "da9c3ed0f9124e3c8dcc4eacd89b29bd"
},
{
"m_Id": "24512b6b55274f8793f47608cb70c433"
},
{
"m_Id": "047f5c93456d4d8e9958d1958a1ae88f"
},
{
"m_Id": "b8b04eed67b341a68751e7c5296bb059"
},
{
"m_Id": "2992dff7b17e47e6b584f66949cc2644"
},
{
"m_Id": "7029286877204f439c0bda992279534d"
},
{
"m_Id": "98d152034592443684f55ca7208e55d2"
},
{
"m_Id": "85cc8f4215dc4b8d857e898944e16441"
},
{
"m_Id": "a46d503dff254b498add8f9d546e3d8e"
},
{
"m_Id": "66ddaeb75a5944c190738f5534ce02a8"
},
{
"m_Id": "3b794ecd390a4a6fbf6bc22b18c1d55a"
},
{
"m_Id": "bf36a6403ed84eaaa2817280653d3778"
},
{
"m_Id": "f0d59b5c08514563a3677064c73c737e"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [
{
"m_Id": "4f4648de17eb4b86b2cf471c6904daff"
},
{
"m_Id": "623346622ae4416d83e137c376f08118"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "047f5c93456d4d8e9958d1958a1ae88f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f0d59b5c08514563a3677064c73c737e"
},
"m_SlotId": 788036408
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2992dff7b17e47e6b584f66949cc2644"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f0d59b5c08514563a3677064c73c737e"
},
"m_SlotId": 1798337600
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b8b04eed67b341a68751e7c5296bb059"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f0d59b5c08514563a3677064c73c737e"
},
"m_SlotId": -427767828
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f0d59b5c08514563a3677064c73c737e"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "24512b6b55274f8793f47608cb70c433"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "d8fca6616a0a4df18dd4da510e9fa4bb"
},
{
"m_Id": "318f7d482e9d47f3b07f2d33165e706b"
},
{
"m_Id": "da9c3ed0f9124e3c8dcc4eacd89b29bd"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "24512b6b55274f8793f47608cb70c433"
},
{
"m_Id": "7029286877204f439c0bda992279534d"
},
{
"m_Id": "98d152034592443684f55ca7208e55d2"
},
{
"m_Id": "85cc8f4215dc4b8d857e898944e16441"
},
{
"m_Id": "a46d503dff254b498add8f9d546e3d8e"
},
{
"m_Id": "66ddaeb75a5944c190738f5534ce02a8"
},
{
"m_Id": "3b794ecd390a4a6fbf6bc22b18c1d55a"
},
{
"m_Id": "bf36a6403ed84eaaa2817280653d3778"
}
]
},
"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": "4402622338b944aebf4428b4ad0cf738"
},
{
"m_Id": "ce5cc92dacd242838841b23f28baec57"
},
{
"m_Id": "625062f36d9847d88e3ed04403868ae4"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "047f5c93456d4d8e9958d1958a1ae88f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -579.0,
"y": 230.0,
"width": 100.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "ceacd05c15df4630b33155652f3621ff"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "20d5cbae90bc4e059310b92aba3c5752"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "1cc0845a1ed54f339578e4bc0a48edb6",
"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.Vector4MaterialSlot",
"m_ObjectId": "1cdcb4aa3e804e3bb3070d9a93ced4c6",
"m_Id": -427767828,
"m_DisplayName": "HDRP",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_HDRP",
"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": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "1d819c4c6cd54ec7bfd77c3049d81535"
}
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "20d5cbae90bc4e059310b92aba3c5752",
"m_Guid": {
"m_GuidSerialized": "9740cd55-6dc7-467d-8306-730845c1a32b"
},
"m_Name": "URP",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "URP",
"m_DefaultReferenceName": "_URP",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"r": 0.0,
"g": 1.0,
"b": 0.06817293167114258,
"a": 0.0
},
"isMainColor": false,
"m_ColorMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "24512b6b55274f8793f47608cb70c433",
"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": "92370f6b217d43d390ff4be969516a7d"
}
],
"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.PropertyNode",
"m_ObjectId": "2992dff7b17e47e6b584f66949cc2644",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -580.0,
"y": 298.0,
"width": 101.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "ebb1eb5592804fba952ce140ebd8d783"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "d1551d72b19049ae889a1250bfd2ed63"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "2d88d648d90f40bf91921db65cff662a",
"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": "318f7d482e9d47f3b07f2d33165e706b",
"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": "1cc0845a1ed54f339578e4bc0a48edb6"
}
],
"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.BlockNode",
"m_ObjectId": "3b794ecd390a4a6fbf6bc22b18c1d55a",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.NormalTS",
"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": "5d58000995f64df69597095dd9dfdf5f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.NormalTS"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "415c989992c54ce29e04c80521b5cd33",
"m_Id": 0,
"m_DisplayName": "Smoothness",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Smoothness",
"m_StageCapability": 2,
"m_Value": 0.5,
"m_DefaultValue": 0.5,
"m_Labels": []
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "4402622338b944aebf4428b4ad0cf738",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "d81d0d917bee4b469a1fe514ce59f6d1"
},
"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.Rendering.HighDefinition.ShaderGraph.HDLitData",
"m_ObjectId": "4a80b1003f274f94b06e370df44d29d9",
"m_RayTracing": false,
"m_MaterialType": 0,
"m_MaterialTypeMask": 2,
"m_RefractionModel": 0,
"m_SSSTransmission": true,
"m_EnergyConservingSpecular": true,
"m_ClearCoat": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4b26ccfd2d9948bdb96a4f5033d999be",
"m_Id": 0,
"m_DisplayName": "Metallic",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Metallic",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "4f4648de17eb4b86b2cf471c6904daff",
"m_Title": "Get the active RP",
"m_Content": "In the custom function node, we check for render-pipeline-specific keywords to determine the currently active pipeline.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -501.0,
"y": 101.0,
"width": 224.0,
"height": 100.0
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "5d58000995f64df69597095dd9dfdf5f",
"m_Id": 0,
"m_DisplayName": "Normal (Tangent Space)",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "NormalTS",
"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_Space": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "623346622ae4416d83e137c376f08118",
"m_Title": "Branch on Different RP",
"m_Content": "In some cases, we might want a shader graph to behave differently in different render pipelines.\nThis graph shows a way to determine the currently active render pipeline, using branch nodes that result in a green output when the project is in URP, blue in HDRP, and yellow in BiRP.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -984.0,
"y": -78.0,
"width": 240.66668701171876,
"height": 149.3333282470703
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "625062f36d9847d88e3ed04403868ae4",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "1d819c4c6cd54ec7bfd77c3049d81535"
},
"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.BlockNode",
"m_ObjectId": "66ddaeb75a5944c190738f5534ce02a8",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Occlusion",
"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": "e6597ddd901a4a539f214219d32d26cc"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Occlusion"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "7029286877204f439c0bda992279534d",
"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": "ced2481db6004ce88b4ec3eaf4eb1516"
}
],
"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.BlockNode",
"m_ObjectId": "85cc8f4215dc4b8d857e898944e16441",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.BentNormal",
"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": "e8aca44b3f364a8995042e901a8a36a4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.BentNormal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "92370f6b217d43d390ff4be969516a7d",
"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.Vector4MaterialSlot",
"m_ObjectId": "944907d74b524c12b90c287f1992f71a",
"m_Id": 0,
"m_DisplayName": "HDRP",
"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.BlockNode",
"m_ObjectId": "98d152034592443684f55ca7208e55d2",
"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": "e140d51ab8264a6081f27328cd0f21dd"
}
],
"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": "a46d503dff254b498add8f9d546e3d8e",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Smoothness",
"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": "415c989992c54ce29e04c80521b5cd33"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Smoothness"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "a8c1283c35754930a11adc868252b8e9",
"m_Id": 1798337600,
"m_DisplayName": "BIRP",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_BIRP",
"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.Rendering.HighDefinition.ShaderGraph.HDLitSubTarget",
"m_ObjectId": "ad8467f4b27847ec9bf662bc575d792d"
}
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "b06befb688be4bbc9dca73fe6f9aa1ca",
"m_Guid": {
"m_GuidSerialized": "b6ffc987-04fa-43c5-a033-dc3bb032fe7d"
},
"m_Name": "HDRP",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "HDRP",
"m_DefaultReferenceName": "_HDRP",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"r": 0.0,
"g": 0.3752269744873047,
"b": 1.0,
"a": 0.0
},
"isMainColor": false,
"m_ColorMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "b128e263545d40fb8e22a422277db092",
"m_Id": 788036408,
"m_DisplayName": "URP",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_URP",
"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.PropertyNode",
"m_ObjectId": "b8b04eed67b341a68751e7c5296bb059",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -587.0,
"y": 264.0,
"width": 108.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "944907d74b524c12b90c287f1992f71a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b06befb688be4bbc9dca73fe6f9aa1ca"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "bf36a6403ed84eaaa2817280653d3778",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Metallic",
"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": "4b26ccfd2d9948bdb96a4f5033d999be"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Metallic"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "c31659fc6b4641b8899b6944c4699543",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "20d5cbae90bc4e059310b92aba3c5752"
},
{
"m_Id": "b06befb688be4bbc9dca73fe6f9aa1ca"
},
{
"m_Id": "d1551d72b19049ae889a1250bfd2ed63"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "c589cdc1faca471aa592487c393a8db3",
"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.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "ce5cc92dacd242838841b23f28baec57",
"m_ActiveSubTarget": {
"m_Id": "ad8467f4b27847ec9bf662bc575d792d"
},
"m_Datas": [
{
"m_Id": "4a80b1003f274f94b06e370df44d29d9"
},
{
"m_Id": "c589cdc1faca471aa592487c393a8db3"
},
{
"m_Id": "d36dfadbaa93440ab37f47d26011b89e"
},
{
"m_Id": "dd8f5bcd71244109af1bca20a3c0d753"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "ceacd05c15df4630b33155652f3621ff",
"m_Id": 0,
"m_DisplayName": "URP",
"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": "ced2481db6004ce88b4ec3eaf4eb1516",
"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": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "d1551d72b19049ae889a1250bfd2ed63",
"m_Guid": {
"m_GuidSerialized": "d6758e0d-b818-4041-acab-78b1885c06f6"
},
"m_Name": "BiRP",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "BiRP",
"m_DefaultReferenceName": "_BiRP",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"r": 1.0,
"g": 0.8361742496490479,
"b": 0.0,
"a": 0.0
},
"isMainColor": false,
"m_ColorMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.LightingData",
"m_ObjectId": "d36dfadbaa93440ab37f47d26011b89e",
"m_NormalDropOffSpace": 0,
"m_BlendPreserveSpecular": true,
"m_ReceiveDecals": true,
"m_ReceiveSSR": true,
"m_ReceiveSSRTransparent": false,
"m_SpecularAA": false,
"m_SpecularOcclusionMode": 1,
"m_OverrideBakedGI": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInLitSubTarget",
"m_ObjectId": "d81d0d917bee4b469a1fe514ce59f6d1",
"m_WorkflowMode": 1,
"m_NormalDropOffSpace": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "d8fca6616a0a4df18dd4da510e9fa4bb",
"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": "de30ea76eca34c3f8fa279d754e76685"
}
],
"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": "da9c3ed0f9124e3c8dcc4eacd89b29bd",
"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": "2d88d648d90f40bf91921db65cff662a"
}
],
"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.SystemData",
"m_ObjectId": "dd8f5bcd71244109af1bca20a3c0d753",
"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_ExcludeFromTUAndAA": 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.PositionMaterialSlot",
"m_ObjectId": "de30ea76eca34c3f8fa279d754e76685",
"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.Vector1MaterialSlot",
"m_ObjectId": "e140d51ab8264a6081f27328cd0f21dd",
"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.Vector1MaterialSlot",
"m_ObjectId": "e6597ddd901a4a539f214219d32d26cc",
"m_Id": 0,
"m_DisplayName": "Ambient Occlusion",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Occlusion",
"m_StageCapability": 2,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "e8aca44b3f364a8995042e901a8a36a4",
"m_Id": 0,
"m_DisplayName": "Bent Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BentNormal",
"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_Space": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "ebb1eb5592804fba952ce140ebd8d783",
"m_Id": 0,
"m_DisplayName": "BiRP",
"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.SubGraphNode",
"m_ObjectId": "f0d59b5c08514563a3677064c73c737e",
"m_Group": {
"m_Id": ""
},
"m_Name": "BranchOnRP",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -461.0,
"y": 200.0,
"width": 153.0,
"height": 143.0
}
},
"m_Slots": [
{
"m_Id": "b128e263545d40fb8e22a422277db092"
},
{
"m_Id": "1cdcb4aa3e804e3bb3070d9a93ced4c6"
},
{
"m_Id": "a8c1283c35754930a11adc868252b8e9"
},
{
"m_Id": "f3e3c1e1accc48a5af1e79146e623e76"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"2b9ca49b870287041abd8272a364b6c0\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"d1b6d73f-9b9c-48a4-a5f9-73533ece99e4",
"0daf393c-6ff1-4225-b757-cba396c6c10a",
"d61847e6-6294-4220-80b3-7877b2e27088"
],
"m_PropertyIds": [
788036408,
-427767828,
1798337600
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "f3e3c1e1accc48a5af1e79146e623e76",
"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_Labels": []
}