Files
2026-07-13 13:13:17 +08:00

209 lines
5.4 KiB
Plaintext

{
"FormatVersion": 3,
"Id": "53d3eebd-4ead-4965-b26d-10a8bbd48182"/*DepthOfField*/,
"Description": "Adds a depth of field effect.\n\nHint: Use a [Locator] and its DistanceToCamera output to use automatic focus distance.\n\nUseful Ops for a PostFX Pipeline: [MotionBlur] [DepthOfField] [ChromaticAberration] [Glow] [Grain] [Blur]",
"SymbolTags": "1",
"InputUis": [
{
"InputId": "3655d507-96b3-4ded-9cef-886ea703ca89"/*Amount*/,
"Position": {
"X": 386.16498,
"Y": -133.21191
},
"Description": "Controls the intensity of the blur.\n\nAreas that are further away from the focus point are proportionally more blurred.",
"AddPadding": "True",
"Min": 0.0,
"Max": 20.0
},
{
"InputId": "40de51d8-91dd-461d-a7be-d4096313eec2"/*NearFarRange*/,
"Position": {
"X": 206.6908,
"Y": -757.60004
},
"Description": "Defines the near and far range of the scene which is affected by the effect."
},
{
"InputId": "493c40f0-21e6-466b-afc2-eff570229c86"/*MaxSamples*/,
"Position": {
"X": 246.16498,
"Y": -28.211914
},
"Description": "Controls the fidelity of the effect.\nHigher numbers create smoother results at the cost of rendering speed.",
"AddPadding": "True"
},
{
"InputId": "97b76d02-e735-4e93-88ad-5c9b8766a63c"/*FocusDistance*/,
"Position": {
"X": 246.16498,
"Y": -168.21191
},
"Description": "Controls how far away from the camera the area is which is not affected by the blur.\n\nProTip: Use a higher \"Amount\" to make it easier to identify the area of your scene that are in focus. Or use a [Locator] to have a visual helper to define the FocusPoint."
},
{
"InputId": "bc1685a8-0a92-460f-85ca-7f096db965f0"/*TextureBuffer*/,
"Relevancy": "Required",
"Position": {
"X": -153.90164,
"Y": -606.87604
}
},
{
"InputId": "c2e7ebf7-5056-4380-9a9f-850b350804c9"/*DepthBuffer*/,
"Relevancy": "Required",
"Position": {
"X": 72.37915,
"Y": -432.52582
}
}
],
"SymbolChildUis": [
{
"ChildId": "08a2f7ff-75ba-4205-ac81-799ebf89d715"/*Execute*/,
"Position": {
"X": 1417.9734,
"Y": -746.55853
}
},
{
"ChildId": "10fa6855-40c2-4e76-a59d-0d351b510dd8"/*_ComputeDepthToLinear*/,
"Position": {
"X": 1180.5254,
"Y": -749.1831
}
},
{
"ChildId": "12d640da-9b93-4441-9259-47c1b73c98f6"/*BlurSize*/,
"Position": {
"X": 386.16498,
"Y": -98.211914
}
},
{
"ChildId": "12ff8793-b01c-4657-9de6-771c525abecc"/*ExecuteTextureUpdate*/,
"Position": {
"X": 1417.9734,
"Y": -676.55853
}
},
{
"ChildId": "13f2e044-cc46-435b-a43b-25f9e8b30e61"/*ComputeShaderStage*/,
"Style": "Resizable",
"Size": {
"X": 118.20774,
"Y": 370.8352
},
"Position": {
"X": 1197.717,
"Y": -411.68265
}
},
{
"ChildId": "22863174-3373-4d15-82c0-3b3d1fba4b5e"/*SrvFromTexture2d*/,
"Position": {
"X": 1057.717,
"Y": -271.68265
}
},
{
"ChildId": "2928b9be-0f22-4dcf-a1f9-a3ad02524b62"/*GetTextureSize*/,
"Position": {
"X": 92.5242,
"Y": -508.26868
}
},
{
"ChildId": "5556afbe-7d4a-4ad4-b8d7-39eb5355f274"/*IntToFloat*/,
"Position": {
"X": 386.16498,
"Y": -28.211914
}
},
{
"ChildId": "69fb303a-8c89-43d6-9f90-a24d78141de8"/*FloatsToBuffer*/,
"Position": {
"X": 526.165,
"Y": -273.2119
}
},
{
"ChildId": "956fa559-a8e2-4650-9c26-a17af65e4f62"/*CalcInt2DispatchCount*/,
"Position": {
"X": 749.5896,
"Y": -510.25537
}
},
{
"ChildId": "a80a1063-74d8-48da-9ba3-9d60fe70e631"/*UavFromTexture2d*/,
"Position": {
"X": 1057.717,
"Y": -236.68265
}
},
{
"ChildId": "a8300bda-2b36-42c2-99c3-9fc160794f3c"/*SamplerState*/,
"Position": {
"X": 1057.717,
"Y": -201.68265
}
},
{
"ChildId": "cab20538-64c5-4057-954f-8bde7cfdf2d9"/*Output*/,
"Position": {
"X": 674.1571,
"Y": -586.2302
}
},
{
"ChildId": "cb5a5789-f357-4ffc-a4a3-aa4306212d95"/*Multiply*/,
"Position": {
"X": 386.16498,
"Y": -168.21191
}
},
{
"ChildId": "d8b1845a-1092-4a90-ab60-2b6b87a5c22d"/*Quality*/,
"Position": {
"X": 386.16498,
"Y": -63.211914
}
},
{
"ChildId": "dc3fa637-da4e-4df5-ac50-913e732d3f47"/*Vector2Components*/,
"Position": {
"X": 206.6908,
"Y": -722.60004
}
},
{
"ChildId": "e38bd592-f2d2-4174-ae4e-3055367f8707"/*SrvFromTexture2d*/,
"Position": {
"X": 1057.717,
"Y": -306.68265
}
},
{
"ChildId": "e532ea8f-b9bb-4abc-ad86-75bb1553a244"/*Linear Depth*/,
"Position": {
"X": 674.17035,
"Y": -643.97046
}
},
{
"ChildId": "f6c88a1e-d7bc-4ef4-b67c-539828f15e8c"/*ComputeShader*/,
"Position": {
"X": 534.90454,
"Y": -449.22656
}
}
],
"OutputUis": [
{
"OutputId": "a54cc25b-9ea2-4012-b462-16c565718cf8"/*TextureOut*/,
"Position": {
"X": 1417.9734,
"Y": -606.55853
}
}
]
}