349 lines
9.2 KiB
Plaintext
349 lines
9.2 KiB
Plaintext
{
|
|
"FormatVersion": 3,
|
|
"Id": "9323e32f-078c-4156-941b-203f4c265ff5"/*RaymarchField*/,
|
|
"Description": "Renders the connected shader graph SDF.\n\nIt uses the following [SetMaterial], [SetFog] and [PointLight] override. \nIt will correctly initialize the depth buffer so the output can be blended with other geometry like meshes.\n\nPlease check out the examples.\n\nAlso known as DrawField, DrawSDF, DrawRaymarchField, RaymarchSDF",
|
|
"SymbolTags": "1",
|
|
"InputUis": [
|
|
{
|
|
"InputId": "0700d5cb-6a1e-43ad-b7fb-b9b7b1415584"/*WriteDepth*/,
|
|
"Position": {
|
|
"X": 889.58496,
|
|
"Y": 342.71463
|
|
}
|
|
},
|
|
{
|
|
"InputId": "0b4d60de-261f-4dbf-ad44-6395cda3a496"/*MinDistance*/,
|
|
"Position": {
|
|
"X": 104.6602,
|
|
"Y": 720.8185
|
|
},
|
|
"Description": "The distance threshold when the raymarching is marked as completed.",
|
|
"Min": 0.0,
|
|
"Max": 0.01,
|
|
"Scale": 0.001
|
|
},
|
|
{
|
|
"InputId": "1251368b-f8f4-4210-be1e-4d05223caf21"/*DistToColor*/,
|
|
"Position": {
|
|
"X": 104.6602,
|
|
"Y": 1175.8185
|
|
},
|
|
"Description": "A minor factor that can help to reduce edge artifacts for compositing into the scene."
|
|
},
|
|
{
|
|
"InputId": "3148d927-8779-47ab-9e0a-fa63206f3002"/*MaxSteps*/,
|
|
"Position": {
|
|
"X": 104.6602,
|
|
"Y": 650.8185
|
|
},
|
|
"GroupTitle": "Quality",
|
|
"Description": "The number of raymarching steps. This has a major impact on the quality and performance. Normal values are between 50 and 150.\n",
|
|
"Min": 0.0,
|
|
"Max": 150.0,
|
|
"ClampMin": true
|
|
},
|
|
{
|
|
"InputId": "340ca675-9356-4548-ba64-732181bebeef"/*SdfField*/,
|
|
"Relevancy": "Required",
|
|
"Position": {
|
|
"X": 574.1129,
|
|
"Y": 382.27707
|
|
}
|
|
},
|
|
{
|
|
"InputId": "3a23730d-09b9-44bd-84b7-c252dd83e1f9"/*UVMapping*/,
|
|
"Position": {
|
|
"X": 261.91522,
|
|
"Y": 491.31775
|
|
},
|
|
"Description": "Provides various options to generate UVs for the field."
|
|
},
|
|
{
|
|
"InputId": "561768f6-adf6-4d3d-a36a-20b6f35ff151"/*StepSize*/,
|
|
"Position": {
|
|
"X": 104.6602,
|
|
"Y": 685.8185
|
|
},
|
|
"Description": "An initial scaling factor. Lowering this can be useful to reduce artifacts caused by invalid Lipschitz continuities (e.g. by applying noise).",
|
|
"Min": 0.9,
|
|
"Max": 1.1
|
|
},
|
|
{
|
|
"InputId": "89218016-a0ca-4150-95d4-23f415cf07f0"/*TextureScale*/,
|
|
"Position": {
|
|
"X": 104.6602,
|
|
"Y": 1070.8182
|
|
},
|
|
"Description": "Scale texture defined by the [SetMaterial]."
|
|
},
|
|
{
|
|
"InputId": "8fc6f727-1eac-42f4-9c4f-525cba1f4bb1"/*SpecularAA*/,
|
|
"Position": {
|
|
"X": 104.66019,
|
|
"Y": 1210.8185
|
|
},
|
|
"Min": 0.0,
|
|
"Max": 5.0,
|
|
"ClampMin": true
|
|
},
|
|
{
|
|
"InputId": "9715075b-b02b-4290-9332-9bbfe67933f2"/*Color*/,
|
|
"Position": {
|
|
"X": -486.14932,
|
|
"Y": 794.4215
|
|
},
|
|
"Description": "A color multiplier. You could also use [SetSDFMaterial] or [SetMaterial] for this."
|
|
},
|
|
{
|
|
"InputId": "adeb374b-bce0-4af2-867b-efb3ce6289c9"/*MaxDistance*/,
|
|
"Position": {
|
|
"X": 104.66019,
|
|
"Y": 755.8185
|
|
},
|
|
"Description": "A threshold after which the raymarching is aborted.",
|
|
"Min": 0.0,
|
|
"Max": 1000.0
|
|
},
|
|
{
|
|
"InputId": "e3a85c27-b94c-4e77-b0c2-4644cd3a22d4"/*AmbientOcclusion*/,
|
|
"Position": {
|
|
"X": -35.339844,
|
|
"Y": 930.8185
|
|
},
|
|
"Description": "Will apply an ambient occlusion color depending on the AO Distance parameter.\nYou can use the alpha channel to control the intensity.\nAlso try light colors to add some kind of inner glow effect.",
|
|
"AddPadding": "True"
|
|
},
|
|
{
|
|
"InputId": "f14e7a2f-cd4e-4399-b137-ea0b87c7dfbd"/*NormalSamplingD*/,
|
|
"Position": {
|
|
"X": 104.66019,
|
|
"Y": 1140.8185
|
|
},
|
|
"Description": "Defines the look-up distance when calculating the surface normal. This controls how sharp objects appear.\nToo small values will cause artifacts. Larger values will apply some sort of smoothing effect.",
|
|
"AddPadding": "True",
|
|
"Min": 0.0,
|
|
"Max": 0.1
|
|
},
|
|
{
|
|
"InputId": "ffb73f4d-6d24-4f4c-866b-5bdd6f876e6f"/*AoDistance*/,
|
|
"Position": {
|
|
"X": 104.66019,
|
|
"Y": 1105.8182
|
|
},
|
|
"GroupTitle": "Appearance",
|
|
"Description": "Controls the distance and intensity of the Ambient Occlusion."
|
|
}
|
|
],
|
|
"SymbolChildUis": [
|
|
{
|
|
"ChildId": "04a18d89-8990-464a-8ecc-0f603b44b21d"/*SetPixelAndVertexShaderStage*/,
|
|
"Position": {
|
|
"X": 992.9934,
|
|
"Y": 508.54218
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "05e4ebe9-4a6a-4d64-a941-9a496839cc68"/*InputAssemblerStage*/,
|
|
"Position": {
|
|
"X": 1350.3239,
|
|
"Y": 609.25226
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "0667216d-478f-4854-a1e6-6b311b598306"/*PickStringPart*/,
|
|
"Position": {
|
|
"X": 401.91522,
|
|
"Y": 456.31775
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "09f45b55-216a-4b5c-bc33-05f7308923dc"/*Rasterizer*/,
|
|
"Position": {
|
|
"X": 1350.3239,
|
|
"Y": 644.25226
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "1d29ab95-330a-48d5-a0f3-76ce20ba669b"/*Draw*/,
|
|
"Position": {
|
|
"X": 1350.3239,
|
|
"Y": 784.25214
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "1e4f59e7-18e4-40b0-b8cf-f18f2b5a346d"/*BlendOnWhites*/,
|
|
"Position": {
|
|
"X": 889.58496,
|
|
"Y": 272.71463
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "2f96c1fb-bf32-4e73-8be2-879a5e0578cc"/*SrvFromTexture2d*/,
|
|
"Position": {
|
|
"X": 852.9934,
|
|
"Y": 963.5422
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "3e87843d-7eb1-414e-9857-0e8db741ac3b"/*SamplerState*/,
|
|
"Position": {
|
|
"X": 852.9934,
|
|
"Y": 1068.5422
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "41605222-0a75-4d34-a466-0aa5e3c5cb91"/*ReadFile*/,
|
|
"Position": {
|
|
"X": 237.25018,
|
|
"Y": 389.74982
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "54c99ee5-78cc-4825-a28b-e4024bb6679d"/*Execute*/,
|
|
"Position": {
|
|
"X": 1490.3239,
|
|
"Y": 574.2522
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "6fab49c8-3846-4d35-817f-40c2dc58be67"/*GetPbrParameters*/,
|
|
"Position": {
|
|
"X": 577.4992,
|
|
"Y": 753.232
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "73b6c36a-91b1-4895-8712-d2d2cb77cf1e"/*clampedSampler*/,
|
|
"Position": {
|
|
"X": 852.9934,
|
|
"Y": 1033.5422
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "76868d26-3617-45f2-b272-1b595539d353"/*PixelShaderFromSource*/,
|
|
"Position": {
|
|
"X": 852.9934,
|
|
"Y": 543.5422
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "78c0ec94-be6d-4c71-943c-5e43905ce3b8"/*RasterizerState*/,
|
|
"Position": {
|
|
"X": 1210.3239,
|
|
"Y": 644.25226
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "85b077d8-bcb1-4b8a-a04b-58c4d0a5abca"/*DepthStencilState*/,
|
|
"Position": {
|
|
"X": 771.728,
|
|
"Y": 1310.7704
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "963ef259-cf61-4a33-bbcb-479da9d729c5"/*BlendColors*/,
|
|
"Position": {
|
|
"X": -346.14932,
|
|
"Y": 794.4215
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "a1c062cb-6c68-43c5-9169-610bb57773eb"/*FloatsToBuffer*/,
|
|
"Style": "Resizable",
|
|
"Size": {
|
|
"X": 53.72168,
|
|
"Y": 751.5494
|
|
},
|
|
"Position": {
|
|
"X": 244.66019,
|
|
"Y": 615.8185
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "a6abf7ea-3d55-4136-ad8e-c25828bb6f0c"/*BlendState*/,
|
|
"Position": {
|
|
"X": 1029.585,
|
|
"Y": 272.71463
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "b4daa0f0-428e-4c3a-9b80-16b884d430a2"/*VertexShader*/,
|
|
"Position": {
|
|
"X": 992.9934,
|
|
"Y": 473.54218
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "b8773240-5218-4217-8475-975199bc0235"/*GenerateShaderGraphCode*/,
|
|
"Position": {
|
|
"X": 574.1129,
|
|
"Y": 417.27707
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "bbf2f626-f317-46e9-b551-e7e257f81205"/*DepthStencilState*/,
|
|
"Position": {
|
|
"X": 1029.585,
|
|
"Y": 307.71463
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "d211bef5-f50f-447f-aa59-fd771fb0115d"/*Vector4Components*/,
|
|
"Position": {
|
|
"X": 104.66019,
|
|
"Y": 790.8185
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "db0daf0f-2e6b-4252-86f6-cb6c882bf3ed"/*Vector4Components*/,
|
|
"Position": {
|
|
"X": 104.66019,
|
|
"Y": 930.8185
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "e39b8798-65df-44f0-9cdb-6e0a151f6c21"/*_TransformsCBuffer*/,
|
|
"Position": {
|
|
"X": 852.9934,
|
|
"Y": 648.5422
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "eb67bccc-023e-4816-942f-03500c49420e"/*ContextCBuffers*/,
|
|
"Position": {
|
|
"X": 852.9934,
|
|
"Y": 683.5422
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "eca458f1-7e62-479e-aae9-c439199e8dd9"/*OutputMergerStage*/,
|
|
"Position": {
|
|
"X": 1169.585,
|
|
"Y": 272.71463
|
|
}
|
|
},
|
|
{
|
|
"ChildId": "fe2fd76e-15eb-4ea0-9356-042577214232"/*GetForegroundColor*/,
|
|
"Position": {
|
|
"X": -486.14932,
|
|
"Y": 829.4215
|
|
}
|
|
}
|
|
],
|
|
"OutputUis": [
|
|
{
|
|
"OutputId": "e178ef02-c9ac-48cd-a8cb-df3aec5941bb"/*DrawCommand*/,
|
|
"Position": {
|
|
"X": 2080.0752,
|
|
"Y": 501.30573
|
|
}
|
|
},
|
|
{
|
|
"OutputId": "8e293517-dc6f-4b1f-9710-069420f9da09"/*ShaderCode*/,
|
|
"Position": {
|
|
"X": 2065.2878,
|
|
"Y": 819.34204
|
|
}
|
|
}
|
|
]
|
|
} |