{ "FormatVersion": 3, "Id": "4af7bbd1-9231-4ef3-bb7a-1d643c7d16cf"/*SdfReflectionLinePoints*/, "Inputs": [ { "Id": "0d73ebd5-c76b-46c2-b15f-96ff2ec498bd"/*MaxReflectionCount*/, "DefaultValue": 2 }, { "Id": "403f823d-043b-4009-b00f-e90aa154f30f"/*MinDistance*/, "DefaultValue": 0.005 }, { "Id": "5613c80e-a0a5-4996-a864-362d021fc056"/*Field*/, "DefaultValue": null }, { "Id": "818886bf-cc7d-49ce-9294-fda1d6a17177"/*WriteDistanceTo*/, "DefaultValue": 1 }, { "Id": "94c84de7-ac0c-48c1-9a45-f2d39ab6513f"/*MaxDistance*/, "DefaultValue": 100.0 }, { "Id": "a3d0717d-7afd-48cb-a43c-72701bcc1393"/*StepDistanceFactor*/, "DefaultValue": 1.0 }, { "Id": "c33c3db6-fb51-4ed3-b986-5580d2ceb539"/*NormalSamplingDistance*/, "DefaultValue": 0.01 }, { "Id": "c444a71a-5760-49a7-bfc8-3b97449a0343"/*MaxSteps*/, "DefaultValue": 40 }, { "Id": "c4e2297a-dd91-4162-8f2c-e968d8529158"/*Points*/, "DefaultValue": null }, { "Id": "c7a5d340-cf58-43dd-9bef-eb8c417e9d2e"/*WriteStepCountTo*/, "DefaultValue": 2 } ], "Children": [ { "Id": "09ddbb77-a801-4e45-b039-4bfcc701563f"/*GenerateShaderGraphCode*/, "SymbolId": "73c028d1-3de2-4269-b503-97f62bbce320", "InputValues": [ { "Id": "0b5cbbdf-afe7-4daf-9f1e-0e79792691f1"/*TemplateFilePath*/, "Type": "System.String", "Value": "Lib:shaders/points/modify/SdfReflectionLinePoints.hlsl" }, { "Id": "f6fb3be8-53f2-4d68-bf0f-3f519bc09ff4"/*AdditionalDefines*/, "Type": "System.String", "Value": "" } ], "Outputs": [] }, { "Id": "175a5445-a109-488c-b84e-28743523d94d"/*IntsToBuffer*/, "SymbolId": "2eb20a76-f8f7-49e9-93a5-1e5981122b50", "InputValues": [], "Outputs": [] }, { "Id": "3794820b-4adb-450b-a599-ca74c548d3b6"/*ClampInt*/, "SymbolId": "5f734c25-9f1a-436c-b56c-7e0a1e07fdda", "InputValues": [ { "Id": "23e55b5d-b469-4d0f-a495-7e87fe65cccf"/*Max*/, "Type": "System.Int32", "Value": 100 }, { "Id": "e715919d-f3e3-4708-90a6-b55efb379257"/*Min*/, "Type": "System.Int32", "Value": 1 } ], "Outputs": [] }, { "Id": "3a5b4295-684a-4366-99ce-a3e7ad466044"/*FloatsToBuffer*/, "SymbolId": "724da755-2d0c-42ab-8335-8c88ec5fb078", "InputValues": [], "Outputs": [] }, { "Id": "401c7778-814d-409a-a80d-7be59abd5c6b"/*ComputeShaderFromSource*/, "SymbolId": "4e5bc624-9cda-46a8-9681-7fd412ea3893", "InputValues": [ { "Id": "08399b7a-a390-4a11-83eb-36ac68f76bc6"/*DebugName*/, "Type": "System.String", "Value": "custom" }, { "Id": "a8ee59c3-cb62-42e5-a3c9-f4968876c9cc"/*Code*/, "Type": "System.String", "Value": "#include \"lib/shared/hash-functions.hlsl\"\n#include \"lib/shared/point.hlsl\"\n\ncbuffer Params : register(b1)\n{\n float A;\n float B;\n float C;\n float D;\n float E;\n}\n\nStructuredBuffer SourcePoints : t0; \nRWStructuredBuffer ResultPoints : u0; \n\n[numthreads(64,1,1)]\nvoid main(uint3 i : SV_DispatchThreadID)\n{\n uint numStructs, stride;\n SourcePoints.GetDimensions(numStructs, stride);\n if(i.x >= numStructs) { \n return;\n }\n\n Point p = SourcePoints[i.x];\n\n ResultPoints[i.x].position = p.position + float3(0,0.1,0);\n ResultPoints[i.x].rotation = p.rotation;\n ResultPoints[i.x].w = p.w ;\n}\n" } ], "Outputs": [] }, { "Id": "4a98eb5d-3084-4cfb-99f4-22b76ca379b4"/*GetBufferComponents*/, "SymbolId": "80dff680-5abf-484a-b9e0-81d72f3b7aa4", "InputValues": [], "Outputs": [] }, { "Id": "56c44879-6613-4aab-8874-0278f100c6ab"/*AddInt*/, "SymbolId": "ab73a49e-c548-437d-a4ab-b3fa41e30097", "InputValues": [ { "Id": "d5efbe02-8f33-42e9-a205-859c218acbec"/*Input2*/, "Type": "System.Int32", "Value": 3 } ], "Outputs": [] }, { "Id": "68ec7320-6637-4cbc-a084-7a70ba825ca1"/*ComputeShaderStage*/, "SymbolId": "8bef116d-7d1c-4c1b-b902-25c1d5e925a9", "InputValues": [ { "Id": "180cae35-10e3-47f3-8191-f6ecea7d321c"/*Dispatch*/, "Type": "T3.Core.DataTypes.Vector.Int3", "Value": { "X": 64, "Y": 1, "Z": 1 } } ], "Outputs": [] }, { "Id": "8acadba1-1afa-47cf-bf2d-5de9afd94fba"/*GetBufferComponents*/, "SymbolId": "80dff680-5abf-484a-b9e0-81d72f3b7aa4", "InputValues": [], "Outputs": [] }, { "Id": "9ceaf37c-b240-4d1b-acc4-917aea02716f"/*MultiplyInt*/, "SymbolId": "6a4edb6a-5ced-4356-9090-4bf770cdeb52", "InputValues": [], "Outputs": [] }, { "Id": "9fa1d380-7cb8-4dbc-a6c4-1a52373e5f81"/*ExecuteBufferUpdate*/, "SymbolId": "58351c8f-4a73-448e-b7bb-69412e71bd76", "InputValues": [], "Outputs": [] }, { "Id": "a604830d-791e-46a3-86ab-e092dcfdf51d"/*StructuredBufferWithViews*/, "SymbolId": "b6c5be1d-b133-45e9-a269-8047ea0d6ad7", "InputValues": [ { "Id": "0016dd87-8756-4a97-a0da-096e1a879c05"/*Stride*/, "Type": "System.Int32", "Value": 64 } ], "Outputs": [] }, { "Id": "c2f545bc-33cf-451a-a7ae-29ff73de1224"/*ClampInt*/, "SymbolId": "5f734c25-9f1a-436c-b56c-7e0a1e07fdda", "InputValues": [ { "Id": "23e55b5d-b469-4d0f-a495-7e87fe65cccf"/*Max*/, "Type": "System.Int32", "Value": 10 }, { "Id": "e715919d-f3e3-4708-90a6-b55efb379257"/*Min*/, "Type": "System.Int32", "Value": 0 } ], "Outputs": [] }, { "Id": "d0897fdc-abdb-478e-9362-521e0af12781"/*CalcDispatchCount*/, "SymbolId": "eb68addb-ec59-416f-8608-ff9d2319f3a3", "InputValues": [], "Outputs": [] } ], "Connections": [ { "SourceParentOrChildId": "9fa1d380-7cb8-4dbc-a6c4-1a52373e5f81", "SourceSlotId": "9a66687e-a834-452c-a652-ba1fc70c2c7b", "TargetParentOrChildId": "00000000-0000-0000-0000-000000000000", "TargetSlotId": "47add549-192a-4771-8f03-cdd0e90d4e72" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "5613c80e-a0a5-4996-a864-362d021fc056", "TargetParentOrChildId": "09ddbb77-a801-4e45-b039-4bfcc701563f", "TargetSlotId": "ffc1c70e-b717-4337-916d-c3a13343e9cc" }, { "SourceParentOrChildId": "4a98eb5d-3084-4cfb-99f4-22b76ca379b4", "SourceSlotId": "d7918fd8-906e-424d-8c5c-9631941cfc9d", "TargetParentOrChildId": "175a5445-a109-488c-b84e-28743523d94d", "TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c" }, { "SourceParentOrChildId": "3794820b-4adb-450b-a599-ca74c548d3b6", "SourceSlotId": "e6aae72f-8c22-4133-ba0d-c3635751d715", "TargetParentOrChildId": "175a5445-a109-488c-b84e-28743523d94d", "TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c" }, { "SourceParentOrChildId": "c2f545bc-33cf-451a-a7ae-29ff73de1224", "SourceSlotId": "e6aae72f-8c22-4133-ba0d-c3635751d715", "TargetParentOrChildId": "175a5445-a109-488c-b84e-28743523d94d", "TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "818886bf-cc7d-49ce-9294-fda1d6a17177", "TargetParentOrChildId": "175a5445-a109-488c-b84e-28743523d94d", "TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "c7a5d340-cf58-43dd-9bef-eb8c417e9d2e", "TargetParentOrChildId": "175a5445-a109-488c-b84e-28743523d94d", "TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "c444a71a-5760-49a7-bfc8-3b97449a0343", "TargetParentOrChildId": "3794820b-4adb-450b-a599-ca74c548d3b6", "TargetSlotId": "75a09454-6cde-458b-9314-05a99b2e5919" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "403f823d-043b-4009-b00f-e90aa154f30f", "TargetParentOrChildId": "3a5b4295-684a-4366-99ce-a3e7ad466044", "TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "a3d0717d-7afd-48cb-a43c-72701bcc1393", "TargetParentOrChildId": "3a5b4295-684a-4366-99ce-a3e7ad466044", "TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "c33c3db6-fb51-4ed3-b986-5580d2ceb539", "TargetParentOrChildId": "3a5b4295-684a-4366-99ce-a3e7ad466044", "TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "94c84de7-ac0c-48c1-9a45-f2d39ab6513f", "TargetParentOrChildId": "3a5b4295-684a-4366-99ce-a3e7ad466044", "TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c" }, { "SourceParentOrChildId": "09ddbb77-a801-4e45-b039-4bfcc701563f", "SourceSlotId": "a1ab0c16-ed15-4334-a529-10e3c217df1a", "TargetParentOrChildId": "401c7778-814d-409a-a80d-7be59abd5c6b", "TargetSlotId": "a8ee59c3-cb62-42e5-a3c9-f4968876c9cc" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "c4e2297a-dd91-4162-8f2c-e968d8529158", "TargetParentOrChildId": "4a98eb5d-3084-4cfb-99f4-22b76ca379b4", "TargetSlotId": "7a13b834-21e5-4cef-ad5b-23c3770ea763" }, { "SourceParentOrChildId": "c2f545bc-33cf-451a-a7ae-29ff73de1224", "SourceSlotId": "e6aae72f-8c22-4133-ba0d-c3635751d715", "TargetParentOrChildId": "56c44879-6613-4aab-8874-0278f100c6ab", "TargetSlotId": "8496877c-6186-4a9f-acb2-ceb90026dc1d" }, { "SourceParentOrChildId": "d0897fdc-abdb-478e-9362-521e0af12781", "SourceSlotId": "35c0e513-812f-49e2-96fa-17541751c19b", "TargetParentOrChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1", "TargetSlotId": "180cae35-10e3-47f3-8191-f6ecea7d321c" }, { "SourceParentOrChildId": "09ddbb77-a801-4e45-b039-4bfcc701563f", "SourceSlotId": "adf247cd-79cc-4d4e-b3c1-6a8b2d54683d", "TargetParentOrChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1", "TargetSlotId": "2e33837e-54c0-4519-8eda-04eee80690a5" }, { "SourceParentOrChildId": "3a5b4295-684a-4366-99ce-a3e7ad466044", "SourceSlotId": "f5531ffb-dbde-45d3-af2a-bd90bcbf3710", "TargetParentOrChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1", "TargetSlotId": "34cf06fe-8f63-4f14-9c59-35a2c021b817" }, { "SourceParentOrChildId": "09ddbb77-a801-4e45-b039-4bfcc701563f", "SourceSlotId": "1a9b5e15-e9a7-4ed4-aa1a-2072398921b4", "TargetParentOrChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1", "TargetSlotId": "34cf06fe-8f63-4f14-9c59-35a2c021b817" }, { "SourceParentOrChildId": "175a5445-a109-488c-b84e-28743523d94d", "SourceSlotId": "f5531ffb-dbde-45d3-af2a-bd90bcbf3710", "TargetParentOrChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1", "TargetSlotId": "34cf06fe-8f63-4f14-9c59-35a2c021b817" }, { "SourceParentOrChildId": "8acadba1-1afa-47cf-bf2d-5de9afd94fba", "SourceSlotId": "f03246a7-e39f-4a41-a0c3-22bc976a6000", "TargetParentOrChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1", "TargetSlotId": "599384c2-bf6c-4953-be74-d363292ab1c7" }, { "SourceParentOrChildId": "401c7778-814d-409a-a80d-7be59abd5c6b", "SourceSlotId": "190e262f-6554-4b34-b5b6-6617a98ab123", "TargetParentOrChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1", "TargetSlotId": "5c0e9c96-9aba-4757-ae1f-cc50fb6173f1" }, { "SourceParentOrChildId": "4a98eb5d-3084-4cfb-99f4-22b76ca379b4", "SourceSlotId": "1368ab8e-d75e-429f-8ecd-0944f3ede9ab", "TargetParentOrChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1", "TargetSlotId": "88938b09-d5a7-437c-b6e1-48a5b375d756" }, { "SourceParentOrChildId": "a604830d-791e-46a3-86ab-e092dcfdf51d", "SourceSlotId": "c997268d-6709-49de-980e-64d7a47504f7", "TargetParentOrChildId": "8acadba1-1afa-47cf-bf2d-5de9afd94fba", "TargetSlotId": "7a13b834-21e5-4cef-ad5b-23c3770ea763" }, { "SourceParentOrChildId": "4a98eb5d-3084-4cfb-99f4-22b76ca379b4", "SourceSlotId": "d7918fd8-906e-424d-8c5c-9631941cfc9d", "TargetParentOrChildId": "9ceaf37c-b240-4d1b-acc4-917aea02716f", "TargetSlotId": "e010c56f-ff0b-44b6-bbd9-b50e2ccec2bf" }, { "SourceParentOrChildId": "56c44879-6613-4aab-8874-0278f100c6ab", "SourceSlotId": "9b3e42f6-8980-4f30-8d8f-ed1dea5f19b9", "TargetParentOrChildId": "9ceaf37c-b240-4d1b-acc4-917aea02716f", "TargetSlotId": "e02f9e84-a7bf-45bf-9cb1-0b0c1c396796" }, { "SourceParentOrChildId": "68ec7320-6637-4cbc-a084-7a70ba825ca1", "SourceSlotId": "c382284f-7e37-4eb0-b284-bc735247f26b", "TargetParentOrChildId": "9fa1d380-7cb8-4dbc-a6c4-1a52373e5f81", "TargetSlotId": "51110d89-083e-42b8-b566-87b144dfbed9" }, { "SourceParentOrChildId": "a604830d-791e-46a3-86ab-e092dcfdf51d", "SourceSlotId": "c997268d-6709-49de-980e-64d7a47504f7", "TargetParentOrChildId": "9fa1d380-7cb8-4dbc-a6c4-1a52373e5f81", "TargetSlotId": "72cfe742-88fb-41cd-b6cf-d96730b24b23" }, { "SourceParentOrChildId": "4a98eb5d-3084-4cfb-99f4-22b76ca379b4", "SourceSlotId": "6d7a9493-6210-462a-b9c2-525b925de6c8", "TargetParentOrChildId": "a604830d-791e-46a3-86ab-e092dcfdf51d", "TargetSlotId": "0016dd87-8756-4a97-a0da-096e1a879c05" }, { "SourceParentOrChildId": "9ceaf37c-b240-4d1b-acc4-917aea02716f", "SourceSlotId": "5e847363-142d-4da9-a5b3-3a7aa2541bed", "TargetParentOrChildId": "a604830d-791e-46a3-86ab-e092dcfdf51d", "TargetSlotId": "16f98211-fe97-4235-b33a-ddbbd2b5997f" }, { "SourceParentOrChildId": "00000000-0000-0000-0000-000000000000", "SourceSlotId": "0d73ebd5-c76b-46c2-b15f-96ff2ec498bd", "TargetParentOrChildId": "c2f545bc-33cf-451a-a7ae-29ff73de1224", "TargetSlotId": "75a09454-6cde-458b-9314-05a99b2e5919" }, { "SourceParentOrChildId": "401c7778-814d-409a-a80d-7be59abd5c6b", "SourceSlotId": "a3e0a72f-68d0-4278-8b9b-f4cf33603305", "TargetParentOrChildId": "d0897fdc-abdb-478e-9362-521e0af12781", "TargetSlotId": "3979e440-7888-4249-9975-74b21c6b813c" }, { "SourceParentOrChildId": "4a98eb5d-3084-4cfb-99f4-22b76ca379b4", "SourceSlotId": "d7918fd8-906e-424d-8c5c-9631941cfc9d", "TargetParentOrChildId": "d0897fdc-abdb-478e-9362-521e0af12781", "TargetSlotId": "f79ccc37-05fd-4f81-97d6-6c1cafca180c" } ] }