Files
stas-barecky/Library/PackageCache/com.unity.render-pipelines.universal@66e99ffa09c7/Editor/ShaderGraph/GraphTemplates/UITKBasicTemplate.shadergraph
2026-01-08 20:43:08 +05:00

858 lines
19 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "f06d002be971498dbd302acc4a0e8662",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "d4ab07b68079447c8ba86e3bbb142376"
}
],
"m_Nodes": [
{
"m_Id": "b3cec82d1442444a9a44ce206679c348"
},
{
"m_Id": "7c2cafcbcbbf4cfeb93c74e354554e52"
},
{
"m_Id": "c256e59e8cb64792b231290630c5fd63"
},
{
"m_Id": "79baf5a6335f4a3491561cd3a29a0979"
},
{
"m_Id": "6be019e3a2714cb78d1d03fad51fbf3f"
},
{
"m_Id": "a16f3e21a464413885f91c1d63fed6ad"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6be019e3a2714cb78d1d03fad51fbf3f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a16f3e21a464413885f91c1d63fed6ad"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "79baf5a6335f4a3491561cd3a29a0979"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a16f3e21a464413885f91c1d63fed6ad"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a16f3e21a464413885f91c1d63fed6ad"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c256e59e8cb64792b231290630c5fd63"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c256e59e8cb64792b231290630c5fd63"
},
"m_SlotId": 5
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b3cec82d1442444a9a44ce206679c348"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c256e59e8cb64792b231290630c5fd63"
},
"m_SlotId": 6
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7c2cafcbcbbf4cfeb93c74e354554e52"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 108.5714111328125
},
"m_Blocks": [
{
"m_Id": "b3cec82d1442444a9a44ce206679c348"
},
{
"m_Id": "7c2cafcbcbbf4cfeb93c74e354554e52"
}
]
},
"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": "e3a1001ce99d40d6b8ad68ba5ee560bb"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DefaultVector4MaterialSlot",
"m_ObjectId": "05e9adcde2564d5d93a33e30641bd6e5",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"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_DefaultLabel": "Default"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUISubTarget",
"m_ObjectId": "09f3abfd72b04b7589c12436e5bdc320"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DefaultVector4MaterialSlot",
"m_ObjectId": "1085fe2afb304c80b3677f633c65934c",
"m_Id": 4,
"m_DisplayName": "Gradient",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Gradient",
"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_DefaultLabel": "Default"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "10d4b05ee7e7426fb202fc57163d11e4",
"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.Rendering.UITK.ShaderGraph.UIData",
"m_ObjectId": "1861c6793e084089ab69cba2d9624170",
"m_Version": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "210f99586f184a459b8fd31bf6626e6e",
"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_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "25bf4fd5314b4a8886d92a97853be55b",
"m_Id": 5,
"m_DisplayName": "Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"m_StageCapability": 2,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0
},
"m_DefaultValue": {
"x": 1.0,
"y": 1.0,
"z": 1.0
},
"m_Labels": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 1.0,
"g": 1.0,
"b": 1.0,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "5d29897107fa4c218746d5b49143da34",
"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.DefaultSolidNode",
"m_ObjectId": "6be019e3a2714cb78d1d03fad51fbf3f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Default Solid",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -656.0000610351563,
"y": 109.00001525878906,
"width": 119.00006103515625,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "f7d571df2b98440dae447af1ea4d09c3"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.ColorNode",
"m_ObjectId": "79baf5a6335f4a3491561cd3a29a0979",
"m_Group": {
"m_Id": ""
},
"m_Name": "Color",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -745.0,
"y": 204.00001525878907,
"width": 208.0,
"height": 125.00001525878906
}
},
"m_Slots": [
{
"m_Id": "951615e495d84655965bf27518602d88"
}
],
"synonyms": [
"rgba"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Color": {
"color": {
"r": 0.9353099465370178,
"g": 0.21050764620304109,
"b": 0.21050764620304109,
"a": 0.4901960790157318
},
"mode": 0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "7c2cafcbcbbf4cfeb93c74e354554e52",
"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": "210f99586f184a459b8fd31bf6626e6e"
}
],
"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.ColorRGBMaterialSlot",
"m_ObjectId": "7d044186c19f4d418bf41d0bbdd18759",
"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.5,
"y": 0.5,
"z": 0.5
},
"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": "951615e495d84655965bf27518602d88",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "a16f3e21a464413885f91c1d63fed6ad",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -483.00006103515627,
"y": 109.00001525878906,
"width": 130.00003051757813,
"height": 118.00001525878906
}
},
"m_Slots": [
{
"m_Id": "a8352de677df459e93d936d5fd1605fe"
},
{
"m_Id": "10d4b05ee7e7426fb202fc57163d11e4"
},
{
"m_Id": "5d29897107fa4c218746d5b49143da34"
}
],
"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.DefaultVector4MaterialSlot",
"m_ObjectId": "a56ee7d1591945b0b5c4f497694d571c",
"m_Id": 3,
"m_DisplayName": "Bitmap Text",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Bitmap Text",
"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_DefaultLabel": "Default"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "a8352de677df459e93d936d5fd1605fe",
"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.DefaultVector4MaterialSlot",
"m_ObjectId": "b13657ff123b4101914a0c8c48c0409a",
"m_Id": 0,
"m_DisplayName": "Solid",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Solid",
"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_DefaultLabel": "Default"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "b3cec82d1442444a9a44ce206679c348",
"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": "7d044186c19f4d418bf41d0bbdd18759"
}
],
"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": "b78e1223ad934a6492c1a2ceffe205b9",
"m_Id": 6,
"m_DisplayName": "Alpha",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Alpha",
"m_StageCapability": 2,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DefaultVector4MaterialSlot",
"m_ObjectId": "c0cbaa21f6404efab6eead9e08da2c63",
"m_Id": 2,
"m_DisplayName": "SDF Text",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "SDF Text",
"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_DefaultLabel": "Default"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.RenderTypeBranchNode",
"m_ObjectId": "c256e59e8cb64792b231290630c5fd63",
"m_Group": {
"m_Id": ""
},
"m_Name": "Render Type Branch",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -236.5714111328125,
"y": 108.57144165039063,
"width": 204.0,
"height": 174.28570556640626
}
},
"m_Slots": [
{
"m_Id": "b13657ff123b4101914a0c8c48c0409a"
},
{
"m_Id": "05e9adcde2564d5d93a33e30641bd6e5"
},
{
"m_Id": "c0cbaa21f6404efab6eead9e08da2c63"
},
{
"m_Id": "a56ee7d1591945b0b5c4f497694d571c"
},
{
"m_Id": "1085fe2afb304c80b3677f633c65934c"
},
{
"m_Id": "25bf4fd5314b4a8886d92a97853be55b"
},
{
"m_Id": "b78e1223ad934a6492c1a2ceffe205b9"
}
],
"synonyms": [
"toggle",
"uber"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "d4ab07b68079447c8ba86e3bbb142376",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "e3a1001ce99d40d6b8ad68ba5ee560bb",
"m_Datas": [
{
"m_Id": "1861c6793e084089ab69cba2d9624170"
}
],
"m_ActiveSubTarget": {
"m_Id": "09f3abfd72b04b7589c12436e5bdc320"
},
"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_Sort3Das2DCompatible": false,
"m_AdditionalMotionVectorMode": 0,
"m_AlembicMotionVectors": false,
"m_SupportsLODCrossFade": false,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBAMaterialSlot",
"m_ObjectId": "f7d571df2b98440dae447af1ea4d09c3",
"m_Id": 0,
"m_DisplayName": "Solid",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Solid",
"m_StageCapability": 2,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 1.0,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_Labels": []
}