Files
Ipseity-Demo/Assets/_Content/Shaders/Postprocess/BlurFullscreen.shadergraph
T

553 lines
13 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "bad98fc4fdb44f30940907c69e065bf7",
"m_Properties": [
{
"m_Id": "a50e4944b7f14398b3018f3c3d627822"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "b9782225abb9483c85024af7c4b9a57c"
}
],
"m_Nodes": [
{
"m_Id": "0a9843ed20a94d59902f2d26c002ed64"
},
{
"m_Id": "72a96e3c01214831bec7cea6fa437e31"
},
{
"m_Id": "e372fee5cae141e88964209e505cfe9b"
},
{
"m_Id": "5b3e329ec4094ae4bc2abb0232536617"
},
{
"m_Id": "acd4a53e615644308e5396077e64ea1f"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5b3e329ec4094ae4bc2abb0232536617"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e372fee5cae141e88964209e505cfe9b"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "acd4a53e615644308e5396077e64ea1f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e372fee5cae141e88964209e505cfe9b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e372fee5cae141e88964209e505cfe9b"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0a9843ed20a94d59902f2d26c002ed64"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 7.999984264373779,
"y": 59.999996185302737
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": -8.344650268554688e-7,
"y": 203.0
},
"m_Blocks": [
{
"m_Id": "0a9843ed20a94d59902f2d26c002ed64"
},
{
"m_Id": "72a96e3c01214831bec7cea6fa437e31"
}
]
},
"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": "721edf9773f04429aa73dba209212df6"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "0a9843ed20a94d59902f2d26c002ed64",
"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": "744ba17487394e16b7267fc8861ca742"
}
],
"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.BooleanMaterialSlot",
"m_ObjectId": "1b359f2fdaf64a209b6b5ed1f9c632f5",
"m_Id": 2,
"m_DisplayName": "IsVertical",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "IsVertical",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.Fullscreen.ShaderGraph.FullscreenData",
"m_ObjectId": "3bb7351cc39844cb95efd642c32186d1",
"m_Version": 0,
"m_fullscreenMode": 0,
"m_BlendMode": 0,
"m_SrcColorBlendMode": 0,
"m_DstColorBlendMode": 1,
"m_ColorBlendOperation": 0,
"m_SrcAlphaBlendMode": 0,
"m_DstAlphaBlendMode": 1,
"m_AlphaBlendOperation": 0,
"m_EnableStencil": false,
"m_StencilReference": 0,
"m_StencilReadMask": 255,
"m_StencilWriteMask": 255,
"m_StencilCompareFunction": 8,
"m_StencilPassOperation": 0,
"m_StencilFailOperation": 0,
"m_StencilDepthFailOperation": 0,
"m_DepthWrite": false,
"m_depthWriteMode": 0,
"m_AllowMaterialOverride": false,
"m_DepthTestMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "5b3e329ec4094ae4bc2abb0232536617",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -472.9999694824219,
"y": 330.0,
"width": 125.0,
"height": 34.000030517578128
}
},
"m_Slots": [
{
"m_Id": "b17cccf2792142d5a394e1ea5badc029"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "a50e4944b7f14398b3018f3c3d627822"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalFullscreenSubTarget",
"m_ObjectId": "67ffc5ea38334198b53c195bbb22a21e"
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "721edf9773f04429aa73dba209212df6",
"m_Datas": [
{
"m_Id": "3bb7351cc39844cb95efd642c32186d1"
}
],
"m_ActiveSubTarget": {
"m_Id": "67ffc5ea38334198b53c195bbb22a21e"
},
"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.BlockNode",
"m_ObjectId": "72a96e3c01214831bec7cea6fa437e31",
"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": "8789342de42c4bc3ae71d086329d5e3e"
}
],
"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": "744ba17487394e16b7267fc8861ca742",
"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.Vector3MaterialSlot",
"m_ObjectId": "8010e36d947b4c6dae41cf0131705a5c",
"m_Id": 3,
"m_DisplayName": "Output",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Output",
"m_StageCapability": 3,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8789342de42c4bc3ae71d086329d5e3e",
"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.Internal.BooleanShaderProperty",
"m_ObjectId": "a50e4944b7f14398b3018f3c3d627822",
"m_Guid": {
"m_GuidSerialized": "abb0ee7b-effe-42ec-84de-a0971412938d"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "IsVertical",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "IsVertical",
"m_DefaultReferenceName": "_IsVertical",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": true,
"hlslDeclarationOverride": 2,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionNode",
"m_ObjectId": "acd4a53e615644308e5396077e64ea1f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Screen Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -492.99993896484377,
"y": 119.99998474121094,
"width": 144.99996948242188,
"height": 128.0
}
},
"m_Slots": [
{
"m_Id": "be3a5e50a8c94b92a979f94a841c5764"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_ScreenSpaceType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "b17cccf2792142d5a394e1ea5badc029",
"m_Id": 0,
"m_DisplayName": "IsVertical",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "b9782225abb9483c85024af7c4b9a57c",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "a50e4944b7f14398b3018f3c3d627822"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "be3a5e50a8c94b92a979f94a841c5764",
"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.Vector2MaterialSlot",
"m_ObjectId": "d2638a2b712c4cdaba6fd90e89969648",
"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_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "e372fee5cae141e88964209e505cfe9b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Blur (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -305.9999694824219,
"y": 200.00003051757813,
"width": 193.00003051757813,
"height": 125.0
}
},
"m_Slots": [
{
"m_Id": "d2638a2b712c4cdaba6fd90e89969648"
},
{
"m_Id": "1b359f2fdaf64a209b6b5ed1f9c632f5"
},
{
"m_Id": "8010e36d947b4c6dae41cf0131705a5c"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "Blur",
"m_FunctionSource": "9ee8e88c9f1853d42b4be28b04cb1a57",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}