chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using T3.Core.Utils;
|
||||
|
||||
namespace Lib.render.basic;
|
||||
|
||||
[Guid("5a2752e8-95ae-4d76-b903-1f52ef43bcdc")]
|
||||
internal sealed class DrawScreenQuad : Instance<DrawScreenQuad>
|
||||
{
|
||||
[Output(Guid = "3c8116a2-2686-41ba-8bfd-d1b3fb929b02")]
|
||||
public readonly Slot<Command> Output = new();
|
||||
|
||||
[Input(Guid = "92c66734-dce9-402a-95f6-cde0e58bf32f")]
|
||||
public readonly InputSlot<Texture2D> Texture = new();
|
||||
|
||||
[Input(Guid = "4e8fecd0-00ca-404e-a9d4-1cb0d3e044f1")]
|
||||
public readonly InputSlot<Vector4> Color = new();
|
||||
|
||||
[Input(Guid = "a680706a-3e0f-4b93-9953-05df8d32109a")]
|
||||
public readonly InputSlot<float> Width = new();
|
||||
|
||||
[Input(Guid = "4ca612b7-a899-4567-98e4-8b6e96d5f251")]
|
||||
public readonly InputSlot<float> Height = new();
|
||||
|
||||
[Input(Guid = "60cef5fb-b22a-4fa0-83bb-093d0f1d5b56", MappedType = typeof(SharedEnums.BlendModes))]
|
||||
public readonly InputSlot<int> BlendMode = new();
|
||||
|
||||
[Input(Guid = "6a91ba46-257d-4c3c-94c5-72cbc06ee816")]
|
||||
public readonly InputSlot<bool> EnableDepthTest = new();
|
||||
|
||||
[Input(Guid = "2680baf9-3dbd-4ade-b109-19b3b0f1d40f")]
|
||||
public readonly InputSlot<bool> EnableDepthWrite = new();
|
||||
|
||||
[Input(Guid = "6fd86a21-d06c-4edb-bbe2-39d7411e46d1")]
|
||||
public readonly InputSlot<Vector2> Position = new();
|
||||
|
||||
[Input(Guid = "81f7acd7-6704-404b-b8be-9e77d2117fcc")]
|
||||
public readonly InputSlot<Filter> Filter = new();
|
||||
}
|
||||
@@ -0,0 +1,476 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "5a2752e8-95ae-4d76-b903-1f52ef43bcdc"/*DrawScreenQuad*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "2680baf9-3dbd-4ade-b109-19b3b0f1d40f"/*EnableDepthWrite*/,
|
||||
"DefaultValue": false
|
||||
},
|
||||
{
|
||||
"Id": "4ca612b7-a899-4567-98e4-8b6e96d5f251"/*Height*/,
|
||||
"DefaultValue": 1.0
|
||||
},
|
||||
{
|
||||
"Id": "4e8fecd0-00ca-404e-a9d4-1cb0d3e044f1"/*Color*/,
|
||||
"DefaultValue": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "60cef5fb-b22a-4fa0-83bb-093d0f1d5b56"/*BlendMode*/,
|
||||
"DefaultValue": 0
|
||||
},
|
||||
{
|
||||
"Id": "6a91ba46-257d-4c3c-94c5-72cbc06ee816"/*EnableDepthTest*/,
|
||||
"DefaultValue": false
|
||||
},
|
||||
{
|
||||
"Id": "6fd86a21-d06c-4edb-bbe2-39d7411e46d1"/*Position*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "81f7acd7-6704-404b-b8be-9e77d2117fcc"/*Filter*/,
|
||||
"DefaultValue": "MinMagMipLinear"
|
||||
},
|
||||
{
|
||||
"Id": "92c66734-dce9-402a-95f6-cde0e58bf32f"/*Texture*/,
|
||||
"DefaultValue": null
|
||||
},
|
||||
{
|
||||
"Id": "a680706a-3e0f-4b93-9953-05df8d32109a"/*Width*/,
|
||||
"DefaultValue": 1.0
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "13cfa0b8-99cc-48b0-ae82-89d5d3e9e47a"/*Rasterizer*/,
|
||||
"SymbolId": "fbd7f0f0-36a3-4fbb-91e1-cb33d4666d09",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "1d0d7ef0-45f5-4708-840d-2c8c7fa206a0"/*SrvFromTexture2d*/,
|
||||
"SymbolId": "c2078514-cf1d-439c-a732-0d7b31b5084a",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "541d1df8-d9df-4be6-8674-6c533861921c"/*PickBlendMode*/,
|
||||
"SymbolId": "fd9bffd3-5c57-462f-8761-85f94c5a629b",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "6795c921-894a-449e-a864-acaff7bae5ff"/*Vector4Components*/,
|
||||
"SymbolId": "b15e4950-5c72-4655-84bc-c00647319030",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "980ef785-6ae2-44d1-803e-febfc75791c5"/*Value*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.9999943,
|
||||
"Y": 1.0,
|
||||
"Z": 0.99999,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3"/*FloatsToBuffer*/,
|
||||
"SymbolId": "724da755-2d0c-42ab-8335-8c88ec5fb078",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7fc97f06-13f4-4122-8d6f-1132997759e9"/*Execute*/,
|
||||
"SymbolId": "936e4324-bea2-463a-b196-6064a2d8a6b2",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "810afc82-dc07-4388-9188-c0516b59b897"/*SamplerState*/,
|
||||
"SymbolId": "9515d59d-0bd5-406b-96da-6a5f60215700",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "93d8bf26-5067-4ccc-b4cb-e03970686462"/*AddressW*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "a870921f-a28c-4501-9f31-38a18b0acdcc"/*Filter*/,
|
||||
"Type": "SharpDX.Direct3D11.Filter",
|
||||
"Value": "MinMagMipLinear"
|
||||
},
|
||||
{
|
||||
"Id": "e7c95fd5-14d1-434f-a140-f22ef69076ab"/*AddressU*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "fdeb503f-09c6-48d1-8853-7426f68cdec3"/*AddressV*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "81c3ffc4-61f7-4818-8cb3-724bb7c36f7e"/*VertexShader*/,
|
||||
"SymbolId": "646f5988-0a76-4996-a538-ba48054fd0ad",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "78fb7501-74d9-4a27-8db2-596f25482c87"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/img/analyze/vs-draw-viewport-quad.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "9a8b500e-c3b1-4be1-8270-202ef3f90793"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "vsMain"
|
||||
},
|
||||
{
|
||||
"Id": "c8a59cf8-6612-4d57-bcfd-3aeea351ba50"/*DebugName*/,
|
||||
"Type": "System.String",
|
||||
"Value": "vs-quad-no-geo"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9e4b170c-c8eb-4b39-8aff-d9cd8ae9551d"/*VertexShaderStage*/,
|
||||
"SymbolId": "a9600440-4203-4315-bdb1-4dfd603b4515",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a2a3d2bf-04d9-4056-a354-7c861c931d68"/*Draw*/,
|
||||
"SymbolId": "9b28e6b9-1d1f-42d8-8a9e-33497b1df820",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8716b11a-ef71-437e-9930-bb747da818a7"/*VertexCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 6
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a464b19f-8f6c-4ca2-9fa6-4d1b86b93da7"/*PixelShaderStage*/,
|
||||
"SymbolId": "75306997-4329-44e9-a17a-050dae532182",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ad28d2c9-670f-41a1-b0d9-101e915789cf"/*LoadImage*/,
|
||||
"SymbolId": "0b3436db-e283-436e-ba85-2f3a1de76a9d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "76cc3811-4ae0-48b2-a119-890db5a4eeb2"/*Path*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:images/basic/white-pixel.png"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "caf3d3c1-76fa-406b-a24c-8c7e0aec0496"/*PixelShader*/,
|
||||
"SymbolId": "f7c625da-fede-4993-976c-e259e0ee4985",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "24646f06-1509-43ce-94c6-eeb608ad97cd"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/img/analyze/vs-draw-viewport-quad.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "501338b3-f432-49a5-bdbd-bcf209671305"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "psMain"
|
||||
},
|
||||
{
|
||||
"Id": "be9b3dc1-7122-4b3d-b936-cccf2581b69e"/*DebugName*/,
|
||||
"Type": "System.String",
|
||||
"Value": "ps-quad-no-geo"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "cf1ec4e5-ff4a-4100-94a0-d117446d1712"/*DepthStencilState*/,
|
||||
"SymbolId": "04858a08-f0fe-4536-9152-686659f0ab58",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "2342df71-a162-4db7-afc3-514916239897"/*EnableZWrite*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "d330c026-4e60-4930-b9b8-c780dc45bdd2"/*RasterizerState*/,
|
||||
"SymbolId": "c7283335-ef57-46ad-9538-abbade65845a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "03f3bc7f-3949-4a97-88cf-04e162cfa2f7"/*CullMode*/,
|
||||
"Type": "SharpDX.Direct3D11.CullMode",
|
||||
"Value": "None"
|
||||
},
|
||||
{
|
||||
"Id": "31319fb4-8663-4908-95b8-e5d5a95f15b2"/*FrontCounterClockwise*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "d82e4dfc-7839-4600-8a72-b60121d20c6b"/*UseFallbackTexture*/,
|
||||
"SymbolId": "b470fdf9-ac0b-4eb9-9600-453b8c094e3f",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "dd3ea474-e0f0-45d0-a7cd-ccc2ebe2e9a4"/*Vector2Components*/,
|
||||
"SymbolId": "0946c48b-85d8-4072-8f21-11d17cc6f6cf",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "e6891131-b7ec-4026-8872-c1918e97eb92"/*OutputMergerStage*/,
|
||||
"SymbolId": "5efaf208-ba62-42ce-b3df-059b37fc1382",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "ccee2ec3-586f-4396-8b20-cc99484e1b64"/*BlendFactor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.99999,
|
||||
"Z": 0.99999,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f2a8063c-7138-406c-8d61-7e4293c4cc46"/*InputAssemblerStage*/,
|
||||
"SymbolId": "9d1266c5-23db-439f-a475-8000fdd1c318",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "7fc97f06-13f4-4122-8d6f-1132997759e9",
|
||||
"SourceSlotId": "e81c99ce-fcee-4e7c-a1c7-0aa3b352b7e1",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "3c8116a2-2686-41ba-8bfd-d1b3fb929b02"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "d330c026-4e60-4930-b9b8-c780dc45bdd2",
|
||||
"SourceSlotId": "b409694a-0980-4992-8525-01871b940cd7",
|
||||
"TargetParentOrChildId": "13cfa0b8-99cc-48b0-ae82-89d5d3e9e47a",
|
||||
"TargetSlotId": "35a52074-1e82-4352-91c3-d8e464f73bc7"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "d82e4dfc-7839-4600-8a72-b60121d20c6b",
|
||||
"SourceSlotId": "778f4eac-24ef-4e93-b864-39f150ab6cb2",
|
||||
"TargetParentOrChildId": "1d0d7ef0-45f5-4708-840d-2c8c7fa206a0",
|
||||
"TargetSlotId": "d5afa102-2f88-431e-9cd4-af91e41f88f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "60cef5fb-b22a-4fa0-83bb-093d0f1d5b56",
|
||||
"TargetParentOrChildId": "541d1df8-d9df-4be6-8674-6c533861921c",
|
||||
"TargetSlotId": "30b58444-0485-4116-8b15-7e62fee69eaa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "4e8fecd0-00ca-404e-a9d4-1cb0d3e044f1",
|
||||
"TargetParentOrChildId": "6795c921-894a-449e-a864-acaff7bae5ff",
|
||||
"TargetSlotId": "980ef785-6ae2-44d1-803e-febfc75791c5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6795c921-894a-449e-a864-acaff7bae5ff",
|
||||
"SourceSlotId": "cfb58526-0053-4bca-aa85-d83823efba96",
|
||||
"TargetParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6795c921-894a-449e-a864-acaff7bae5ff",
|
||||
"SourceSlotId": "2f8e90dd-ba03-43dc-82a2-8d817df45cc7",
|
||||
"TargetParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6795c921-894a-449e-a864-acaff7bae5ff",
|
||||
"SourceSlotId": "162bb4fe-3c59-45c2-97cc-ecba85c1b275",
|
||||
"TargetParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6795c921-894a-449e-a864-acaff7bae5ff",
|
||||
"SourceSlotId": "e1dede5f-6963-4bcc-aa12-abeb819bb5da",
|
||||
"TargetParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "dd3ea474-e0f0-45d0-a7cd-ccc2ebe2e9a4",
|
||||
"SourceSlotId": "1cee5adb-8c3c-4575-bdd6-5669c04d55ce",
|
||||
"TargetParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "dd3ea474-e0f0-45d0-a7cd-ccc2ebe2e9a4",
|
||||
"SourceSlotId": "305d321d-3334-476a-9fa3-4847912a4c58",
|
||||
"TargetParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "a680706a-3e0f-4b93-9953-05df8d32109a",
|
||||
"TargetParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "4ca612b7-a899-4567-98e4-8b6e96d5f251",
|
||||
"TargetParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f2a8063c-7138-406c-8d61-7e4293c4cc46",
|
||||
"SourceSlotId": "18cae035-c050-4f98-9e5e-b3a6db70dda7",
|
||||
"TargetParentOrChildId": "7fc97f06-13f4-4122-8d6f-1132997759e9",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9e4b170c-c8eb-4b39-8aff-d9cd8ae9551d",
|
||||
"SourceSlotId": "65b394a9-06dc-4d9b-8819-15394ede2997",
|
||||
"TargetParentOrChildId": "7fc97f06-13f4-4122-8d6f-1132997759e9",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "13cfa0b8-99cc-48b0-ae82-89d5d3e9e47a",
|
||||
"SourceSlotId": "c723ad69-ff0c-47b2-9327-bd27c0d7b6d1",
|
||||
"TargetParentOrChildId": "7fc97f06-13f4-4122-8d6f-1132997759e9",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a464b19f-8f6c-4ca2-9fa6-4d1b86b93da7",
|
||||
"SourceSlotId": "76e7ad5d-a31d-4b1f-9c42-b63c5161117c",
|
||||
"TargetParentOrChildId": "7fc97f06-13f4-4122-8d6f-1132997759e9",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "e6891131-b7ec-4026-8872-c1918e97eb92",
|
||||
"SourceSlotId": "cee8c3f0-64ea-4e4d-b967-ec7e3688dd03",
|
||||
"TargetParentOrChildId": "7fc97f06-13f4-4122-8d6f-1132997759e9",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a2a3d2bf-04d9-4056-a354-7c861c931d68",
|
||||
"SourceSlotId": "49b28dc3-fcd1-4067-bc83-e1cc848ae55c",
|
||||
"TargetParentOrChildId": "7fc97f06-13f4-4122-8d6f-1132997759e9",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "81f7acd7-6704-404b-b8be-9e77d2117fcc",
|
||||
"TargetParentOrChildId": "810afc82-dc07-4388-9188-c0516b59b897",
|
||||
"TargetSlotId": "a870921f-a28c-4501-9f31-38a18b0acdcc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1d0d7ef0-45f5-4708-840d-2c8c7fa206a0",
|
||||
"SourceSlotId": "dc71f39f-3fba-4fc6-b8ef-ce57c82bf78e",
|
||||
"TargetParentOrChildId": "9e4b170c-c8eb-4b39-8aff-d9cd8ae9551d",
|
||||
"TargetSlotId": "3a0bea89-bd93-4594-b1b6-3e25689c67e6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "81c3ffc4-61f7-4818-8cb3-724bb7c36f7e",
|
||||
"SourceSlotId": "ed31838b-14b5-4875-a0fc-dc427e874362",
|
||||
"TargetParentOrChildId": "9e4b170c-c8eb-4b39-8aff-d9cd8ae9551d",
|
||||
"TargetSlotId": "b1c236e5-6757-4d77-9911-e3acd5ea9fe9"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"SourceSlotId": "f5531ffb-dbde-45d3-af2a-bd90bcbf3710",
|
||||
"TargetParentOrChildId": "9e4b170c-c8eb-4b39-8aff-d9cd8ae9551d",
|
||||
"TargetSlotId": "bba8f6eb-7cff-435b-ab47-febf58dd8fba"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "caf3d3c1-76fa-406b-a24c-8c7e0aec0496",
|
||||
"SourceSlotId": "9c6e72f8-5ce6-42c3-abaa-1829d2c066c1",
|
||||
"TargetParentOrChildId": "a464b19f-8f6c-4ca2-9fa6-4d1b86b93da7",
|
||||
"TargetSlotId": "1b9be6eb-96c8-4b1c-b854-99b64eaf5618"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1d0d7ef0-45f5-4708-840d-2c8c7fa206a0",
|
||||
"SourceSlotId": "dc71f39f-3fba-4fc6-b8ef-ce57c82bf78e",
|
||||
"TargetParentOrChildId": "a464b19f-8f6c-4ca2-9fa6-4d1b86b93da7",
|
||||
"TargetSlotId": "50052906-4691-4a84-a69d-a109044b5300"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3",
|
||||
"SourceSlotId": "f5531ffb-dbde-45d3-af2a-bd90bcbf3710",
|
||||
"TargetParentOrChildId": "a464b19f-8f6c-4ca2-9fa6-4d1b86b93da7",
|
||||
"TargetSlotId": "be02a84b-a666-4119-bb6e-fee1a3df0981"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "810afc82-dc07-4388-9188-c0516b59b897",
|
||||
"SourceSlotId": "0e45c596-c80f-4927-941f-e3199401aa10",
|
||||
"TargetParentOrChildId": "a464b19f-8f6c-4ca2-9fa6-4d1b86b93da7",
|
||||
"TargetSlotId": "c4e91bc6-1691-4eb4-aed5-dd4cae528149"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "2680baf9-3dbd-4ade-b109-19b3b0f1d40f",
|
||||
"TargetParentOrChildId": "cf1ec4e5-ff4a-4100-94a0-d117446d1712",
|
||||
"TargetSlotId": "2342df71-a162-4db7-afc3-514916239897"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "6a91ba46-257d-4c3c-94c5-72cbc06ee816",
|
||||
"TargetParentOrChildId": "cf1ec4e5-ff4a-4100-94a0-d117446d1712",
|
||||
"TargetSlotId": "956b735b-c38a-4e8e-8186-caf4d36d4d20"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ad28d2c9-670f-41a1-b0d9-101e915789cf",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "d82e4dfc-7839-4600-8a72-b60121d20c6b",
|
||||
"TargetSlotId": "38b478fa-c431-4dc1-80ef-d6c53c90389e"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "92c66734-dce9-402a-95f6-cde0e58bf32f",
|
||||
"TargetParentOrChildId": "d82e4dfc-7839-4600-8a72-b60121d20c6b",
|
||||
"TargetSlotId": "91bffbba-b815-44d7-8f93-3238376935bf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "6fd86a21-d06c-4edb-bbe2-39d7411e46d1",
|
||||
"TargetParentOrChildId": "dd3ea474-e0f0-45d0-a7cd-ccc2ebe2e9a4",
|
||||
"TargetSlotId": "36f14238-5bb8-4521-9533-f4d1e8fb802b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "cf1ec4e5-ff4a-4100-94a0-d117446d1712",
|
||||
"SourceSlotId": "26e300cd-2dbe-49f2-aab5-a60317df5434",
|
||||
"TargetParentOrChildId": "e6891131-b7ec-4026-8872-c1918e97eb92",
|
||||
"TargetSlotId": "1d5faad5-3be5-426c-b464-ad490ea3d1aa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "541d1df8-d9df-4be6-8674-6c533861921c",
|
||||
"SourceSlotId": "a42dd1c5-886c-4fa9-bf69-8b6321a48930",
|
||||
"TargetParentOrChildId": "e6891131-b7ec-4026-8872-c1918e97eb92",
|
||||
"TargetSlotId": "e0bc9cf8-42c8-4632-b958-7a96f6d03ba2"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "5a2752e8-95ae-4d76-b903-1f52ef43bcdc"/*DrawScreenQuad*/,
|
||||
"Description": "Renders a rectangle that is locked to the camera view and automatically adjusts to the right image aspect ratio.",
|
||||
"SymbolTags": "24",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "2680baf9-3dbd-4ade-b109-19b3b0f1d40f"/*EnableDepthWrite*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 454.10834
|
||||
},
|
||||
"Description": "This defines whether the Quad covers itself or is covered by or covers other meshes."
|
||||
},
|
||||
{
|
||||
"InputId": "4ca612b7-a899-4567-98e4-8b6e96d5f251"/*Height*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 319.10834
|
||||
},
|
||||
"Description": "Multiplier for Height"
|
||||
},
|
||||
{
|
||||
"InputId": "4e8fecd0-00ca-404e-a9d4-1cb0d3e044f1"/*Color*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 219.10832
|
||||
},
|
||||
"Description": "Selects a color which will be multiplied with the incoming image.",
|
||||
"AddPadding": "True"
|
||||
},
|
||||
{
|
||||
"InputId": "60cef5fb-b22a-4fa0-83bb-093d0f1d5b56"/*BlendMode*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 364.10834
|
||||
},
|
||||
"GroupTitle": "Options",
|
||||
"Description": "Selects the Blend mode"
|
||||
},
|
||||
{
|
||||
"InputId": "6a91ba46-257d-4c3c-94c5-72cbc06ee816"/*EnableDepthTest*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 409.10834
|
||||
},
|
||||
"Description": "This defines whether the Quad covers itself or is covered by or covers other meshes.",
|
||||
"AddPadding": "True"
|
||||
},
|
||||
{
|
||||
"InputId": "6fd86a21-d06c-4edb-bbe2-39d7411e46d1"/*Position*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 499.10834
|
||||
},
|
||||
"Description": "Manipulates the position of the Quad\nX = Right / Left\nY = Up / Down",
|
||||
"AddPadding": "True"
|
||||
},
|
||||
{
|
||||
"InputId": "81f7acd7-6704-404b-b8be-9e77d2117fcc"/*Filter*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 544.10834
|
||||
},
|
||||
"GroupTitle": "Advanced Options",
|
||||
"Description": "Selects which Filter is used for rendering the incoming texture"
|
||||
},
|
||||
{
|
||||
"InputId": "92c66734-dce9-402a-95f6-cde0e58bf32f"/*Texture*/,
|
||||
"Relevancy": "Relevant",
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 163.10832
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "a680706a-3e0f-4b93-9953-05df8d32109a"/*Width*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 269.10834
|
||||
},
|
||||
"Description": "Multiplier for Width",
|
||||
"AddPadding": "True"
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "13cfa0b8-99cc-48b0-ae82-89d5d3e9e47a"/*Rasterizer*/,
|
||||
"Position": {
|
||||
"X": 816.2118,
|
||||
"Y": 132.83188
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1d0d7ef0-45f5-4708-840d-2c8c7fa206a0"/*SrvFromTexture2d*/,
|
||||
"Position": {
|
||||
"X": 454.18555,
|
||||
"Y": 170.9402
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "541d1df8-d9df-4be6-8674-6c533861921c"/*PickBlendMode*/,
|
||||
"Position": {
|
||||
"X": 615.2267,
|
||||
"Y": 496.60944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6795c921-894a-449e-a864-acaff7bae5ff"/*Vector4Components*/,
|
||||
"Position": {
|
||||
"X": 427.89914,
|
||||
"Y": 223.50838
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "71eb6c14-5b82-4acf-825b-b6a3ad17c0c3"/*FloatsToBuffer*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 116.1401,
|
||||
"Y": 128.82043
|
||||
},
|
||||
"Position": {
|
||||
"X": 607.8124,
|
||||
"Y": 216.16548
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7fc97f06-13f4-4122-8d6f-1132997759e9"/*Execute*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 114.093414,
|
||||
"Y": 496.73483
|
||||
},
|
||||
"Position": {
|
||||
"X": 1012.4035,
|
||||
"Y": -61.03902
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "810afc82-dc07-4388-9188-c0516b59b897"/*SamplerState*/,
|
||||
"Position": {
|
||||
"X": 607.8124,
|
||||
"Y": 364.9859
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "81c3ffc4-61f7-4818-8cb3-724bb7c36f7e"/*VertexShader*/,
|
||||
"Position": {
|
||||
"X": 639.2975,
|
||||
"Y": 2.451492
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9e4b170c-c8eb-4b39-8aff-d9cd8ae9551d"/*VertexShaderStage*/,
|
||||
"Position": {
|
||||
"X": 823.0274,
|
||||
"Y": -10.508526
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a2a3d2bf-04d9-4056-a354-7c861c931d68"/*Draw*/,
|
||||
"Position": {
|
||||
"X": 810.8517,
|
||||
"Y": 442.7809
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a464b19f-8f6c-4ca2-9fa6-4d1b86b93da7"/*PixelShaderStage*/,
|
||||
"Position": {
|
||||
"X": 816.2118,
|
||||
"Y": 188.83188
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ad28d2c9-670f-41a1-b0d9-101e915789cf"/*LoadImage*/,
|
||||
"Position": {
|
||||
"X": 69.60883,
|
||||
"Y": 87.99952
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "caf3d3c1-76fa-406b-a24c-8c7e0aec0496"/*PixelShader*/,
|
||||
"Position": {
|
||||
"X": 639.2975,
|
||||
"Y": 101.4515
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cf1ec4e5-ff4a-4100-94a0-d117446d1712"/*DepthStencilState*/,
|
||||
"Position": {
|
||||
"X": 615.2267,
|
||||
"Y": 427.60944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d330c026-4e60-4930-b9b8-c780dc45bdd2"/*RasterizerState*/,
|
||||
"Position": {
|
||||
"X": 639.2975,
|
||||
"Y": 45.451492
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d82e4dfc-7839-4600-8a72-b60121d20c6b"/*UseFallbackTexture*/,
|
||||
"Position": {
|
||||
"X": 237.20413,
|
||||
"Y": -48.019855
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "dd3ea474-e0f0-45d0-a7cd-ccc2ebe2e9a4"/*Vector2Components*/,
|
||||
"Position": {
|
||||
"X": 427.89914,
|
||||
"Y": 279.50836
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e6891131-b7ec-4026-8872-c1918e97eb92"/*OutputMergerStage*/,
|
||||
"Position": {
|
||||
"X": 810.8517,
|
||||
"Y": 373.7809
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f2a8063c-7138-406c-8d61-7e4293c4cc46"/*InputAssemblerStage*/,
|
||||
"Position": {
|
||||
"X": 823.0274,
|
||||
"Y": -53.508522
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "3c8116a2-2686-41ba-8bfd-d1b3fb929b02"/*Output*/,
|
||||
"Position": {
|
||||
"X": 1306.0349,
|
||||
"Y": -57.969704
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using T3.Core.Utils;
|
||||
|
||||
namespace Lib.render.basic;
|
||||
|
||||
[Guid("ff37499b-2550-4795-83fd-626ba6d2f2fb")]
|
||||
internal sealed class DrawScreenQuadAdvanced :Instance<DrawScreenQuadAdvanced>{
|
||||
[Output(Guid = "e7d7d91a-2616-4fe7-ba89-02bf4288458c")]
|
||||
public readonly Slot<Command> Output = new();
|
||||
|
||||
[Input(Guid = "5dc5ef82-ec67-4d30-acfc-0d05fd1e66b9")]
|
||||
public readonly InputSlot<Texture2D> Texture = new();
|
||||
|
||||
[Input(Guid = "0a7c5acd-ae50-47a7-98e5-432b658a8bbd")]
|
||||
public readonly InputSlot<Vector4> Color = new();
|
||||
|
||||
[Input(Guid = "467410b1-5fc8-4448-8eb4-6383f1c98bf4")]
|
||||
public readonly InputSlot<float> Width = new();
|
||||
|
||||
[Input(Guid = "52ba1d58-ce0d-432c-b131-6db1ff0277d9")]
|
||||
public readonly InputSlot<float> Height = new();
|
||||
|
||||
[Input(Guid = "cb98de8e-8896-4314-a8d3-87580d91d5d4", MappedType = typeof(SharedEnums.BlendModes))]
|
||||
public readonly InputSlot<int> BlendMode = new();
|
||||
|
||||
[Input(Guid = "8de08b8e-8230-4126-8aba-89125ed559c0")]
|
||||
public readonly InputSlot<bool> EnableDepthTest = new();
|
||||
|
||||
[Input(Guid = "3bc5a88f-1102-4e0d-84d8-da6c206886e6")]
|
||||
public readonly InputSlot<bool> EnableDepthWrite = new();
|
||||
|
||||
[Input(Guid = "5a2e54a4-eaab-4ebc-928f-44f0373d5f39")]
|
||||
public readonly InputSlot<Vector2> Position = new();
|
||||
|
||||
[Input(Guid = "0b216554-21b6-433b-88c4-541d7030ba3e")]
|
||||
public readonly InputSlot<Filter> Filter = new();
|
||||
|
||||
[Input(Guid = "b5e29ca1-4431-40b9-9881-aa03d008dee2")]
|
||||
public readonly InputSlot<T3.Core.DataTypes.Texture2D> DepthBuffer = new InputSlot<T3.Core.DataTypes.Texture2D>();
|
||||
}
|
||||
@@ -0,0 +1,522 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "ff37499b-2550-4795-83fd-626ba6d2f2fb"/*DrawScreenQuadAdvanced*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "0a7c5acd-ae50-47a7-98e5-432b658a8bbd"/*Color*/,
|
||||
"DefaultValue": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "0b216554-21b6-433b-88c4-541d7030ba3e"/*Filter*/,
|
||||
"DefaultValue": "MinMagMipLinear"
|
||||
},
|
||||
{
|
||||
"Id": "3bc5a88f-1102-4e0d-84d8-da6c206886e6"/*EnableDepthWrite*/,
|
||||
"DefaultValue": true
|
||||
},
|
||||
{
|
||||
"Id": "467410b1-5fc8-4448-8eb4-6383f1c98bf4"/*Width*/,
|
||||
"DefaultValue": 1.0
|
||||
},
|
||||
{
|
||||
"Id": "52ba1d58-ce0d-432c-b131-6db1ff0277d9"/*Height*/,
|
||||
"DefaultValue": 1.0
|
||||
},
|
||||
{
|
||||
"Id": "5a2e54a4-eaab-4ebc-928f-44f0373d5f39"/*Position*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "5dc5ef82-ec67-4d30-acfc-0d05fd1e66b9"/*Texture*/,
|
||||
"DefaultValue": null
|
||||
},
|
||||
{
|
||||
"Id": "8de08b8e-8230-4126-8aba-89125ed559c0"/*EnableDepthTest*/,
|
||||
"DefaultValue": true
|
||||
},
|
||||
{
|
||||
"Id": "b5e29ca1-4431-40b9-9881-aa03d008dee2"/*DepthBuffer*/,
|
||||
"DefaultValue": null
|
||||
},
|
||||
{
|
||||
"Id": "cb98de8e-8896-4314-a8d3-87580d91d5d4"/*BlendMode*/,
|
||||
"DefaultValue": 0
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "186afa26-87bd-4104-815a-a491e9a06148"/*Rasterizer*/,
|
||||
"SymbolId": "fbd7f0f0-36a3-4fbb-91e1-cb33d4666d09",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "1fd09e91-f04e-4d24-8265-55bf9c3f2001"/*Vector4Components*/,
|
||||
"SymbolId": "b15e4950-5c72-4655-84bc-c00647319030",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "980ef785-6ae2-44d1-803e-febfc75791c5"/*Value*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.9999943,
|
||||
"Y": 1.0,
|
||||
"Z": 0.99999,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "1fee6d3b-958c-48b7-9ff0-5258822feb5e"/*FloatsToBuffer*/,
|
||||
"SymbolId": "724da755-2d0c-42ab-8335-8c88ec5fb078",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "240cfc23-e18f-4277-ada6-a28a1a887017"/*InputAssemblerStage*/,
|
||||
"SymbolId": "9d1266c5-23db-439f-a475-8000fdd1c318",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "273c376f-7f4b-45f8-9be8-6c78982aab28"/*VertexShaderStage*/,
|
||||
"SymbolId": "a9600440-4203-4315-bdb1-4dfd603b4515",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "45a39462-4d20-4d78-900b-9eac69b50e5d"/*UseFallbackTexture*/,
|
||||
"SymbolId": "b470fdf9-ac0b-4eb9-9600-453b8c094e3f",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "4fceaada-adc6-43cc-91b1-75211d1e3a2d"/*OutputMergerStage*/,
|
||||
"SymbolId": "5efaf208-ba62-42ce-b3df-059b37fc1382",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "ccee2ec3-586f-4396-8b20-cc99484e1b64"/*BlendFactor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.99999,
|
||||
"Z": 0.99999,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "52e99137-ae19-4952-9e7b-a26d283cde11"/*SamplerState*/,
|
||||
"SymbolId": "9515d59d-0bd5-406b-96da-6a5f60215700",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "93d8bf26-5067-4ccc-b4cb-e03970686462"/*AddressW*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "a870921f-a28c-4501-9f31-38a18b0acdcc"/*Filter*/,
|
||||
"Type": "SharpDX.Direct3D11.Filter",
|
||||
"Value": "MinMagMipLinear"
|
||||
},
|
||||
{
|
||||
"Id": "e7c95fd5-14d1-434f-a140-f22ef69076ab"/*AddressU*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "fdeb503f-09c6-48d1-8853-7426f68cdec3"/*AddressV*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "662149ff-26f3-49c1-997a-f062180e5b95"/*LoadImage*/,
|
||||
"SymbolId": "0b3436db-e283-436e-ba85-2f3a1de76a9d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "76cc3811-4ae0-48b2-a119-890db5a4eeb2"/*Path*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:images/basic/white-pixel.png"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7012d720-d773-428b-a774-a923aedcda8c"/*SrvFromTexture2d*/,
|
||||
"SymbolId": "c2078514-cf1d-439c-a732-0d7b31b5084a",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "74ac9f5f-baa7-4f21-8f8f-23dbfe1d4ea6"/*Draw*/,
|
||||
"SymbolId": "9b28e6b9-1d1f-42d8-8a9e-33497b1df820",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8716b11a-ef71-437e-9930-bb747da818a7"/*VertexCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 6
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "83a45caa-f23f-4884-b0df-b1b1c207d3fd"/*PixelShaderStage*/,
|
||||
"SymbolId": "75306997-4329-44e9-a17a-050dae532182",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8fc922fd-d101-4ff8-8435-a267122191fe"/*PixelShader*/,
|
||||
"SymbolId": "f7c625da-fede-4993-976c-e259e0ee4985",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "24646f06-1509-43ce-94c6-eeb608ad97cd"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/img/analyze/vs-draw-viewport-quad-advanced.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "501338b3-f432-49a5-bdbd-bcf209671305"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "psMain"
|
||||
},
|
||||
{
|
||||
"Id": "be9b3dc1-7122-4b3d-b936-cccf2581b69e"/*DebugName*/,
|
||||
"Type": "System.String",
|
||||
"Value": "ps-quad-no-geo"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "957bed1c-ad73-4f26-a155-a6927897434b"/*Execute*/,
|
||||
"SymbolId": "936e4324-bea2-463a-b196-6064a2d8a6b2",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "99278f36-8dff-4511-8acb-0a495e7bb7bb"/*SrvFromTexture2d*/,
|
||||
"SymbolId": "c2078514-cf1d-439c-a732-0d7b31b5084a",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9f3d40d9-5a2c-41ef-9cc5-715b5a4a6ff9"/*DepthStencilState*/,
|
||||
"SymbolId": "04858a08-f0fe-4536-9152-686659f0ab58",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "2342df71-a162-4db7-afc3-514916239897"/*EnableZWrite*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a6e3c940-8b8a-4db0-9769-c1ec554bfbc3"/*RasterizerState*/,
|
||||
"SymbolId": "c7283335-ef57-46ad-9538-abbade65845a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "03f3bc7f-3949-4a97-88cf-04e162cfa2f7"/*CullMode*/,
|
||||
"Type": "SharpDX.Direct3D11.CullMode",
|
||||
"Value": "None"
|
||||
},
|
||||
{
|
||||
"Id": "31319fb4-8663-4908-95b8-e5d5a95f15b2"/*FrontCounterClockwise*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "c4b99b0d-3408-442e-918f-b580f92e7320"/*FirstValidTexture*/,
|
||||
"SymbolId": "db73b47d-3d42-4b17-b8fd-08b6f1286716",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "cdced849-c62b-454a-98d8-67127a2b75ff"/*VertexShader*/,
|
||||
"SymbolId": "646f5988-0a76-4996-a538-ba48054fd0ad",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "78fb7501-74d9-4a27-8db2-596f25482c87"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/img/analyze/vs-draw-viewport-quad-advanced.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "9a8b500e-c3b1-4be1-8270-202ef3f90793"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "vsMain"
|
||||
},
|
||||
{
|
||||
"Id": "c8a59cf8-6612-4d57-bcfd-3aeea351ba50"/*DebugName*/,
|
||||
"Type": "System.String",
|
||||
"Value": "vs-quad-no-geo"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f8b9a29b-a5ff-4dcd-aa08-6163ebb0952a"/*PickBlendMode*/,
|
||||
"SymbolId": "fd9bffd3-5c57-462f-8761-85f94c5a629b",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "fb7c6a4b-c30e-4ff9-bb61-36ccdcd19b9e"/*Vector2Components*/,
|
||||
"SymbolId": "0946c48b-85d8-4072-8f21-11d17cc6f6cf",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "957bed1c-ad73-4f26-a155-a6927897434b",
|
||||
"SourceSlotId": "e81c99ce-fcee-4e7c-a1c7-0aa3b352b7e1",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "e7d7d91a-2616-4fe7-ba89-02bf4288458c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a6e3c940-8b8a-4db0-9769-c1ec554bfbc3",
|
||||
"SourceSlotId": "b409694a-0980-4992-8525-01871b940cd7",
|
||||
"TargetParentOrChildId": "186afa26-87bd-4104-815a-a491e9a06148",
|
||||
"TargetSlotId": "35a52074-1e82-4352-91c3-d8e464f73bc7"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "0a7c5acd-ae50-47a7-98e5-432b658a8bbd",
|
||||
"TargetParentOrChildId": "1fd09e91-f04e-4d24-8265-55bf9c3f2001",
|
||||
"TargetSlotId": "980ef785-6ae2-44d1-803e-febfc75791c5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1fd09e91-f04e-4d24-8265-55bf9c3f2001",
|
||||
"SourceSlotId": "cfb58526-0053-4bca-aa85-d83823efba96",
|
||||
"TargetParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1fd09e91-f04e-4d24-8265-55bf9c3f2001",
|
||||
"SourceSlotId": "2f8e90dd-ba03-43dc-82a2-8d817df45cc7",
|
||||
"TargetParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1fd09e91-f04e-4d24-8265-55bf9c3f2001",
|
||||
"SourceSlotId": "162bb4fe-3c59-45c2-97cc-ecba85c1b275",
|
||||
"TargetParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1fd09e91-f04e-4d24-8265-55bf9c3f2001",
|
||||
"SourceSlotId": "e1dede5f-6963-4bcc-aa12-abeb819bb5da",
|
||||
"TargetParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "fb7c6a4b-c30e-4ff9-bb61-36ccdcd19b9e",
|
||||
"SourceSlotId": "1cee5adb-8c3c-4575-bdd6-5669c04d55ce",
|
||||
"TargetParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "fb7c6a4b-c30e-4ff9-bb61-36ccdcd19b9e",
|
||||
"SourceSlotId": "305d321d-3334-476a-9fa3-4847912a4c58",
|
||||
"TargetParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "467410b1-5fc8-4448-8eb4-6383f1c98bf4",
|
||||
"TargetParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "52ba1d58-ce0d-432c-b131-6db1ff0277d9",
|
||||
"TargetParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "99278f36-8dff-4511-8acb-0a495e7bb7bb",
|
||||
"SourceSlotId": "dc71f39f-3fba-4fc6-b8ef-ce57c82bf78e",
|
||||
"TargetParentOrChildId": "273c376f-7f4b-45f8-9be8-6c78982aab28",
|
||||
"TargetSlotId": "3a0bea89-bd93-4594-b1b6-3e25689c67e6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7012d720-d773-428b-a774-a923aedcda8c",
|
||||
"SourceSlotId": "dc71f39f-3fba-4fc6-b8ef-ce57c82bf78e",
|
||||
"TargetParentOrChildId": "273c376f-7f4b-45f8-9be8-6c78982aab28",
|
||||
"TargetSlotId": "3a0bea89-bd93-4594-b1b6-3e25689c67e6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "cdced849-c62b-454a-98d8-67127a2b75ff",
|
||||
"SourceSlotId": "ed31838b-14b5-4875-a0fc-dc427e874362",
|
||||
"TargetParentOrChildId": "273c376f-7f4b-45f8-9be8-6c78982aab28",
|
||||
"TargetSlotId": "b1c236e5-6757-4d77-9911-e3acd5ea9fe9"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"SourceSlotId": "f5531ffb-dbde-45d3-af2a-bd90bcbf3710",
|
||||
"TargetParentOrChildId": "273c376f-7f4b-45f8-9be8-6c78982aab28",
|
||||
"TargetSlotId": "bba8f6eb-7cff-435b-ab47-febf58dd8fba"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "662149ff-26f3-49c1-997a-f062180e5b95",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "45a39462-4d20-4d78-900b-9eac69b50e5d",
|
||||
"TargetSlotId": "38b478fa-c431-4dc1-80ef-d6c53c90389e"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "5dc5ef82-ec67-4d30-acfc-0d05fd1e66b9",
|
||||
"TargetParentOrChildId": "45a39462-4d20-4d78-900b-9eac69b50e5d",
|
||||
"TargetSlotId": "91bffbba-b815-44d7-8f93-3238376935bf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9f3d40d9-5a2c-41ef-9cc5-715b5a4a6ff9",
|
||||
"SourceSlotId": "26e300cd-2dbe-49f2-aab5-a60317df5434",
|
||||
"TargetParentOrChildId": "4fceaada-adc6-43cc-91b1-75211d1e3a2d",
|
||||
"TargetSlotId": "1d5faad5-3be5-426c-b464-ad490ea3d1aa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f8b9a29b-a5ff-4dcd-aa08-6163ebb0952a",
|
||||
"SourceSlotId": "a42dd1c5-886c-4fa9-bf69-8b6321a48930",
|
||||
"TargetParentOrChildId": "4fceaada-adc6-43cc-91b1-75211d1e3a2d",
|
||||
"TargetSlotId": "e0bc9cf8-42c8-4632-b958-7a96f6d03ba2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "0b216554-21b6-433b-88c4-541d7030ba3e",
|
||||
"TargetParentOrChildId": "52e99137-ae19-4952-9e7b-a26d283cde11",
|
||||
"TargetSlotId": "a870921f-a28c-4501-9f31-38a18b0acdcc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c4b99b0d-3408-442e-918f-b580f92e7320",
|
||||
"SourceSlotId": "3d3d2dbd-dadc-492d-bf03-b780b21e738e",
|
||||
"TargetParentOrChildId": "7012d720-d773-428b-a774-a923aedcda8c",
|
||||
"TargetSlotId": "d5afa102-2f88-431e-9cd4-af91e41f88f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8fc922fd-d101-4ff8-8435-a267122191fe",
|
||||
"SourceSlotId": "9c6e72f8-5ce6-42c3-abaa-1829d2c066c1",
|
||||
"TargetParentOrChildId": "83a45caa-f23f-4884-b0df-b1b1c207d3fd",
|
||||
"TargetSlotId": "1b9be6eb-96c8-4b1c-b854-99b64eaf5618"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "99278f36-8dff-4511-8acb-0a495e7bb7bb",
|
||||
"SourceSlotId": "dc71f39f-3fba-4fc6-b8ef-ce57c82bf78e",
|
||||
"TargetParentOrChildId": "83a45caa-f23f-4884-b0df-b1b1c207d3fd",
|
||||
"TargetSlotId": "50052906-4691-4a84-a69d-a109044b5300"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7012d720-d773-428b-a774-a923aedcda8c",
|
||||
"SourceSlotId": "dc71f39f-3fba-4fc6-b8ef-ce57c82bf78e",
|
||||
"TargetParentOrChildId": "83a45caa-f23f-4884-b0df-b1b1c207d3fd",
|
||||
"TargetSlotId": "50052906-4691-4a84-a69d-a109044b5300"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e",
|
||||
"SourceSlotId": "f5531ffb-dbde-45d3-af2a-bd90bcbf3710",
|
||||
"TargetParentOrChildId": "83a45caa-f23f-4884-b0df-b1b1c207d3fd",
|
||||
"TargetSlotId": "be02a84b-a666-4119-bb6e-fee1a3df0981"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "52e99137-ae19-4952-9e7b-a26d283cde11",
|
||||
"SourceSlotId": "0e45c596-c80f-4927-941f-e3199401aa10",
|
||||
"TargetParentOrChildId": "83a45caa-f23f-4884-b0df-b1b1c207d3fd",
|
||||
"TargetSlotId": "c4e91bc6-1691-4eb4-aed5-dd4cae528149"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "240cfc23-e18f-4277-ada6-a28a1a887017",
|
||||
"SourceSlotId": "18cae035-c050-4f98-9e5e-b3a6db70dda7",
|
||||
"TargetParentOrChildId": "957bed1c-ad73-4f26-a155-a6927897434b",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "273c376f-7f4b-45f8-9be8-6c78982aab28",
|
||||
"SourceSlotId": "65b394a9-06dc-4d9b-8819-15394ede2997",
|
||||
"TargetParentOrChildId": "957bed1c-ad73-4f26-a155-a6927897434b",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "186afa26-87bd-4104-815a-a491e9a06148",
|
||||
"SourceSlotId": "c723ad69-ff0c-47b2-9327-bd27c0d7b6d1",
|
||||
"TargetParentOrChildId": "957bed1c-ad73-4f26-a155-a6927897434b",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "83a45caa-f23f-4884-b0df-b1b1c207d3fd",
|
||||
"SourceSlotId": "76e7ad5d-a31d-4b1f-9c42-b63c5161117c",
|
||||
"TargetParentOrChildId": "957bed1c-ad73-4f26-a155-a6927897434b",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "4fceaada-adc6-43cc-91b1-75211d1e3a2d",
|
||||
"SourceSlotId": "cee8c3f0-64ea-4e4d-b967-ec7e3688dd03",
|
||||
"TargetParentOrChildId": "957bed1c-ad73-4f26-a155-a6927897434b",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "74ac9f5f-baa7-4f21-8f8f-23dbfe1d4ea6",
|
||||
"SourceSlotId": "49b28dc3-fcd1-4067-bc83-e1cc848ae55c",
|
||||
"TargetParentOrChildId": "957bed1c-ad73-4f26-a155-a6927897434b",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "45a39462-4d20-4d78-900b-9eac69b50e5d",
|
||||
"SourceSlotId": "778f4eac-24ef-4e93-b864-39f150ab6cb2",
|
||||
"TargetParentOrChildId": "99278f36-8dff-4511-8acb-0a495e7bb7bb",
|
||||
"TargetSlotId": "d5afa102-2f88-431e-9cd4-af91e41f88f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "3bc5a88f-1102-4e0d-84d8-da6c206886e6",
|
||||
"TargetParentOrChildId": "9f3d40d9-5a2c-41ef-9cc5-715b5a4a6ff9",
|
||||
"TargetSlotId": "2342df71-a162-4db7-afc3-514916239897"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "8de08b8e-8230-4126-8aba-89125ed559c0",
|
||||
"TargetParentOrChildId": "9f3d40d9-5a2c-41ef-9cc5-715b5a4a6ff9",
|
||||
"TargetSlotId": "956b735b-c38a-4e8e-8186-caf4d36d4d20"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "b5e29ca1-4431-40b9-9881-aa03d008dee2",
|
||||
"TargetParentOrChildId": "c4b99b0d-3408-442e-918f-b580f92e7320",
|
||||
"TargetSlotId": "1725f61d-44e5-4718-9331-f6520f105657"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "662149ff-26f3-49c1-997a-f062180e5b95",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "c4b99b0d-3408-442e-918f-b580f92e7320",
|
||||
"TargetSlotId": "1725f61d-44e5-4718-9331-f6520f105657"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "cb98de8e-8896-4314-a8d3-87580d91d5d4",
|
||||
"TargetParentOrChildId": "f8b9a29b-a5ff-4dcd-aa08-6163ebb0952a",
|
||||
"TargetSlotId": "30b58444-0485-4116-8b15-7e62fee69eaa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "5a2e54a4-eaab-4ebc-928f-44f0373d5f39",
|
||||
"TargetParentOrChildId": "fb7c6a4b-c30e-4ff9-bb61-36ccdcd19b9e",
|
||||
"TargetSlotId": "36f14238-5bb8-4521-9533-f4d1e8fb802b"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,264 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "ff37499b-2550-4795-83fd-626ba6d2f2fb"/*DrawScreenQuadAdvanced*/,
|
||||
"Description": "Just like DrawScreecQuad but with Depth and Normal buffer support for special FX.",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "0a7c5acd-ae50-47a7-98e5-432b658a8bbd"/*Color*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 219.10832
|
||||
},
|
||||
"Description": "Selects a color which will be multiplied with the incoming image.",
|
||||
"AddPadding": "True",
|
||||
"Scale": 0.01
|
||||
},
|
||||
{
|
||||
"InputId": "0b216554-21b6-433b-88c4-541d7030ba3e"/*Filter*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 544.10834
|
||||
},
|
||||
"GroupTitle": "Advanced Options",
|
||||
"Description": "Selects which Filter is used for rendering the incoming texture"
|
||||
},
|
||||
{
|
||||
"InputId": "3bc5a88f-1102-4e0d-84d8-da6c206886e6"/*EnableDepthWrite*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 454.10834
|
||||
},
|
||||
"Description": "This defines whether the Quad covers itself or is covered by or covers other meshes."
|
||||
},
|
||||
{
|
||||
"InputId": "467410b1-5fc8-4448-8eb4-6383f1c98bf4"/*Width*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 269.10834
|
||||
},
|
||||
"Description": "Multiplier for Width",
|
||||
"AddPadding": "True",
|
||||
"Scale": 0.01
|
||||
},
|
||||
{
|
||||
"InputId": "52ba1d58-ce0d-432c-b131-6db1ff0277d9"/*Height*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 319.10834
|
||||
},
|
||||
"Description": "Multiplier for Height",
|
||||
"Scale": 0.01
|
||||
},
|
||||
{
|
||||
"InputId": "5a2e54a4-eaab-4ebc-928f-44f0373d5f39"/*Position*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 499.10834
|
||||
},
|
||||
"Description": "Manipulates the position of the Quad\nX = Right / Left\nY = Up / Down",
|
||||
"AddPadding": "True",
|
||||
"Scale": 0.01
|
||||
},
|
||||
{
|
||||
"InputId": "5dc5ef82-ec67-4d30-acfc-0d05fd1e66b9"/*Texture*/,
|
||||
"Relevancy": "Relevant",
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 163.10832
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "8de08b8e-8230-4126-8aba-89125ed559c0"/*EnableDepthTest*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 409.10834
|
||||
},
|
||||
"Description": "This defines whether the Quad covers itself or is covered by or covers other meshes.",
|
||||
"AddPadding": "True"
|
||||
},
|
||||
{
|
||||
"InputId": "b5e29ca1-4431-40b9-9881-aa03d008dee2"/*DepthBuffer*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 619.10834
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "cb98de8e-8896-4314-a8d3-87580d91d5d4"/*BlendMode*/,
|
||||
"Position": {
|
||||
"X": -158.25935,
|
||||
"Y": 364.10834
|
||||
},
|
||||
"GroupTitle": "Options",
|
||||
"Description": "Selects the Blend mode"
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "186afa26-87bd-4104-815a-a491e9a06148"/*Rasterizer*/,
|
||||
"Position": {
|
||||
"X": 816.2118,
|
||||
"Y": 132.83188
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1fd09e91-f04e-4d24-8265-55bf9c3f2001"/*Vector4Components*/,
|
||||
"Position": {
|
||||
"X": 427.89914,
|
||||
"Y": 223.50838
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1fee6d3b-958c-48b7-9ff0-5258822feb5e"/*FloatsToBuffer*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 116.1401,
|
||||
"Y": 128.82043
|
||||
},
|
||||
"Position": {
|
||||
"X": 607.8124,
|
||||
"Y": 216.16548
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "240cfc23-e18f-4277-ada6-a28a1a887017"/*InputAssemblerStage*/,
|
||||
"Position": {
|
||||
"X": 823.0274,
|
||||
"Y": -53.508522
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "273c376f-7f4b-45f8-9be8-6c78982aab28"/*VertexShaderStage*/,
|
||||
"Position": {
|
||||
"X": 823.0274,
|
||||
"Y": -10.508526
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "45a39462-4d20-4d78-900b-9eac69b50e5d"/*UseFallbackTexture*/,
|
||||
"Position": {
|
||||
"X": 237.20413,
|
||||
"Y": -48.019855
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4fceaada-adc6-43cc-91b1-75211d1e3a2d"/*OutputMergerStage*/,
|
||||
"Position": {
|
||||
"X": 810.8517,
|
||||
"Y": 373.7809
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "52e99137-ae19-4952-9e7b-a26d283cde11"/*SamplerState*/,
|
||||
"Position": {
|
||||
"X": 607.8124,
|
||||
"Y": 570.0172
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "662149ff-26f3-49c1-997a-f062180e5b95"/*LoadImage*/,
|
||||
"Position": {
|
||||
"X": 69.60883,
|
||||
"Y": 87.99952
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7012d720-d773-428b-a774-a923aedcda8c"/*SrvFromTexture2d*/,
|
||||
"Position": {
|
||||
"X": 326.3133,
|
||||
"Y": 646.2595
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "74ac9f5f-baa7-4f21-8f8f-23dbfe1d4ea6"/*Draw*/,
|
||||
"Position": {
|
||||
"X": 810.8517,
|
||||
"Y": 442.7809
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "83a45caa-f23f-4884-b0df-b1b1c207d3fd"/*PixelShaderStage*/,
|
||||
"Position": {
|
||||
"X": 816.2118,
|
||||
"Y": 188.83188
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8fc922fd-d101-4ff8-8435-a267122191fe"/*PixelShader*/,
|
||||
"Position": {
|
||||
"X": 639.2975,
|
||||
"Y": 101.4515
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "957bed1c-ad73-4f26-a155-a6927897434b"/*Execute*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 114.093414,
|
||||
"Y": 496.73483
|
||||
},
|
||||
"Position": {
|
||||
"X": 1012.4035,
|
||||
"Y": -61.03902
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "99278f36-8dff-4511-8acb-0a495e7bb7bb"/*SrvFromTexture2d*/,
|
||||
"Position": {
|
||||
"X": 454.18555,
|
||||
"Y": 170.9402
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9f3d40d9-5a2c-41ef-9cc5-715b5a4a6ff9"/*DepthStencilState*/,
|
||||
"Position": {
|
||||
"X": 615.2267,
|
||||
"Y": 427.60944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a6e3c940-8b8a-4db0-9769-c1ec554bfbc3"/*RasterizerState*/,
|
||||
"Position": {
|
||||
"X": 639.2975,
|
||||
"Y": 45.451492
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c4b99b0d-3408-442e-918f-b580f92e7320"/*FirstValidTexture*/,
|
||||
"Position": {
|
||||
"X": 117.11191,
|
||||
"Y": 639.94824
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cdced849-c62b-454a-98d8-67127a2b75ff"/*VertexShader*/,
|
||||
"Position": {
|
||||
"X": 639.2975,
|
||||
"Y": 2.451492
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f8b9a29b-a5ff-4dcd-aa08-6163ebb0952a"/*PickBlendMode*/,
|
||||
"Position": {
|
||||
"X": 615.2267,
|
||||
"Y": 496.60944
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "fb7c6a4b-c30e-4ff9-bb61-36ccdcd19b9e"/*Vector2Components*/,
|
||||
"Position": {
|
||||
"X": 427.89914,
|
||||
"Y": 279.50836
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "e7d7d91a-2616-4fe7-ba89-02bf4288458c"/*Output*/,
|
||||
"Position": {
|
||||
"X": 1306.0349,
|
||||
"Y": -57.969704
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
using T3.Core.Utils;
|
||||
|
||||
namespace Lib.render.basic;
|
||||
|
||||
[Guid("d14233a2-8240-47d3-bb92-0854f6d3b218")]
|
||||
internal sealed class DustParticles : Instance<DustParticles>
|
||||
{
|
||||
[Output(Guid = "846bc771-7367-48e2-8389-206e2ee5c063")]
|
||||
public readonly Slot<Command> Output = new();
|
||||
|
||||
[Input(Guid = "f084ae44-d69a-48c3-936b-b89e310ca185")]
|
||||
public readonly InputSlot<bool> Refresh = new InputSlot<bool>();
|
||||
|
||||
[Input(Guid = "df0a84c2-a1e9-492f-903a-5ef7511c6ec8")]
|
||||
public readonly InputSlot<int> Count = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "c42d8124-d656-4b52-864f-9c9d888e0c54")]
|
||||
public readonly InputSlot<float> WrapSize = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "e3a995dc-ec77-439c-8aed-e47df5e2b923")]
|
||||
public readonly InputSlot<Vector3> OffsetVolume = new InputSlot<Vector3>();
|
||||
|
||||
[Input(Guid = "e92432c8-6ceb-494b-9cf4-b21191567b29")]
|
||||
public readonly InputSlot<Vector4> Color = new InputSlot<Vector4>();
|
||||
|
||||
[Input(Guid = "70f0f867-a4de-44da-b8e3-a7e95e1740a3")]
|
||||
public readonly InputSlot<float> Size = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "9ef1f3f7-da31-408b-b563-7d6c089278c7")]
|
||||
public readonly InputSlot<Vector3> Gravity = new InputSlot<Vector3>();
|
||||
|
||||
[Input(Guid = "0744e03b-9df3-4a5e-9cfa-f522d9d946ea")]
|
||||
public readonly InputSlot<float> NoiseAmount = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "10fa40ee-c6f6-4f6b-bf70-54eeb4c11891")]
|
||||
public readonly InputSlot<float> NoiseFrequency = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "3783617d-17d5-4052-b732-60c61948ca1f")]
|
||||
public readonly InputSlot<float> NoiseVariation = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "cee8f890-4ea3-4f58-9940-156c93c7bc1f")]
|
||||
public readonly InputSlot<float> Phase = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "bafd96cc-c886-4392-8f57-592cb8651181")]
|
||||
public readonly InputSlot<int> TrailLength = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "fd8340d5-b604-4605-9c3a-a57477d85919")]
|
||||
public readonly InputSlot<Vector4> TrailColor = new InputSlot<Vector4>();
|
||||
|
||||
[Input(Guid = "31cfdca2-7f14-4c88-93ca-6f160829ca78")]
|
||||
public readonly InputSlot<float> TrailWidth = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "49337c9b-7016-4093-b695-f7d1dd948fa1")]
|
||||
public readonly InputSlot<float> FadeNearest = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "60b17724-e469-463f-9700-745b4d45d6ff")]
|
||||
public readonly InputSlot<bool> EnableZWrite = new InputSlot<bool>();
|
||||
|
||||
[Input(Guid = "a8f0a422-4846-48ad-8756-9d542b3141d3", MappedType = typeof(SharedEnums.BlendModes))]
|
||||
public readonly InputSlot<int> BlendMode = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "9b42caa4-040a-4f83-8822-bc5bfbdff334")]
|
||||
public readonly InputSlot<Texture2D> Texture_ = new InputSlot<Texture2D>();
|
||||
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,419 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "d14233a2-8240-47d3-bb92-0854f6d3b218"/*DustParticles*/,
|
||||
"Description": "Creates a volume around the camera in which points that behave like dust or snow are spawned and repeated / wrapped infinitely.\n\nTip: This effect can be combined with [SetFog], [DepthOfField], [MotionBlur] among others.",
|
||||
"SymbolTags": "1",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "0744e03b-9df3-4a5e-9cfa-f522d9d946ea"/*NoiseAmount*/,
|
||||
"Position": {
|
||||
"X": -1359.4902,
|
||||
"Y": 400.22437
|
||||
},
|
||||
"Description": "Changes the speed of the noise animation",
|
||||
"AddPadding": "True"
|
||||
},
|
||||
{
|
||||
"InputId": "10fa40ee-c6f6-4f6b-bf70-54eeb4c11891"/*NoiseFrequency*/,
|
||||
"Position": {
|
||||
"X": -1359.4902,
|
||||
"Y": 445.22437
|
||||
},
|
||||
"Description": "Changes the granularity of the noise\nHigher values create many small spatially limited turbulences\nLower values create movements that affect more particles at the same time",
|
||||
"Min": 0.0,
|
||||
"Max": 3.0
|
||||
},
|
||||
{
|
||||
"InputId": "31cfdca2-7f14-4c88-93ca-6f160829ca78"/*TrailWidth*/,
|
||||
"Position": {
|
||||
"X": -1358.6415,
|
||||
"Y": 719.25867
|
||||
},
|
||||
"Description": "Changes the thickness of the trails"
|
||||
},
|
||||
{
|
||||
"InputId": "3783617d-17d5-4052-b732-60c61948ca1f"/*NoiseVariation*/,
|
||||
"Position": {
|
||||
"X": -1359.4902,
|
||||
"Y": 490.22437
|
||||
},
|
||||
"Description": "Adds a per-particle noise variation"
|
||||
},
|
||||
{
|
||||
"InputId": "49337c9b-7016-4093-b695-f7d1dd948fa1"/*FadeNearest*/,
|
||||
"Position": {
|
||||
"X": -1380.4293,
|
||||
"Y": 1343.5939
|
||||
},
|
||||
"GroupTitle": "Rendering...",
|
||||
"Description": "Defines how close to the camera the particles start to fade out"
|
||||
},
|
||||
{
|
||||
"InputId": "60b17724-e469-463f-9700-745b4d45d6ff"/*EnableZWrite*/,
|
||||
"Position": {
|
||||
"X": -1380.4293,
|
||||
"Y": 1388.5939
|
||||
},
|
||||
"Description": "Enables / disables Z-writing / sorting"
|
||||
},
|
||||
{
|
||||
"InputId": "70f0f867-a4de-44da-b8e3-a7e95e1740a3"/*Size*/,
|
||||
"Position": {
|
||||
"X": -1411.95,
|
||||
"Y": 224.68898
|
||||
},
|
||||
"Description": "Defines the size of the particles"
|
||||
},
|
||||
{
|
||||
"InputId": "9b42caa4-040a-4f83-8822-bc5bfbdff334"/*Texture_*/,
|
||||
"Position": {
|
||||
"X": -1380.4293,
|
||||
"Y": 1568.5939
|
||||
},
|
||||
"Description": "Input for a custom texture which overrides the default point / blob"
|
||||
},
|
||||
{
|
||||
"InputId": "9ef1f3f7-da31-408b-b563-7d6c089278c7"/*Gravity*/,
|
||||
"Position": {
|
||||
"X": -1359.4902,
|
||||
"Y": 355.22437
|
||||
},
|
||||
"GroupTitle": "Movement",
|
||||
"Description": "Adds a linear force in the defined axis",
|
||||
"Min": -0.1,
|
||||
"Max": 0.1,
|
||||
"Scale": 0.001
|
||||
},
|
||||
{
|
||||
"InputId": "a8f0a422-4846-48ad-8756-9d542b3141d3"/*BlendMode*/,
|
||||
"Position": {
|
||||
"X": -1380.4293,
|
||||
"Y": 1433.5939
|
||||
},
|
||||
"Description": "Defines what blend mode is used to render the particles"
|
||||
},
|
||||
{
|
||||
"InputId": "bafd96cc-c886-4392-8f57-592cb8651181"/*TrailLength*/,
|
||||
"Position": {
|
||||
"X": -1358.6415,
|
||||
"Y": 629.25867
|
||||
},
|
||||
"GroupTitle": "Trails...",
|
||||
"Description": "Adds a tail of particles to each particle",
|
||||
"Min": 0,
|
||||
"Max": 250,
|
||||
"Scale": 1.0,
|
||||
"ClampMin": true,
|
||||
"ClampMax": true
|
||||
},
|
||||
{
|
||||
"InputId": "c42d8124-d656-4b52-864f-9c9d888e0c54"/*WrapSize*/,
|
||||
"Position": {
|
||||
"X": -1430.8794,
|
||||
"Y": 35.643898
|
||||
},
|
||||
"Description": "Changes the size of the volume around the camera in which particles are spawned and repeated\nChanging this setting may require a refresh",
|
||||
"Min": 0.001,
|
||||
"Max": 15.0
|
||||
},
|
||||
{
|
||||
"InputId": "cee8f890-4ea3-4f58-9940-156c93c7bc1f"/*Phase*/,
|
||||
"Position": {
|
||||
"X": -1359.4902,
|
||||
"Y": 535.22437
|
||||
},
|
||||
"Description": "Changes the phase / random seed of the noise animation"
|
||||
},
|
||||
{
|
||||
"InputId": "df0a84c2-a1e9-492f-903a-5ef7511c6ec8"/*Count*/,
|
||||
"Position": {
|
||||
"X": -1430.8794,
|
||||
"Y": -9.356102
|
||||
},
|
||||
"Description": "Controls the number of particles\nChanging this setting may require a refresh",
|
||||
"AddPadding": "True",
|
||||
"Min": 1,
|
||||
"Max": 1000000,
|
||||
"Scale": 1.0,
|
||||
"ClampMin": true,
|
||||
"ClampMax": true
|
||||
},
|
||||
{
|
||||
"InputId": "e3a995dc-ec77-439c-8aed-e47df5e2b923"/*OffsetVolume*/,
|
||||
"Position": {
|
||||
"X": -1430.8794,
|
||||
"Y": 80.6439
|
||||
},
|
||||
"Description": "Offsets the volume that spawns and wraps the particles from the position of the camera",
|
||||
"AddPadding": "True"
|
||||
},
|
||||
{
|
||||
"InputId": "e92432c8-6ceb-494b-9cf4-b21191567b29"/*Color*/,
|
||||
"Position": {
|
||||
"X": -1411.95,
|
||||
"Y": 179.68898
|
||||
},
|
||||
"GroupTitle": "Appearance",
|
||||
"Description": "Defines the color of the particles"
|
||||
},
|
||||
{
|
||||
"InputId": "f084ae44-d69a-48c3-936b-b89e310ca185"/*Refresh*/,
|
||||
"Position": {
|
||||
"X": -1430.8794,
|
||||
"Y": -54.35611
|
||||
},
|
||||
"GroupTitle": "Particles",
|
||||
"Description": "If no particles are visible double-click to reset the particle simulation\n\nThis can become necessary if a change in parameters such as 'count' or 'WrapSize' results in no particles being displayed"
|
||||
},
|
||||
{
|
||||
"InputId": "fd8340d5-b604-4605-9c3a-a57477d85919"/*TrailColor*/,
|
||||
"Position": {
|
||||
"X": -1358.6415,
|
||||
"Y": 674.25867
|
||||
},
|
||||
"Description": "Defines the color of the trails"
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "03913539-5ce1-49e6-ab06-bc5dd216b1a5"/*DrawLines*/,
|
||||
"Position": {
|
||||
"X": 867.8562,
|
||||
"Y": 99.83624
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "0653f54c-801d-47f6-a7ee-755b263d1fe9"/*Vector3*/,
|
||||
"Position": {
|
||||
"X": -1028.6392,
|
||||
"Y": 30.537264
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "085c0ffd-4b48-4bf3-bd22-b8e4157633b6"/*PointTrailFast*/,
|
||||
"Position": {
|
||||
"X": 409.18695,
|
||||
"Y": 102.063416
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "319cc86f-7019-4997-af02-f3a08555a75f"/*WrapPointPosition*/,
|
||||
"Position": {
|
||||
"X": 109.18695,
|
||||
"Y": -73.483
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "43cec989-3d32-4d44-b4c5-904718e71a0e"/*FirstValidTexture*/,
|
||||
"Position": {
|
||||
"X": 708.25903,
|
||||
"Y": -228.4136
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "48546943-8316-4b1a-8784-769423edd162"/*SimNoiseOffset*/,
|
||||
"Position": {
|
||||
"X": -230.45512,
|
||||
"Y": -99.39815
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "57ff52b4-e0c0-4748-8c60-94738f4b69a5"/*Switch*/,
|
||||
"Position": {
|
||||
"X": 1007.62854,
|
||||
"Y": 90.491875
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "585cc761-eeb8-4bb6-8b2c-6e1a79d39042"/*IsGreater*/,
|
||||
"Position": {
|
||||
"X": 394.74597,
|
||||
"Y": 353.99835
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "58a01781-2520-4f35-9e08-70e7e3c74694"/*ClampInt*/,
|
||||
"Position": {
|
||||
"X": -1255.7656,
|
||||
"Y": -115.39193
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "5f26e011-9644-4ede-bd8c-3b1876a2d9c0"/*DrawRibbons*/,
|
||||
"Position": {
|
||||
"X": 969.5902,
|
||||
"Y": 410.70956
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "68884267-81da-49e0-a135-eee4b3c1c0aa"/*SimForceOffset*/,
|
||||
"Position": {
|
||||
"X": -40.162697,
|
||||
"Y": 33.94545
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6a721889-dd6e-4d0a-a4b6-1d80768b758b"/*Pow*/,
|
||||
"Position": {
|
||||
"X": -975.76526,
|
||||
"Y": -115.39193
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "864cb714-f4b3-495a-a6c6-b343ec67bac6"/*SoftTransformPoints*/,
|
||||
"Position": {
|
||||
"X": 425.28055,
|
||||
"Y": -180.02971
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8b419852-558c-4a83-8f1d-d50c877a0bd8"/*TransformPoints*/,
|
||||
"Position": {
|
||||
"X": 259.18695,
|
||||
"Y": -73.483
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8d70d06b-3e9f-4c1f-9e2b-094c0138d80e"/*Add*/,
|
||||
"Position": {
|
||||
"X": -350.79584,
|
||||
"Y": 65.33915
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "942872e0-f566-4522-902f-f98fc8edd171"/*BoolToInt*/,
|
||||
"Position": {
|
||||
"X": 524.746,
|
||||
"Y": 353.99835
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9d314d62-568c-456a-86e0-1879598b9e49"/*Once*/,
|
||||
"Position": {
|
||||
"X": -1034.161,
|
||||
"Y": 946.7127
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a9557d18-0866-410e-aef5-6554df41bb68"/*FloatToInt*/,
|
||||
"Position": {
|
||||
"X": -845.76526,
|
||||
"Y": -115.39193
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "af6aaf57-34f6-49f5-97bc-37caa9510047"/*Any*/,
|
||||
"Position": {
|
||||
"X": -793.385,
|
||||
"Y": 871.0593
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c195d1b0-fde7-457e-bd0a-e567039510fb"/*ScaleVector3*/,
|
||||
"Position": {
|
||||
"X": -84.36899,
|
||||
"Y": 239.42413
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c428f5e7-4657-4c26-95dd-d4c7f99a0fed"/*IntToFloat*/,
|
||||
"Position": {
|
||||
"X": -1105.7656,
|
||||
"Y": -115.39193
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "caf14bcb-6cb6-4aa4-857e-b729fca446e6"/*CamPosition*/,
|
||||
"Position": {
|
||||
"X": -651.45917,
|
||||
"Y": -234.60257
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ce69b69b-a9e7-47a2-8cee-de1ab1653bb6"/*Vector3*/,
|
||||
"Position": {
|
||||
"X": -184.51534,
|
||||
"Y": 323.44522
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d904ad75-b0f6-42ca-a323-74a9f93415ca"/*PointSimulation*/,
|
||||
"Position": {
|
||||
"X": -555.916,
|
||||
"Y": -100.81265
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d9f68d97-7934-4074-bac8-2393d6030c59"/*Execute*/,
|
||||
"Position": {
|
||||
"X": 1137.6284,
|
||||
"Y": 8.49187
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "dce134f5-eb18-46ed-8de9-3fb279b69438"/*HasIntChanged*/,
|
||||
"Position": {
|
||||
"X": -799.75165,
|
||||
"Y": -396.9695
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f1898073-d26a-4bb3-8480-134ae4260f40"/*_GridPoints_Old*/,
|
||||
"Position": {
|
||||
"X": -705.916,
|
||||
"Y": -100.81265
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f191a2f8-a555-4537-b0de-1475c0fe93ca"/*SimDirectionalOffset*/,
|
||||
"Position": {
|
||||
"X": -46.458603,
|
||||
"Y": -164.84517
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f4995f4c-0b06-466f-bd71-ed060556a4d3"/*_BlobOld*/,
|
||||
"Position": {
|
||||
"X": 558.25903,
|
||||
"Y": -228.4136
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f5026e54-2fe2-4327-b838-733c262e30ff"/*DrawPoints*/,
|
||||
"Position": {
|
||||
"X": 882.31244,
|
||||
"Y": -100.16044
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f80af36a-a126-4bb9-8b66-375fce91e2d4"/*ClampInt*/,
|
||||
"Position": {
|
||||
"X": -217.78601,
|
||||
"Y": 590.7027
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "fba3a199-a7db-43c2-a098-12058547f65d"/*IntToFloat*/,
|
||||
"Position": {
|
||||
"X": 121.0159,
|
||||
"Y": 353.99835
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "fbfdfdf9-f902-4eac-b45d-d2feb1acc3ec"/*_Time_old*/,
|
||||
"Position": {
|
||||
"X": -656.4079,
|
||||
"Y": 79.83506
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "846bc771-7367-48e2-8389-206e2ee5c063"/*Output*/,
|
||||
"Position": {
|
||||
"X": 1288.2195,
|
||||
"Y": 8.112339
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
namespace Lib.render.basic;
|
||||
|
||||
[Guid("cb89ed1d-03ea-4880-bfa0-1dd723e4bdab")]
|
||||
internal sealed class FadingSlideShow : Instance<FadingSlideShow>
|
||||
{
|
||||
[Output(Guid = "fd703cd6-ed0a-473b-9620-d5b5f5547774")]
|
||||
public readonly Slot<Command> Output = new();
|
||||
|
||||
[Output(Guid = "51ba413f-1a7a-4860-8654-bdbd78a1bba4")]
|
||||
public readonly Slot<Texture2D> TextureOutput = new();
|
||||
|
||||
[Input(Guid = "61469462-04ef-4f75-bd58-2bd42b8da15a")]
|
||||
public readonly InputSlot<float> IndexAndFraction = new();
|
||||
|
||||
[Input(Guid = "18aeda2b-ff90-4cf4-9665-c8c65a23cb5f")]
|
||||
public readonly InputSlot<float> BlendSpeed = new();
|
||||
|
||||
[Input(Guid = "c3765d6d-4f45-4425-a86c-1cdd13eff296")]
|
||||
public readonly InputSlot<float> Scale = new();
|
||||
|
||||
[Input(Guid = "8feb4ec2-acc6-4a46-852b-70c4f156f6de")]
|
||||
public readonly InputSlot<Vector2> Position = new();
|
||||
|
||||
[Input(Guid = "651d479c-a3d4-4d18-bdcd-2400e2cdb56b")]
|
||||
public readonly InputSlot<float> RandomOffset = new();
|
||||
|
||||
[Input(Guid = "ca8724d8-a362-4af4-bdf8-a80a1b0ef72e")]
|
||||
public readonly InputSlot<string> FolderWithImages = new();
|
||||
|
||||
[Input(Guid = "3cb08250-213c-4fa6-b9a0-1c92bf01ad6e")]
|
||||
public readonly InputSlot<Vector4> Color = new();
|
||||
|
||||
[Input(Guid = "cabb74b7-72c3-4916-8096-5890fc8e7023")]
|
||||
public readonly InputSlot<Vector4> BackgroundColor = new();
|
||||
|
||||
[Input(Guid = "0f7305c9-4372-4e62-82ff-a377bcbffc12")]
|
||||
public readonly InputSlot<int> ScaleMode = new();
|
||||
|
||||
[Input(Guid = "fcf2c4d0-4e36-473e-8c67-66cc1048dc06")]
|
||||
public readonly InputSlot<bool> TriggerUpdate = new InputSlot<bool>();
|
||||
|
||||
[Input(Guid = "8b5fb93a-ee65-44d9-88be-66ee2e174385")]
|
||||
public readonly InputSlot<int> FadeType = new InputSlot<int>();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,800 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "cb89ed1d-03ea-4880-bfa0-1dd723e4bdab"/*FadingSlideShow*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "0f7305c9-4372-4e62-82ff-a377bcbffc12"/*ScaleMode*/,
|
||||
"DefaultValue": 0
|
||||
},
|
||||
{
|
||||
"Id": "18aeda2b-ff90-4cf4-9665-c8c65a23cb5f"/*BlendSpeed*/,
|
||||
"DefaultValue": 1.0
|
||||
},
|
||||
{
|
||||
"Id": "3cb08250-213c-4fa6-b9a0-1c92bf01ad6e"/*Color*/,
|
||||
"DefaultValue": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "61469462-04ef-4f75-bd58-2bd42b8da15a"/*IndexAndFraction*/,
|
||||
"DefaultValue": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "651d479c-a3d4-4d18-bdcd-2400e2cdb56b"/*RandomOffset*/,
|
||||
"DefaultValue": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "8b5fb93a-ee65-44d9-88be-66ee2e174385"/*FadeType*/,
|
||||
"DefaultValue": 0
|
||||
},
|
||||
{
|
||||
"Id": "8feb4ec2-acc6-4a46-852b-70c4f156f6de"/*Position*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "c3765d6d-4f45-4425-a86c-1cdd13eff296"/*Scale*/,
|
||||
"DefaultValue": 1.0
|
||||
},
|
||||
{
|
||||
"Id": "ca8724d8-a362-4af4-bdf8-a80a1b0ef72e"/*FolderWithImages*/,
|
||||
"DefaultValue": "Examples:images/sequences/agingFacesFemale/"
|
||||
},
|
||||
{
|
||||
"Id": "cabb74b7-72c3-4916-8096-5890fc8e7023"/*BackgroundColor*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "fcf2c4d0-4e36-473e-8c67-66cc1048dc06"/*TriggerUpdate*/,
|
||||
"DefaultValue": false
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "12682477-6763-4cbc-a12c-d5538863fa3b"/*Layer2d*/,
|
||||
"SymbolId": "d8c5330f-59b5-4907-b845-a02def3042fa",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "a83bdfb1-c92d-4844-9e43-8ce09959fae9"/*EnableDepthTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "148eb826-5f61-4a98-8413-977fb6987d21"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8bb4a4e5-0c88-4d99-a5b2-2c9e22bd301f"/*ClearColor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "e882e0f0-03f9-46e6-ac7a-709e6fa66613"/*Multisampling*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "14ca1d88-e6f6-417e-814a-69d3851c2a42"/*Multiply*/,
|
||||
"SymbolId": "17b60044-9125-4961-8a79-ca94697b3726",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "15fa4204-99bb-41be-8ede-2c81a5aa482a"/*Layer2d*/,
|
||||
"SymbolId": "d8c5330f-59b5-4907-b845-a02def3042fa",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "1bd62b77-2858-4ee5-aa2c-081b229ddf50"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8bb4a4e5-0c88-4d99-a5b2-2c9e22bd301f"/*ClearColor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "e882e0f0-03f9-46e6-ac7a-709e6fa66613"/*Multisampling*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "1f902034-e0a7-4940-94b0-d2775f5f0af9"/*BlendWithMask*/,
|
||||
"SymbolId": "7da55d23-0bd1-457b-a036-9b6b51d2e34b",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "2a5f70a5-fdcd-4d9b-a0ae-5785e2fce277"/*LoadImage*/,
|
||||
"SymbolId": "0b3436db-e283-436e-ba85-2f3a1de76a9d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "96044c6c-d005-4d61-b605-7a6896e98cb6"/*CacheResources*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "2b11b46b-bca4-4b39-819c-34e7b255dbcf"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "03749b41-cc3c-4f38-aea6-d7cea19fc073"/*Resolution*/,
|
||||
"Type": "T3.Core.DataTypes.Vector.Int2",
|
||||
"Value": {
|
||||
"X": 128,
|
||||
"Y": 128
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "576668eb-e1ce-4063-91ec-7f8436acfc3e"/*Blob*/,
|
||||
"SymbolId": "27b0e1af-cb2e-4603-83f9-5c9b042d87e6",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "0c49c872-852a-4f15-8cde-f3cda743c28e"/*FeatherBias*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 4.1
|
||||
},
|
||||
{
|
||||
"Id": "33f31c62-b0ea-42f9-a226-d0f5154731ee"/*Scale*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.6
|
||||
},
|
||||
{
|
||||
"Id": "37da22d0-56ca-444a-9c9d-27a70283b7c0"/*Stretch*/,
|
||||
"Type": "System.Numerics.Vector2",
|
||||
"Value": {
|
||||
"X": 1.5899999,
|
||||
"Y": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "d2b0dd99-c289-4c1b-9335-c29a6b4a6ba3"/*Color*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "fd05c355-7afa-4af6-9529-d4071d145d3b"/*Background*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 0.64
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "57d6cea1-69d3-42a1-85b7-ffe1ead7f6ef"/*RadialGradient*/,
|
||||
"SymbolId": "82ad8911-c930-4851-803d-3f24422445bc",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "3f5a284b-e2f0-47e2-bf79-2a7fe8949519"/*Gradient*/,
|
||||
"Type": "T3.Core.DataTypes.Gradient",
|
||||
"Value": {
|
||||
"Gradient": {
|
||||
"Interpolation": "Linear",
|
||||
"Steps": [
|
||||
{
|
||||
"Id": "af309987-2d67-40f3-87ec-d3b13d2d54b0",
|
||||
"NormalizedPosition": 0.0,
|
||||
"Color": {
|
||||
"R": 1.0,
|
||||
"G": 0.99999,
|
||||
"B": 1.0,
|
||||
"A": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "b6d27615-2de7-4405-9c2a-a5baff4cda97",
|
||||
"NormalizedPosition": 1.0,
|
||||
"Color": {
|
||||
"R": 0.0,
|
||||
"G": 1.2159347E-11,
|
||||
"B": 1E-06,
|
||||
"A": 1.0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "581c1d69-0779-42bd-9fa4-1d9e15d9df3c"/*FloatToInt*/,
|
||||
"SymbolId": "06b4728e-852c-491a-a89d-647f7e0b5415",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "593fa976-f854-4f27-883a-e56e4edac77a"/*PerlinNoise2*/,
|
||||
"SymbolId": "ccc06dd6-4eec-4d17-af0b-4f1700e7887a",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "62ac6fbc-89bc-4986-a587-d4ca2d36ee67"/*FilesInFolder*/,
|
||||
"SymbolId": "f90fcd0a-eab9-4e2a-b393-e8d3a0380823",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "e14a4aae-e253-4d14-80ef-a90271cd306a"/*TriggerUpdate*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "63490d20-babc-4742-b04c-79bd650a8062"/*Remap*/,
|
||||
"SymbolId": "f0acd1a4-7a98-43ab-a807-6d1bd3e92169",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "252276fb-8de1-42cc-ba41-07d6862015bd"/*RangeOutMax*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 3.6
|
||||
},
|
||||
{
|
||||
"Id": "f2baf278-adde-42de-afce-336b6c8d0387"/*RangeOutMin*/,
|
||||
"Type": "System.Single",
|
||||
"Value": -1.0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "6c374d2f-f2af-4e45-8bfb-6c542db4c3cf"/*AddVec2*/,
|
||||
"SymbolId": "3b42b2dc-09dd-4f7a-9cf8-5988f26fbda8",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7ccb7619-c9ab-4e5a-ae0b-a06806d653a3"/*Layer2d*/,
|
||||
"SymbolId": "d8c5330f-59b5-4907-b845-a02def3042fa",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "022f1959-a62b-49de-817a-3930bc8ec32b"/*EnableDepthWrite*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "a83bdfb1-c92d-4844-9e43-8ce09959fae9"/*EnableDepthTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7fe30a1d-d90b-4788-96e8-7d654c78b5d5"/*SampleGradient*/,
|
||||
"SymbolId": "8211249d-7a26-4ad0-8d84-56da72a5c536",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "eff10fad-cf95-4133-91db-efc41258cd1b"/*Gradient*/,
|
||||
"Type": "T3.Core.DataTypes.Gradient",
|
||||
"Value": {
|
||||
"Gradient": {
|
||||
"Interpolation": "Linear",
|
||||
"Steps": [
|
||||
{
|
||||
"Id": "cd227698-2e4d-4350-9cec-143fc027944f",
|
||||
"NormalizedPosition": 0.0,
|
||||
"Color": {
|
||||
"R": 9.9999E-07,
|
||||
"G": 9.999968E-07,
|
||||
"B": 1E-06,
|
||||
"A": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "a4c2ea43-a4c8-49c1-9528-0f00b1e59816",
|
||||
"NormalizedPosition": 1.0,
|
||||
"Color": {
|
||||
"R": 1.0,
|
||||
"G": 0.99999,
|
||||
"B": 1.0,
|
||||
"A": 1.0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9ee9e33c-a426-429b-aad9-382a77a4c854"/*Blob*/,
|
||||
"SymbolId": "27b0e1af-cb2e-4603-83f9-5c9b042d87e6",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "0c49c872-852a-4f15-8cde-f3cda743c28e"/*FeatherBias*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 4.1
|
||||
},
|
||||
{
|
||||
"Id": "33f31c62-b0ea-42f9-a226-d0f5154731ee"/*Scale*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.6
|
||||
},
|
||||
{
|
||||
"Id": "37da22d0-56ca-444a-9c9d-27a70283b7c0"/*Stretch*/,
|
||||
"Type": "System.Numerics.Vector2",
|
||||
"Value": {
|
||||
"X": 1.5899999,
|
||||
"Y": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "d2b0dd99-c289-4c1b-9335-c29a6b4a6ba3"/*Color*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "fd05c355-7afa-4af6-9529-d4071d145d3b"/*Background*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 0.64
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a67cb616-1101-48e3-8e20-c46bd9fe65ae"/*Modulo*/,
|
||||
"SymbolId": "5202d3f6-c970-4006-933d-3c60d6c202dc",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ae0bb937-7028-4098-a916-b56d7a1eb27d"/*PerlinNoise2*/,
|
||||
"SymbolId": "ccc06dd6-4eec-4d17-af0b-4f1700e7887a",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "af025c51-6dd8-4ab6-92bc-faec5391ebd4"/*LoadImage*/,
|
||||
"SymbolId": "0b3436db-e283-436e-ba85-2f3a1de76a9d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "96044c6c-d005-4d61-b605-7a6896e98cb6"/*CacheResources*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "b7b2a9ac-3b23-4453-9a36-dd4f0c67ee76"/*IntToFloat*/,
|
||||
"SymbolId": "17db8a36-079d-4c83-8a2a-7ea4c1aa49e6",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "b8296b8a-4ac8-4974-9d82-642dc33ada5f"/*PickStringFromList*/,
|
||||
"SymbolId": "ef357e66-24e9-4f54-8d86-869db74602f4",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "b8f9ec4f-6f45-47e5-a44e-5c584bc27144"/*AddVec2*/,
|
||||
"SymbolId": "3b42b2dc-09dd-4f7a-9cf8-5988f26fbda8",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "d015bca4-81ab-4ad6-8e0c-8695b217d17c"/*PickTexture*/,
|
||||
"SymbolId": "e6070817-cf2e-4430-87e0-bf3dd15afdb5",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "e3ad7f29-314b-4887-9433-25df610c7b5b"/*IntAdd*/,
|
||||
"SymbolId": "475ea08b-0810-483f-bc6d-8b5d566cb8a2",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "2ee7e022-49f9-4682-9266-a3f981da2240"/*Value2*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f0e178ea-d3d5-43da-8dfa-fe0fdfe7768c"/*Remap*/,
|
||||
"SymbolId": "f0acd1a4-7a98-43ab-a807-6d1bd3e92169",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "406f6476-eb25-4493-aaea-3899e84de50f"/*Mode*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f17ca302-f7c3-4314-887e-e0499ab2c8f3"/*IntToFloat*/,
|
||||
"SymbolId": "17db8a36-079d-4c83-8a2a-7ea4c1aa49e6",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f9d98cbe-6228-4ff1-baab-e5106fe95c04"/*PickStringFromList*/,
|
||||
"SymbolId": "ef357e66-24e9-4f54-8d86-869db74602f4",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "1f902034-e0a7-4940-94b0-d2775f5f0af9",
|
||||
"SourceSlotId": "dcf13066-95dc-4c0f-8c8c-379f396502ce",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "51ba413f-1a7a-4860-8654-bdbd78a1bba4"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "12682477-6763-4cbc-a12c-d5538863fa3b",
|
||||
"SourceSlotId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "fd703cd6-ed0a-473b-9620-d5b5f5547774"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1f902034-e0a7-4940-94b0-d2775f5f0af9",
|
||||
"SourceSlotId": "dcf13066-95dc-4c0f-8c8c-379f396502ce",
|
||||
"TargetParentOrChildId": "12682477-6763-4cbc-a12c-d5538863fa3b",
|
||||
"TargetSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7ccb7619-c9ab-4e5a-ae0b-a06806d653a3",
|
||||
"SourceSlotId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f",
|
||||
"TargetParentOrChildId": "148eb826-5f61-4a98-8413-977fb6987d21",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "cabb74b7-72c3-4916-8096-5890fc8e7023",
|
||||
"TargetParentOrChildId": "148eb826-5f61-4a98-8413-977fb6987d21",
|
||||
"TargetSlotId": "8bb4a4e5-0c88-4d99-a5b2-2c9e22bd301f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a67cb616-1101-48e3-8e20-c46bd9fe65ae",
|
||||
"SourceSlotId": "4e4ebbcf-6b12-4ce7-9bec-78cd9049e239",
|
||||
"TargetParentOrChildId": "14ca1d88-e6f6-417e-814a-69d3851c2a42",
|
||||
"TargetSlotId": "372288fa-3794-47ba-9f91-59240513217a"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "18aeda2b-ff90-4cf4-9665-c8c65a23cb5f",
|
||||
"TargetParentOrChildId": "14ca1d88-e6f6-417e-814a-69d3851c2a42",
|
||||
"TargetSlotId": "5ae4bb07-4214-4ec3-a499-24d9f6d404a5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "0f7305c9-4372-4e62-82ff-a377bcbffc12",
|
||||
"TargetParentOrChildId": "15fa4204-99bb-41be-8ede-2c81a5aa482a",
|
||||
"TargetSlotId": "1d9ccc5d-bed4-4d07-b664-0903442e4f58"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9ee9e33c-a426-429b-aad9-382a77a4c854",
|
||||
"SourceSlotId": "b882de23-5b94-4791-af13-e195211cffb3",
|
||||
"TargetParentOrChildId": "15fa4204-99bb-41be-8ede-2c81a5aa482a",
|
||||
"TargetSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "c3765d6d-4f45-4425-a86c-1cdd13eff296",
|
||||
"TargetParentOrChildId": "15fa4204-99bb-41be-8ede-2c81a5aa482a",
|
||||
"TargetSlotId": "38f34034-b36f-4351-84e1-1a4f96e03fc6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6c374d2f-f2af-4e45-8bfb-6c542db4c3cf",
|
||||
"SourceSlotId": "2ca0473d-0b36-4ca2-b532-9186e4556d67",
|
||||
"TargetParentOrChildId": "15fa4204-99bb-41be-8ede-2c81a5aa482a",
|
||||
"TargetSlotId": "a384be77-c5fc-47b3-9ec3-960db9f9bae9"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "15fa4204-99bb-41be-8ede-2c81a5aa482a",
|
||||
"SourceSlotId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f",
|
||||
"TargetParentOrChildId": "1bd62b77-2858-4ee5-aa2c-081b229ddf50",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "cabb74b7-72c3-4916-8096-5890fc8e7023",
|
||||
"TargetParentOrChildId": "1bd62b77-2858-4ee5-aa2c-081b229ddf50",
|
||||
"TargetSlotId": "8bb4a4e5-0c88-4d99-a5b2-2c9e22bd301f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "3cb08250-213c-4fa6-b9a0-1c92bf01ad6e",
|
||||
"TargetParentOrChildId": "1f902034-e0a7-4940-94b0-d2775f5f0af9",
|
||||
"TargetSlotId": "0f542667-8b2c-4fd7-9f9a-d63f1573d25a"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "148eb826-5f61-4a98-8413-977fb6987d21",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "1f902034-e0a7-4940-94b0-d2775f5f0af9",
|
||||
"TargetSlotId": "7d878133-43cf-44a3-87a2-18d44f74f17d"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1bd62b77-2858-4ee5-aa2c-081b229ddf50",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "1f902034-e0a7-4940-94b0-d2775f5f0af9",
|
||||
"TargetSlotId": "c68c887c-16f1-4fa2-89a4-4a07d44a0df6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "d015bca4-81ab-4ad6-8e0c-8695b217d17c",
|
||||
"SourceSlotId": "d2f29ac9-ec9e-43ab-8f3f-2c4cd7fc9444",
|
||||
"TargetParentOrChildId": "1f902034-e0a7-4940-94b0-d2775f5f0af9",
|
||||
"TargetSlotId": "d08813be-bd43-4229-86b7-4e53b62b8561"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "3cb08250-213c-4fa6-b9a0-1c92bf01ad6e",
|
||||
"TargetParentOrChildId": "1f902034-e0a7-4940-94b0-d2775f5f0af9",
|
||||
"TargetSlotId": "f551d82e-bbd5-40fd-9d84-e08d97f06c46"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f9d98cbe-6228-4ff1-baab-e5106fe95c04",
|
||||
"SourceSlotId": "467bb46e-3391-48a7-b0eb-f7fd9d77b60f",
|
||||
"TargetParentOrChildId": "2a5f70a5-fdcd-4d9b-a0ae-5785e2fce277",
|
||||
"TargetSlotId": "76cc3811-4ae0-48b2-a119-890db5a4eeb2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7fe30a1d-d90b-4788-96e8-7d654c78b5d5",
|
||||
"SourceSlotId": "963611e7-f55e-4c94-96e6-34e195558a2b",
|
||||
"TargetParentOrChildId": "2b11b46b-bca4-4b39-819c-34e7b255dbcf",
|
||||
"TargetSlotId": "8bb4a4e5-0c88-4d99-a5b2-2c9e22bd301f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "af025c51-6dd8-4ab6-92bc-faec5391ebd4",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "576668eb-e1ce-4063-91ec-7f8436acfc3e",
|
||||
"TargetSlotId": "8cc15ea0-074f-40ed-813d-b93f48681094"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "63490d20-babc-4742-b04c-79bd650a8062",
|
||||
"SourceSlotId": "de6e6f65-cb51-49f1-bb90-34ed1ec963c1",
|
||||
"TargetParentOrChildId": "57d6cea1-69d3-42a1-85b7-ffe1ead7f6ef",
|
||||
"TargetSlotId": "98314ae6-b2a9-433b-90e9-931b059ae62e"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "61469462-04ef-4f75-bd58-2bd42b8da15a",
|
||||
"TargetParentOrChildId": "581c1d69-0779-42bd-9fa4-1d9e15d9df3c",
|
||||
"TargetSlotId": "af866a6c-1ab0-43c0-9e8a-5d25c300e128"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "651d479c-a3d4-4d18-bdcd-2400e2cdb56b",
|
||||
"TargetParentOrChildId": "593fa976-f854-4f27-883a-e56e4edac77a",
|
||||
"TargetSlotId": "0abcff87-ace5-4a06-9217-b2caf831ecae"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f17ca302-f7c3-4314-887e-e0499ab2c8f3",
|
||||
"SourceSlotId": "db1073a1-b9d8-4d52-bc5c-7ae8c0ee1ac3",
|
||||
"TargetParentOrChildId": "593fa976-f854-4f27-883a-e56e4edac77a",
|
||||
"TargetSlotId": "f294c517-7427-4c14-a397-4605bffc52a4"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "ca8724d8-a362-4af4-bdf8-a80a1b0ef72e",
|
||||
"TargetParentOrChildId": "62ac6fbc-89bc-4986-a587-d4ca2d36ee67",
|
||||
"TargetSlotId": "ca9778e7-072c-4304-9043-eeb2dc4ca5d7"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "fcf2c4d0-4e36-473e-8c67-66cc1048dc06",
|
||||
"TargetParentOrChildId": "62ac6fbc-89bc-4986-a587-d4ca2d36ee67",
|
||||
"TargetSlotId": "e14a4aae-e253-4d14-80ef-a90271cd306a"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "14ca1d88-e6f6-417e-814a-69d3851c2a42",
|
||||
"SourceSlotId": "e011dd8c-1b9c-458f-8960-e6c38e83ca74",
|
||||
"TargetParentOrChildId": "63490d20-babc-4742-b04c-79bd650a8062",
|
||||
"TargetSlotId": "40606d4e-acaf-4f23-a845-16f0eb9b73cf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "8feb4ec2-acc6-4a46-852b-70c4f156f6de",
|
||||
"TargetParentOrChildId": "6c374d2f-f2af-4e45-8bfb-6c542db4c3cf",
|
||||
"TargetSlotId": "4c37316d-618b-40b8-a8e3-73fa02f289b0"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ae0bb937-7028-4098-a916-b56d7a1eb27d",
|
||||
"SourceSlotId": "2b60892b-be0e-46c0-b30b-562e34bd92a5",
|
||||
"TargetParentOrChildId": "6c374d2f-f2af-4e45-8bfb-6c542db4c3cf",
|
||||
"TargetSlotId": "8130c17f-cec2-4e8e-abba-c89195010b87"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "0f7305c9-4372-4e62-82ff-a377bcbffc12",
|
||||
"TargetParentOrChildId": "7ccb7619-c9ab-4e5a-ae0b-a06806d653a3",
|
||||
"TargetSlotId": "1d9ccc5d-bed4-4d07-b664-0903442e4f58"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "576668eb-e1ce-4063-91ec-7f8436acfc3e",
|
||||
"SourceSlotId": "b882de23-5b94-4791-af13-e195211cffb3",
|
||||
"TargetParentOrChildId": "7ccb7619-c9ab-4e5a-ae0b-a06806d653a3",
|
||||
"TargetSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "c3765d6d-4f45-4425-a86c-1cdd13eff296",
|
||||
"TargetParentOrChildId": "7ccb7619-c9ab-4e5a-ae0b-a06806d653a3",
|
||||
"TargetSlotId": "38f34034-b36f-4351-84e1-1a4f96e03fc6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "b8f9ec4f-6f45-47e5-a44e-5c584bc27144",
|
||||
"SourceSlotId": "2ca0473d-0b36-4ca2-b532-9186e4556d67",
|
||||
"TargetParentOrChildId": "7ccb7619-c9ab-4e5a-ae0b-a06806d653a3",
|
||||
"TargetSlotId": "a384be77-c5fc-47b3-9ec3-960db9f9bae9"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f0e178ea-d3d5-43da-8dfa-fe0fdfe7768c",
|
||||
"SourceSlotId": "de6e6f65-cb51-49f1-bb90-34ed1ec963c1",
|
||||
"TargetParentOrChildId": "7fe30a1d-d90b-4788-96e8-7d654c78b5d5",
|
||||
"TargetSlotId": "a4527e01-f19a-4200-85e5-00144f3ce061"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "2a5f70a5-fdcd-4d9b-a0ae-5785e2fce277",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "9ee9e33c-a426-429b-aad9-382a77a4c854",
|
||||
"TargetSlotId": "8cc15ea0-074f-40ed-813d-b93f48681094"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "61469462-04ef-4f75-bd58-2bd42b8da15a",
|
||||
"TargetParentOrChildId": "a67cb616-1101-48e3-8e20-c46bd9fe65ae",
|
||||
"TargetSlotId": "8a401e5d-295d-4403-a3af-1d6b91ce3dba"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "651d479c-a3d4-4d18-bdcd-2400e2cdb56b",
|
||||
"TargetParentOrChildId": "ae0bb937-7028-4098-a916-b56d7a1eb27d",
|
||||
"TargetSlotId": "0abcff87-ace5-4a06-9217-b2caf831ecae"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "b7b2a9ac-3b23-4453-9a36-dd4f0c67ee76",
|
||||
"SourceSlotId": "db1073a1-b9d8-4d52-bc5c-7ae8c0ee1ac3",
|
||||
"TargetParentOrChildId": "ae0bb937-7028-4098-a916-b56d7a1eb27d",
|
||||
"TargetSlotId": "f294c517-7427-4c14-a397-4605bffc52a4"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "b8296b8a-4ac8-4974-9d82-642dc33ada5f",
|
||||
"SourceSlotId": "467bb46e-3391-48a7-b0eb-f7fd9d77b60f",
|
||||
"TargetParentOrChildId": "af025c51-6dd8-4ab6-92bc-faec5391ebd4",
|
||||
"TargetSlotId": "76cc3811-4ae0-48b2-a119-890db5a4eeb2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "e3ad7f29-314b-4887-9433-25df610c7b5b",
|
||||
"SourceSlotId": "5e7233e6-7928-41a4-8f3f-b7d074614546",
|
||||
"TargetParentOrChildId": "b7b2a9ac-3b23-4453-9a36-dd4f0c67ee76",
|
||||
"TargetSlotId": "01809b63-4b4a-47be-9588-98d5998ddb0c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "581c1d69-0779-42bd-9fa4-1d9e15d9df3c",
|
||||
"SourceSlotId": "1eb7c5c4-0982-43f4-b14d-524571e3cdda",
|
||||
"TargetParentOrChildId": "b8296b8a-4ac8-4974-9d82-642dc33ada5f",
|
||||
"TargetSlotId": "12ce5fe3-750f-47ed-9507-416cb327a615"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "62ac6fbc-89bc-4986-a587-d4ca2d36ee67",
|
||||
"SourceSlotId": "99bd5b48-7a28-44a7-91e4-98b33cfda20f",
|
||||
"TargetParentOrChildId": "b8296b8a-4ac8-4974-9d82-642dc33ada5f",
|
||||
"TargetSlotId": "8d5e77a6-1ec4-4979-ad26-f7862049bce1"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "8feb4ec2-acc6-4a46-852b-70c4f156f6de",
|
||||
"TargetParentOrChildId": "b8f9ec4f-6f45-47e5-a44e-5c584bc27144",
|
||||
"TargetSlotId": "4c37316d-618b-40b8-a8e3-73fa02f289b0"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "593fa976-f854-4f27-883a-e56e4edac77a",
|
||||
"SourceSlotId": "2b60892b-be0e-46c0-b30b-562e34bd92a5",
|
||||
"TargetParentOrChildId": "b8f9ec4f-6f45-47e5-a44e-5c584bc27144",
|
||||
"TargetSlotId": "8130c17f-cec2-4e8e-abba-c89195010b87"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "8b5fb93a-ee65-44d9-88be-66ee2e174385",
|
||||
"TargetParentOrChildId": "d015bca4-81ab-4ad6-8e0c-8695b217d17c",
|
||||
"TargetSlotId": "29e289be-e735-4dd4-8826-5e434cc995fa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "2b11b46b-bca4-4b39-819c-34e7b255dbcf",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "d015bca4-81ab-4ad6-8e0c-8695b217d17c",
|
||||
"TargetSlotId": "6c935163-1729-4df0-a981-610b4aa7c6a3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "57d6cea1-69d3-42a1-85b7-ffe1ead7f6ef",
|
||||
"SourceSlotId": "9785937a-2b8f-4b2e-92ac-98ec067a40f2",
|
||||
"TargetParentOrChildId": "d015bca4-81ab-4ad6-8e0c-8695b217d17c",
|
||||
"TargetSlotId": "6c935163-1729-4df0-a981-610b4aa7c6a3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "581c1d69-0779-42bd-9fa4-1d9e15d9df3c",
|
||||
"SourceSlotId": "1eb7c5c4-0982-43f4-b14d-524571e3cdda",
|
||||
"TargetParentOrChildId": "e3ad7f29-314b-4887-9433-25df610c7b5b",
|
||||
"TargetSlotId": "16dd5182-a0fb-4a26-b211-3c1bf3707579"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "14ca1d88-e6f6-417e-814a-69d3851c2a42",
|
||||
"SourceSlotId": "e011dd8c-1b9c-458f-8960-e6c38e83ca74",
|
||||
"TargetParentOrChildId": "f0e178ea-d3d5-43da-8dfa-fe0fdfe7768c",
|
||||
"TargetSlotId": "40606d4e-acaf-4f23-a845-16f0eb9b73cf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "581c1d69-0779-42bd-9fa4-1d9e15d9df3c",
|
||||
"SourceSlotId": "1eb7c5c4-0982-43f4-b14d-524571e3cdda",
|
||||
"TargetParentOrChildId": "f17ca302-f7c3-4314-887e-e0499ab2c8f3",
|
||||
"TargetSlotId": "01809b63-4b4a-47be-9588-98d5998ddb0c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "e3ad7f29-314b-4887-9433-25df610c7b5b",
|
||||
"SourceSlotId": "5e7233e6-7928-41a4-8f3f-b7d074614546",
|
||||
"TargetParentOrChildId": "f9d98cbe-6228-4ff1-baab-e5106fe95c04",
|
||||
"TargetSlotId": "12ce5fe3-750f-47ed-9507-416cb327a615"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "62ac6fbc-89bc-4986-a587-d4ca2d36ee67",
|
||||
"SourceSlotId": "99bd5b48-7a28-44a7-91e4-98b33cfda20f",
|
||||
"TargetParentOrChildId": "f9d98cbe-6228-4ff1-baab-e5106fe95c04",
|
||||
"TargetSlotId": "8d5e77a6-1ec4-4979-ad26-f7862049bce1"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,388 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "cb89ed1d-03ea-4880-bfa0-1dd723e4bdab"/*FadingSlideShow*/,
|
||||
"Description": "Blends smoothly between image files read from a directory.\nBlendSpeed controls the speed of the transition.",
|
||||
"SymbolTags": "1",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "0f7305c9-4372-4e62-82ff-a377bcbffc12"/*ScaleMode*/,
|
||||
"Position": {
|
||||
"X": 278.25253,
|
||||
"Y": 238.37653
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "18aeda2b-ff90-4cf4-9665-c8c65a23cb5f"/*BlendSpeed*/,
|
||||
"Position": {
|
||||
"X": -245.0556,
|
||||
"Y": 53.624603
|
||||
},
|
||||
"Min": 0.0,
|
||||
"Max": 10.0,
|
||||
"ClampMin": true,
|
||||
"ClampMax": true
|
||||
},
|
||||
{
|
||||
"InputId": "3cb08250-213c-4fa6-b9a0-1c92bf01ad6e"/*Color*/,
|
||||
"Position": {
|
||||
"X": 1505.0311,
|
||||
"Y": 445.10858
|
||||
},
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"ClampMin": true,
|
||||
"ClampMax": true
|
||||
},
|
||||
{
|
||||
"InputId": "61469462-04ef-4f75-bd58-2bd42b8da15a"/*IndexAndFraction*/,
|
||||
"Relevancy": "Relevant",
|
||||
"Position": {
|
||||
"X": -105.055664,
|
||||
"Y": -51.375397
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "651d479c-a3d4-4d18-bdcd-2400e2cdb56b"/*RandomOffset*/,
|
||||
"Position": {
|
||||
"X": 278.25253,
|
||||
"Y": 176.68143
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "8b5fb93a-ee65-44d9-88be-66ee2e174385"/*FadeType*/,
|
||||
"Position": {
|
||||
"X": 1365.0311,
|
||||
"Y": 339.99985
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "8feb4ec2-acc6-4a46-852b-70c4f156f6de"/*Position*/,
|
||||
"Position": {
|
||||
"X": 278.25253,
|
||||
"Y": 126.92404
|
||||
},
|
||||
"Min": -1.0,
|
||||
"Max": 1.0
|
||||
},
|
||||
{
|
||||
"InputId": "c3765d6d-4f45-4425-a86c-1cdd13eff296"/*Scale*/,
|
||||
"Position": {
|
||||
"X": 278.25256,
|
||||
"Y": 56.58322
|
||||
},
|
||||
"Min": 0.0,
|
||||
"Max": 1.0
|
||||
},
|
||||
{
|
||||
"InputId": "ca8724d8-a362-4af4-bdf8-a80a1b0ef72e"/*FolderWithImages*/,
|
||||
"Position": {
|
||||
"X": -460.44717,
|
||||
"Y": 176.0415
|
||||
},
|
||||
"ExcludedFromPresets": "True",
|
||||
"Usage": "DirectoryPath"
|
||||
},
|
||||
{
|
||||
"InputId": "cabb74b7-72c3-4916-8096-5890fc8e7023"/*BackgroundColor*/,
|
||||
"Position": {
|
||||
"X": 1166.472,
|
||||
"Y": 7.8447266
|
||||
},
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"ClampMin": true,
|
||||
"ClampMax": true
|
||||
},
|
||||
{
|
||||
"InputId": "fcf2c4d0-4e36-473e-8c67-66cc1048dc06"/*TriggerUpdate*/,
|
||||
"Position": {
|
||||
"X": -460.44717,
|
||||
"Y": 211.0415
|
||||
}
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "12682477-6763-4cbc-a12c-d5538863fa3b"/*Layer2d*/,
|
||||
"Position": {
|
||||
"X": 1815.4739,
|
||||
"Y": 266.6356
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "148eb826-5f61-4a98-8413-977fb6987d21"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": 1505.0311,
|
||||
"Y": -25.510345
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "14ca1d88-e6f6-417e-814a-69d3851c2a42"/*Multiply*/,
|
||||
"Position": {
|
||||
"X": -105.055664,
|
||||
"Y": 18.624603
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "15fa4204-99bb-41be-8ede-2c81a5aa482a"/*Layer2d*/,
|
||||
"SectionId": "40309590-e388-4fb2-bd12-30d1f1c7978c",
|
||||
"Position": {
|
||||
"X": 840.8394,
|
||||
"Y": 490.03958
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1bd62b77-2858-4ee5-aa2c-081b229ddf50"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": 1505.0311,
|
||||
"Y": 93.80344
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "1f902034-e0a7-4940-94b0-d2775f5f0af9"/*BlendWithMask*/,
|
||||
"Position": {
|
||||
"X": 1815.4739,
|
||||
"Y": 91.63559
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2a5f70a5-fdcd-4d9b-a0ae-5785e2fce277"/*LoadImage*/,
|
||||
"SectionId": "40309590-e388-4fb2-bd12-30d1f1c7978c",
|
||||
"Position": {
|
||||
"X": 840.8394,
|
||||
"Y": 420.03958
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2b11b46b-bca4-4b39-819c-34e7b255dbcf"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": 1273.8109,
|
||||
"Y": 106.96744
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "576668eb-e1ce-4063-91ec-7f8436acfc3e"/*Blob*/,
|
||||
"SectionId": "cd62dd3a-e66b-49c4-a1fc-39130ac7aa8d",
|
||||
"Position": {
|
||||
"X": 803.57245,
|
||||
"Y": -357.92618
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "57d6cea1-69d3-42a1-85b7-ffe1ead7f6ef"/*RadialGradient*/,
|
||||
"Position": {
|
||||
"X": 1273.8109,
|
||||
"Y": 197.09503
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "581c1d69-0779-42bd-9fa4-1d9e15d9df3c"/*FloatToInt*/,
|
||||
"Position": {
|
||||
"X": 34.944336,
|
||||
"Y": -51.375397
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "593fa976-f854-4f27-883a-e56e4edac77a"/*PerlinNoise2*/,
|
||||
"SectionId": "cd62dd3a-e66b-49c4-a1fc-39130ac7aa8d",
|
||||
"Position": {
|
||||
"X": 465.63834,
|
||||
"Y": -268.9165
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "62ac6fbc-89bc-4986-a587-d4ca2d36ee67"/*FilesInFolder*/,
|
||||
"Position": {
|
||||
"X": -320.44717,
|
||||
"Y": 176.0415
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "63490d20-babc-4742-b04c-79bd650a8062"/*Remap*/,
|
||||
"Position": {
|
||||
"X": 1133.8109,
|
||||
"Y": 232.09503
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6c374d2f-f2af-4e45-8bfb-6c542db4c3cf"/*AddVec2*/,
|
||||
"SectionId": "40309590-e388-4fb2-bd12-30d1f1c7978c",
|
||||
"Position": {
|
||||
"X": 551.64734,
|
||||
"Y": 558.80493
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7ccb7619-c9ab-4e5a-ae0b-a06806d653a3"/*Layer2d*/,
|
||||
"SectionId": "cd62dd3a-e66b-49c4-a1fc-39130ac7aa8d",
|
||||
"Position": {
|
||||
"X": 803.57245,
|
||||
"Y": -322.92618
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7fe30a1d-d90b-4788-96e8-7d654c78b5d5"/*SampleGradient*/,
|
||||
"Position": {
|
||||
"X": 1133.8109,
|
||||
"Y": 141.96744
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9ee9e33c-a426-429b-aad9-382a77a4c854"/*Blob*/,
|
||||
"SectionId": "40309590-e388-4fb2-bd12-30d1f1c7978c",
|
||||
"Position": {
|
||||
"X": 840.8394,
|
||||
"Y": 455.03958
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a67cb616-1101-48e3-8e20-c46bd9fe65ae"/*Modulo*/,
|
||||
"Position": {
|
||||
"X": -105.055664,
|
||||
"Y": -16.375397
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ae0bb937-7028-4098-a916-b56d7a1eb27d"/*PerlinNoise2*/,
|
||||
"SectionId": "40309590-e388-4fb2-bd12-30d1f1c7978c",
|
||||
"Position": {
|
||||
"X": 411.64734,
|
||||
"Y": 593.80493
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "af025c51-6dd8-4ab6-92bc-faec5391ebd4"/*LoadImage*/,
|
||||
"SectionId": "cd62dd3a-e66b-49c4-a1fc-39130ac7aa8d",
|
||||
"Style": "Expanded",
|
||||
"Size": {
|
||||
"X": 110.0,
|
||||
"Y": 36.0
|
||||
},
|
||||
"Position": {
|
||||
"X": 803.57245,
|
||||
"Y": -392.92618
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b7b2a9ac-3b23-4453-9a36-dd4f0c67ee76"/*IntToFloat*/,
|
||||
"SectionId": "40309590-e388-4fb2-bd12-30d1f1c7978c",
|
||||
"Position": {
|
||||
"X": 271.64734,
|
||||
"Y": 593.80493
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b8296b8a-4ac8-4974-9d82-642dc33ada5f"/*PickStringFromList*/,
|
||||
"SectionId": "cd62dd3a-e66b-49c4-a1fc-39130ac7aa8d",
|
||||
"Position": {
|
||||
"X": 803.57245,
|
||||
"Y": -462.92618
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b8f9ec4f-6f45-47e5-a44e-5c584bc27144"/*AddVec2*/,
|
||||
"SectionId": "cd62dd3a-e66b-49c4-a1fc-39130ac7aa8d",
|
||||
"Position": {
|
||||
"X": 605.6383,
|
||||
"Y": -303.9165
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d015bca4-81ab-4ad6-8e0c-8695b217d17c"/*PickTexture*/,
|
||||
"Position": {
|
||||
"X": 1505.0311,
|
||||
"Y": 269.99985
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e3ad7f29-314b-4887-9433-25df610c7b5b"/*IntAdd*/,
|
||||
"SectionId": "40309590-e388-4fb2-bd12-30d1f1c7978c",
|
||||
"Style": "Expanded",
|
||||
"Size": {
|
||||
"X": 110.0,
|
||||
"Y": 49.0
|
||||
},
|
||||
"Position": {
|
||||
"X": 45.628098,
|
||||
"Y": 635.32495
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f0e178ea-d3d5-43da-8dfa-fe0fdfe7768c"/*Remap*/,
|
||||
"Position": {
|
||||
"X": 1133.8109,
|
||||
"Y": 106.96744
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f17ca302-f7c3-4314-887e-e0499ab2c8f3"/*IntToFloat*/,
|
||||
"SectionId": "cd62dd3a-e66b-49c4-a1fc-39130ac7aa8d",
|
||||
"Position": {
|
||||
"X": 325.63834,
|
||||
"Y": -268.9165
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f9d98cbe-6228-4ff1-baab-e5106fe95c04"/*PickStringFromList*/,
|
||||
"SectionId": "40309590-e388-4fb2-bd12-30d1f1c7978c",
|
||||
"Position": {
|
||||
"X": 840.8394,
|
||||
"Y": 350.03958
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "fd703cd6-ed0a-473b-9620-d5b5f5547774"/*Output*/,
|
||||
"Position": {
|
||||
"X": 1815.4739,
|
||||
"Y": 301.6356
|
||||
}
|
||||
},
|
||||
{
|
||||
"OutputId": "51ba413f-1a7a-4860-8654-bdbd78a1bba4"/*TextureOutput*/,
|
||||
"Position": {
|
||||
"X": 1955.4739,
|
||||
"Y": 91.63559
|
||||
}
|
||||
}
|
||||
],
|
||||
"Sections": [
|
||||
{
|
||||
"Id": "40309590-e388-4fb2-bd12-30d1f1c7978c",
|
||||
"Title": "Next",
|
||||
"Color": {
|
||||
"X": 0.6,
|
||||
"Y": 0.6,
|
||||
"Z": 0.6,
|
||||
"W": 1.0
|
||||
},
|
||||
"Position": {
|
||||
"X": 1.9243774,
|
||||
"Y": 334.4748
|
||||
},
|
||||
"Size": {
|
||||
"X": 1059.1028,
|
||||
"Y": 403.8988
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "cd62dd3a-e66b-49c4-a1fc-39130ac7aa8d",
|
||||
"Title": "Current",
|
||||
"Color": {
|
||||
"X": 0.6,
|
||||
"Y": 0.6,
|
||||
"Z": 0.6,
|
||||
"W": 1.0
|
||||
},
|
||||
"Position": {
|
||||
"X": 322.85406,
|
||||
"Y": -513.6427
|
||||
},
|
||||
"Size": {
|
||||
"X": 738.17303,
|
||||
"Y": 392.20685
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
using T3.Core.Utils;
|
||||
|
||||
namespace Lib.render.basic;
|
||||
|
||||
[Guid("d8c5330f-59b5-4907-b845-a02def3042fa")]
|
||||
internal sealed class Layer2d : Instance<Layer2d>, ITransformable
|
||||
{
|
||||
[Output(Guid = "e4a8d926-7abd-4d2a-82a1-b7d140cb457f")]
|
||||
public readonly TransformCallbackSlot<Command> Output = new();
|
||||
|
||||
public Layer2d()
|
||||
{
|
||||
Output.TransformableOp = this;
|
||||
}
|
||||
|
||||
IInputSlot ITransformable.TranslationInput => Position;
|
||||
IInputSlot ITransformable.RotationInput => null;
|
||||
IInputSlot ITransformable.ScaleInput => null;
|
||||
|
||||
public Action<Instance, EvaluationContext> TransformCallback { get; set; }
|
||||
|
||||
[Input(Guid = "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc")]
|
||||
public readonly InputSlot<T3.Core.DataTypes.Texture2D> Texture = new InputSlot<T3.Core.DataTypes.Texture2D>();
|
||||
|
||||
[Input(Guid = "a384be77-c5fc-47b3-9ec3-960db9f9bae9")]
|
||||
public readonly InputSlot<System.Numerics.Vector2> Position = new InputSlot<System.Numerics.Vector2>();
|
||||
|
||||
[Input(Guid = "4ac0a4d8-367c-4ece-9c1d-7abfbb2bfe27")]
|
||||
public readonly InputSlot<float> PositionZ = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "da0941c9-c700-4552-9d8a-799bf7a08826")]
|
||||
public readonly InputSlot<float> Rotate = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "4618d8e0-2718-4373-a071-88ec1843b0c8")]
|
||||
public readonly InputSlot<System.Numerics.Vector2> Stretch = new InputSlot<System.Numerics.Vector2>();
|
||||
|
||||
[Input(Guid = "38f34034-b36f-4351-84e1-1a4f96e03fc6")]
|
||||
public readonly InputSlot<float> Scale = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "1d9ccc5d-bed4-4d07-b664-0903442e4f58", MappedType = typeof(ScaleModes))]
|
||||
public readonly InputSlot<int> ScaleMode = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "ed4f8c30-7b71-4649-97e6-710a718039b0")]
|
||||
public readonly InputSlot<System.Numerics.Vector4> Color = new InputSlot<System.Numerics.Vector4>();
|
||||
|
||||
[Input(Guid = "c8d0e44e-acd1-4045-b565-e1ce0b722e70", MappedType = typeof(SharedEnums.BlendModes))]
|
||||
public readonly InputSlot<int> BlendMode = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "a83bdfb1-c92d-4844-9e43-8ce09959fae9")]
|
||||
public readonly InputSlot<bool> EnableDepthTest = new InputSlot<bool>();
|
||||
|
||||
[Input(Guid = "022f1959-a62b-49de-817a-3930bc8ec32b")]
|
||||
public readonly InputSlot<bool> EnableDepthWrite = new InputSlot<bool>();
|
||||
|
||||
[Input(Guid = "b646098a-b62c-44dd-b6f7-f8d4821b0c12")]
|
||||
public readonly InputSlot<SharpDX.Direct3D11.Filter> Filtering = new InputSlot<SharpDX.Direct3D11.Filter>();
|
||||
|
||||
public enum ScaleModes
|
||||
{
|
||||
FitHeight,
|
||||
FitWidth,
|
||||
FitBoth,
|
||||
Cover,
|
||||
Stretch,
|
||||
MatchPixelResolution,
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,573 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "d8c5330f-59b5-4907-b845-a02def3042fa"/*Layer2d*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "022f1959-a62b-49de-817a-3930bc8ec32b"/*EnableDepthWrite*/,
|
||||
"DefaultValue": false
|
||||
},
|
||||
{
|
||||
"Id": "1d9ccc5d-bed4-4d07-b664-0903442e4f58"/*ScaleMode*/,
|
||||
"DefaultValue": 0
|
||||
},
|
||||
{
|
||||
"Id": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"/*Texture*/,
|
||||
"DefaultValue": null
|
||||
},
|
||||
{
|
||||
"Id": "38f34034-b36f-4351-84e1-1a4f96e03fc6"/*Scale*/,
|
||||
"DefaultValue": 1.0
|
||||
},
|
||||
{
|
||||
"Id": "4618d8e0-2718-4373-a071-88ec1843b0c8"/*Stretch*/,
|
||||
"DefaultValue": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "4ac0a4d8-367c-4ece-9c1d-7abfbb2bfe27"/*PositionZ*/,
|
||||
"DefaultValue": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "a384be77-c5fc-47b3-9ec3-960db9f9bae9"/*Position*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "a83bdfb1-c92d-4844-9e43-8ce09959fae9"/*EnableDepthTest*/,
|
||||
"DefaultValue": true
|
||||
},
|
||||
{
|
||||
"Id": "b646098a-b62c-44dd-b6f7-f8d4821b0c12"/*Filtering*/,
|
||||
"DefaultValue": "MinMagMipLinear"
|
||||
},
|
||||
{
|
||||
"Id": "c8d0e44e-acd1-4045-b565-e1ce0b722e70"/*BlendMode*/,
|
||||
"DefaultValue": 0
|
||||
},
|
||||
{
|
||||
"Id": "da0941c9-c700-4552-9d8a-799bf7a08826"/*Rotate*/,
|
||||
"DefaultValue": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "ed4f8c30-7b71-4649-97e6-710a718039b0"/*Color*/,
|
||||
"DefaultValue": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "176b0705-f9d8-46b9-a4cd-b614cba2cb4f"/*Draw*/,
|
||||
"SymbolId": "9b28e6b9-1d1f-42d8-8a9e-33497b1df820",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8716b11a-ef71-437e-9930-bb747da818a7"/*VertexCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 6
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "2d7a0d50-d3fd-42fb-b411-158e7ea708af"/*SamplerState*/,
|
||||
"SymbolId": "9515d59d-0bd5-406b-96da-6a5f60215700",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "1cce7427-2062-42fd-838e-328def3ecb30"/*MaximumAnisotropy*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
},
|
||||
{
|
||||
"Id": "4b51422e-1da7-4a28-b55f-47881d42f801"/*MipLoadBias*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "93d8bf26-5067-4ccc-b4cb-e03970686462"/*AddressW*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "a870921f-a28c-4501-9f31-38a18b0acdcc"/*Filter*/,
|
||||
"Type": "SharpDX.Direct3D11.Filter",
|
||||
"Value": "MinMagMipLinear"
|
||||
},
|
||||
{
|
||||
"Id": "e7c95fd5-14d1-434f-a140-f22ef69076ab"/*AddressU*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "fdeb503f-09c6-48d1-8853-7426f68cdec3"/*AddressV*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "3484385a-950d-4e58-9c4e-672a56b9b137"/*Execute*/,
|
||||
"SymbolId": "936e4324-bea2-463a-b196-6064a2d8a6b2",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "39c61687-703d-4ff2-b1ba-9b3b92e9149e"/*UseFallbackTexture*/,
|
||||
"SymbolId": "b470fdf9-ac0b-4eb9-9600-453b8c094e3f",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "409f7ef6-f0d2-4c18-89a6-5ee2b872f12d"/*OutputMergerStage*/,
|
||||
"SymbolId": "5efaf208-ba62-42ce-b3df-059b37fc1382",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "ccee2ec3-586f-4396-8b20-cc99484e1b64"/*BlendFactor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.99999,
|
||||
"Z": 0.99999,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "5b880701-7935-48c4-8cad-f3fc0cc9cb3f"/*InputAssemblerStage*/,
|
||||
"SymbolId": "9d1266c5-23db-439f-a475-8000fdd1c318",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "6943c6cc-4caa-42f3-b68c-49b6dc79e513"/*SrvFromTexture2d*/,
|
||||
"SymbolId": "c2078514-cf1d-439c-a732-0d7b31b5084a",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "696dc3f8-a9b0-4e11-b8ca-0036ec3bce08"/*Value*/,
|
||||
"SymbolId": "5d7d61ae-0a41-4ffa-a51d-93bab665e7fe",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "7773837e-104a-4b3d-a41f-cadbd9249af2"/*Float*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 1.0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "6a7dd7a0-5d91-4d5b-85a4-c0d6f7a46c42"/*PickBlendMode*/,
|
||||
"SymbolId": "fd9bffd3-5c57-462f-8761-85f94c5a629b",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "6b395d16-7f2d-407a-955f-4a101a8e47fe"/*SetPixelAndVertexShaderStage*/,
|
||||
"SymbolId": "b956f707-2a33-4330-b7ff-9c91edbcf041",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "6cf2eb84-2d72-4a11-9482-20221cc78e28"/*_ProcessLayer2d*/,
|
||||
"SymbolId": "d8699da1-13aa-42f7-816a-88abb1d0ba06",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9766e402-9293-49cb-9992-c2a9964edd6a"/*Vector4Components*/,
|
||||
"SymbolId": "b15e4950-5c72-4655-84bc-c00647319030",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "980ef785-6ae2-44d1-803e-febfc75791c5"/*Value*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.9999943,
|
||||
"Y": 1.0,
|
||||
"Z": 0.99999,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "990fe4c0-1f9e-4d30-ad2b-cf23bde82902"/*Rasterizer*/,
|
||||
"SymbolId": "fbd7f0f0-36a3-4fbb-91e1-cb33d4666d09",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "99209c8f-3708-4f86-9fd9-220c75a49b4a"/*FloatsToBuffer*/,
|
||||
"SymbolId": "724da755-2d0c-42ab-8335-8c88ec5fb078",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9de06603-4ac4-48df-94b7-32c83d5c0f69"/*VertexShader*/,
|
||||
"SymbolId": "646f5988-0a76-4996-a538-ba48054fd0ad",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "78fb7501-74d9-4a27-8db2-596f25482c87"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/dx11/draw-Quad-vs.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "9a8b500e-c3b1-4be1-8270-202ef3f90793"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "vsMain"
|
||||
},
|
||||
{
|
||||
"Id": "c8a59cf8-6612-4d57-bcfd-3aeea351ba50"/*DebugName*/,
|
||||
"Type": "System.String",
|
||||
"Value": "vs-quad-no-geo"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9eef3178-c2b0-4f17-8735-d839b1b02901"/*BlendColors*/,
|
||||
"SymbolId": "6b7c541a-ca36-4f21-ac95-89e874820c5a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8d444e8c-d9b5-4206-9202-5abf23b13baf"/*Mode*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "be317db4-dae6-47c5-8a23-5d50581e2a1a"/*GetForegroundColor*/,
|
||||
"SymbolId": "6c1271a0-058f-4ff0-940b-f196e5debdf7",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "d33db784-31b8-4664-856b-73f833e8981c"/*_TransformsCBuffer*/,
|
||||
"SymbolId": "a60adc26-d7c6-4615-af78-8d2d6da46b79",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "e37b1218-9942-4370-941c-3fd1eea84628"/*RasterizerState*/,
|
||||
"SymbolId": "c7283335-ef57-46ad-9538-abbade65845a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "03f3bc7f-3949-4a97-88cf-04e162cfa2f7"/*CullMode*/,
|
||||
"Type": "SharpDX.Direct3D11.CullMode",
|
||||
"Value": "None"
|
||||
},
|
||||
{
|
||||
"Id": "31319fb4-8663-4908-95b8-e5d5a95f15b2"/*FrontCounterClockwise*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "e76bed8a-fa21-4016-88b1-37cb772c07d0"/*DepthStencilState*/,
|
||||
"SymbolId": "04858a08-f0fe-4536-9152-686659f0ab58",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "2342df71-a162-4db7-afc3-514916239897"/*EnableZWrite*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f45818a8-aa1a-4dc4-86ce-9e01d8d02c8a"/*ApplyTransformMatrix*/,
|
||||
"SymbolId": "195afff5-13f6-4c5d-af49-655a4f92c2f8",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f6847626-d6b8-4e90-8314-6883cc4eb23d"/*LoadImage*/,
|
||||
"SymbolId": "0b3436db-e283-436e-ba85-2f3a1de76a9d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "76cc3811-4ae0-48b2-a119-890db5a4eeb2"/*Path*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:images/basic/white.png"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "fd4027eb-b931-4447-93c8-17efa05895e4"/*PixelShader*/,
|
||||
"SymbolId": "f7c625da-fede-4993-976c-e259e0ee4985",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "24646f06-1509-43ce-94c6-eeb608ad97cd"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/dx11/draw-Quad-vs.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "501338b3-f432-49a5-bdbd-bcf209671305"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "psMain"
|
||||
},
|
||||
{
|
||||
"Id": "be9b3dc1-7122-4b3d-b936-cccf2581b69e"/*DebugName*/,
|
||||
"Type": "System.String",
|
||||
"Value": "ps-quad-no-geo"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "f45818a8-aa1a-4dc4-86ce-9e01d8d02c8a",
|
||||
"SourceSlotId": "51334471-d9fe-4574-8541-f87b67f2deab",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "b646098a-b62c-44dd-b6f7-f8d4821b0c12",
|
||||
"TargetParentOrChildId": "2d7a0d50-d3fd-42fb-b411-158e7ea708af",
|
||||
"TargetSlotId": "a870921f-a28c-4501-9f31-38a18b0acdcc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "5b880701-7935-48c4-8cad-f3fc0cc9cb3f",
|
||||
"SourceSlotId": "18cae035-c050-4f98-9e5e-b3a6db70dda7",
|
||||
"TargetParentOrChildId": "3484385a-950d-4e58-9c4e-672a56b9b137",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6b395d16-7f2d-407a-955f-4a101a8e47fe",
|
||||
"SourceSlotId": "805e271d-b9c5-45a2-9040-f30c68b06ea6",
|
||||
"TargetParentOrChildId": "3484385a-950d-4e58-9c4e-672a56b9b137",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "990fe4c0-1f9e-4d30-ad2b-cf23bde82902",
|
||||
"SourceSlotId": "c723ad69-ff0c-47b2-9327-bd27c0d7b6d1",
|
||||
"TargetParentOrChildId": "3484385a-950d-4e58-9c4e-672a56b9b137",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "409f7ef6-f0d2-4c18-89a6-5ee2b872f12d",
|
||||
"SourceSlotId": "cee8c3f0-64ea-4e4d-b967-ec7e3688dd03",
|
||||
"TargetParentOrChildId": "3484385a-950d-4e58-9c4e-672a56b9b137",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "176b0705-f9d8-46b9-a4cd-b614cba2cb4f",
|
||||
"SourceSlotId": "49b28dc3-fcd1-4067-bc83-e1cc848ae55c",
|
||||
"TargetParentOrChildId": "3484385a-950d-4e58-9c4e-672a56b9b137",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f6847626-d6b8-4e90-8314-6883cc4eb23d",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "39c61687-703d-4ff2-b1ba-9b3b92e9149e",
|
||||
"TargetSlotId": "38b478fa-c431-4dc1-80ef-d6c53c90389e"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc",
|
||||
"TargetParentOrChildId": "39c61687-703d-4ff2-b1ba-9b3b92e9149e",
|
||||
"TargetSlotId": "91bffbba-b815-44d7-8f93-3238376935bf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "e76bed8a-fa21-4016-88b1-37cb772c07d0",
|
||||
"SourceSlotId": "26e300cd-2dbe-49f2-aab5-a60317df5434",
|
||||
"TargetParentOrChildId": "409f7ef6-f0d2-4c18-89a6-5ee2b872f12d",
|
||||
"TargetSlotId": "1d5faad5-3be5-426c-b464-ad490ea3d1aa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6a7dd7a0-5d91-4d5b-85a4-c0d6f7a46c42",
|
||||
"SourceSlotId": "a42dd1c5-886c-4fa9-bf69-8b6321a48930",
|
||||
"TargetParentOrChildId": "409f7ef6-f0d2-4c18-89a6-5ee2b872f12d",
|
||||
"TargetSlotId": "e0bc9cf8-42c8-4632-b958-7a96f6d03ba2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "39c61687-703d-4ff2-b1ba-9b3b92e9149e",
|
||||
"SourceSlotId": "778f4eac-24ef-4e93-b864-39f150ab6cb2",
|
||||
"TargetParentOrChildId": "6943c6cc-4caa-42f3-b68c-49b6dc79e513",
|
||||
"TargetSlotId": "d5afa102-2f88-431e-9cd4-af91e41f88f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "c8d0e44e-acd1-4045-b565-e1ce0b722e70",
|
||||
"TargetParentOrChildId": "6a7dd7a0-5d91-4d5b-85a4-c0d6f7a46c42",
|
||||
"TargetSlotId": "30b58444-0485-4116-8b15-7e62fee69eaa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "fd4027eb-b931-4447-93c8-17efa05895e4",
|
||||
"SourceSlotId": "9c6e72f8-5ce6-42c3-abaa-1829d2c066c1",
|
||||
"TargetParentOrChildId": "6b395d16-7f2d-407a-955f-4a101a8e47fe",
|
||||
"TargetSlotId": "59864da4-3658-4d7d-830e-6ef0d3cbb505"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "2d7a0d50-d3fd-42fb-b411-158e7ea708af",
|
||||
"SourceSlotId": "0e45c596-c80f-4927-941f-e3199401aa10",
|
||||
"TargetParentOrChildId": "6b395d16-7f2d-407a-955f-4a101a8e47fe",
|
||||
"TargetSlotId": "60bae25c-64fe-40df-a2e6-a99297a92e0b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9de06603-4ac4-48df-94b7-32c83d5c0f69",
|
||||
"SourceSlotId": "ed31838b-14b5-4875-a0fc-dc427e874362",
|
||||
"TargetParentOrChildId": "6b395d16-7f2d-407a-955f-4a101a8e47fe",
|
||||
"TargetSlotId": "7a9ae929-7001-42ef-b7f2-f2e03bbb7206"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6943c6cc-4caa-42f3-b68c-49b6dc79e513",
|
||||
"SourceSlotId": "dc71f39f-3fba-4fc6-b8ef-ce57c82bf78e",
|
||||
"TargetParentOrChildId": "6b395d16-7f2d-407a-955f-4a101a8e47fe",
|
||||
"TargetSlotId": "83fdb275-3018-46a9-b75e-e9ee3d8660f4"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "d33db784-31b8-4664-856b-73f833e8981c",
|
||||
"SourceSlotId": "7a76d147-4b8e-48cf-aa3e-aac3aa90e888",
|
||||
"TargetParentOrChildId": "6b395d16-7f2d-407a-955f-4a101a8e47fe",
|
||||
"TargetSlotId": "9571b16e-72d1-4544-aa98-8a08b63bb5f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "99209c8f-3708-4f86-9fd9-220c75a49b4a",
|
||||
"SourceSlotId": "f5531ffb-dbde-45d3-af2a-bd90bcbf3710",
|
||||
"TargetParentOrChildId": "6b395d16-7f2d-407a-955f-4a101a8e47fe",
|
||||
"TargetSlotId": "9571b16e-72d1-4544-aa98-8a08b63bb5f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "4ac0a4d8-367c-4ece-9c1d-7abfbb2bfe27",
|
||||
"TargetParentOrChildId": "6cf2eb84-2d72-4a11-9482-20221cc78e28",
|
||||
"TargetSlotId": "0060afe4-642b-4da4-b6a5-acfab84de205"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "da0941c9-c700-4552-9d8a-799bf7a08826",
|
||||
"TargetParentOrChildId": "6cf2eb84-2d72-4a11-9482-20221cc78e28",
|
||||
"TargetSlotId": "1ecd57a7-f5dd-49ea-b950-acb86af78ff9"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "4618d8e0-2718-4373-a071-88ec1843b0c8",
|
||||
"TargetParentOrChildId": "6cf2eb84-2d72-4a11-9482-20221cc78e28",
|
||||
"TargetSlotId": "28d90f8c-ceae-46b8-9711-e62ba7826ce1"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc",
|
||||
"TargetParentOrChildId": "6cf2eb84-2d72-4a11-9482-20221cc78e28",
|
||||
"TargetSlotId": "39122251-dbc0-449e-8a56-5305cbbc3daa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "1d9ccc5d-bed4-4d07-b664-0903442e4f58",
|
||||
"TargetParentOrChildId": "6cf2eb84-2d72-4a11-9482-20221cc78e28",
|
||||
"TargetSlotId": "4d8e40c0-f4e4-4fdf-a4e0-24eb12c518d6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "a384be77-c5fc-47b3-9ec3-960db9f9bae9",
|
||||
"TargetParentOrChildId": "6cf2eb84-2d72-4a11-9482-20221cc78e28",
|
||||
"TargetSlotId": "674e048e-5a6c-4d3e-b1e0-e44603775e02"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "38f34034-b36f-4351-84e1-1a4f96e03fc6",
|
||||
"TargetParentOrChildId": "6cf2eb84-2d72-4a11-9482-20221cc78e28",
|
||||
"TargetSlotId": "91191320-fb10-4ae7-908c-2e2a03027f9e"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9eef3178-c2b0-4f17-8735-d839b1b02901",
|
||||
"SourceSlotId": "66ce8660-253c-4a0b-8aec-f7a56751a1e4",
|
||||
"TargetParentOrChildId": "9766e402-9293-49cb-9992-c2a9964edd6a",
|
||||
"TargetSlotId": "980ef785-6ae2-44d1-803e-febfc75791c5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "e37b1218-9942-4370-941c-3fd1eea84628",
|
||||
"SourceSlotId": "b409694a-0980-4992-8525-01871b940cd7",
|
||||
"TargetParentOrChildId": "990fe4c0-1f9e-4d30-ad2b-cf23bde82902",
|
||||
"TargetSlotId": "35a52074-1e82-4352-91c3-d8e464f73bc7"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9766e402-9293-49cb-9992-c2a9964edd6a",
|
||||
"SourceSlotId": "cfb58526-0053-4bca-aa85-d83823efba96",
|
||||
"TargetParentOrChildId": "99209c8f-3708-4f86-9fd9-220c75a49b4a",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9766e402-9293-49cb-9992-c2a9964edd6a",
|
||||
"SourceSlotId": "2f8e90dd-ba03-43dc-82a2-8d817df45cc7",
|
||||
"TargetParentOrChildId": "99209c8f-3708-4f86-9fd9-220c75a49b4a",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9766e402-9293-49cb-9992-c2a9964edd6a",
|
||||
"SourceSlotId": "162bb4fe-3c59-45c2-97cc-ecba85c1b275",
|
||||
"TargetParentOrChildId": "99209c8f-3708-4f86-9fd9-220c75a49b4a",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9766e402-9293-49cb-9992-c2a9964edd6a",
|
||||
"SourceSlotId": "e1dede5f-6963-4bcc-aa12-abeb819bb5da",
|
||||
"TargetParentOrChildId": "99209c8f-3708-4f86-9fd9-220c75a49b4a",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "696dc3f8-a9b0-4e11-b8ca-0036ec3bce08",
|
||||
"SourceSlotId": "f83f1835-477e-4bb6-93f0-14bf273b8e94",
|
||||
"TargetParentOrChildId": "99209c8f-3708-4f86-9fd9-220c75a49b4a",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "696dc3f8-a9b0-4e11-b8ca-0036ec3bce08",
|
||||
"SourceSlotId": "f83f1835-477e-4bb6-93f0-14bf273b8e94",
|
||||
"TargetParentOrChildId": "99209c8f-3708-4f86-9fd9-220c75a49b4a",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "be317db4-dae6-47c5-8a23-5d50581e2a1a",
|
||||
"SourceSlotId": "f962854b-00d6-4eb3-aa4c-e5d4bd500672",
|
||||
"TargetParentOrChildId": "9eef3178-c2b0-4f17-8735-d839b1b02901",
|
||||
"TargetSlotId": "b9e5c6f3-7052-456f-9d1b-c182b4412433"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "ed4f8c30-7b71-4649-97e6-710a718039b0",
|
||||
"TargetParentOrChildId": "9eef3178-c2b0-4f17-8735-d839b1b02901",
|
||||
"TargetSlotId": "eb601c57-2025-4135-8292-223eaedaf187"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "022f1959-a62b-49de-817a-3930bc8ec32b",
|
||||
"TargetParentOrChildId": "e76bed8a-fa21-4016-88b1-37cb772c07d0",
|
||||
"TargetSlotId": "2342df71-a162-4db7-afc3-514916239897"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "a83bdfb1-c92d-4844-9e43-8ce09959fae9",
|
||||
"TargetParentOrChildId": "e76bed8a-fa21-4016-88b1-37cb772c07d0",
|
||||
"TargetSlotId": "956b735b-c38a-4e8e-8186-caf4d36d4d20"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6cf2eb84-2d72-4a11-9482-20221cc78e28",
|
||||
"SourceSlotId": "d81a2db8-d72d-48b1-9201-0ee87822097e",
|
||||
"TargetParentOrChildId": "f45818a8-aa1a-4dc4-86ce-9e01d8d02c8a",
|
||||
"TargetSlotId": "c3b1ba6c-4306-4ae4-9429-d1f2461e2e8c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "3484385a-950d-4e58-9c4e-672a56b9b137",
|
||||
"SourceSlotId": "e81c99ce-fcee-4e7c-a1c7-0aa3b352b7e1",
|
||||
"TargetParentOrChildId": "f45818a8-aa1a-4dc4-86ce-9e01d8d02c8a",
|
||||
"TargetSlotId": "f7d28833-d894-446f-9402-e8ac74794870"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,313 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "d8c5330f-59b5-4907-b845-a02def3042fa"/*Layer2d*/,
|
||||
"Description": "Creates a 2D plane in 3D space onto which the incoming image is rendered.\nThis op automatically adjusts to the correct aspect ratio.\n\nA possible alternative [QuadMesh] -> [DrawMesh] -> [SetMaterial] in combination with [RenderTarget].",
|
||||
"SymbolTags": "1",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "022f1959-a62b-49de-817a-3930bc8ec32b"/*EnableDepthWrite*/,
|
||||
"Position": {
|
||||
"X": 510.461,
|
||||
"Y": 916.3779
|
||||
},
|
||||
"Description": "This defines whether the mesh / plane covers itself or is covered by or covers other meshes."
|
||||
},
|
||||
{
|
||||
"InputId": "1d9ccc5d-bed4-4d07-b664-0903442e4f58"/*ScaleMode*/,
|
||||
"Position": {
|
||||
"X": 1014.23206,
|
||||
"Y": 1162.8093
|
||||
},
|
||||
"Description": "Selects the mode in which the plane should dynamically adapt to the aspect ratio of the viewport."
|
||||
},
|
||||
{
|
||||
"InputId": "2a95ac54-5ef7-4d3c-a90b-ecd5b422bddc"/*Texture*/,
|
||||
"Relevancy": "Required",
|
||||
"Position": {
|
||||
"X": -13.199188,
|
||||
"Y": 1089.728
|
||||
},
|
||||
"Description": "Texture input for any 2D op.\ne.g. [RenderTarget], [LoadImage] etc."
|
||||
},
|
||||
{
|
||||
"InputId": "38f34034-b36f-4351-84e1-1a4f96e03fc6"/*Scale*/,
|
||||
"Position": {
|
||||
"X": 1014.23206,
|
||||
"Y": 1092.8093
|
||||
},
|
||||
"Description": "Uniformly scales the plane.",
|
||||
"Min": 0.01,
|
||||
"Max": 10.0,
|
||||
"Scale": 0.001,
|
||||
"ClampMin": true,
|
||||
"ClampMax": true,
|
||||
"Format": "{0:0.000} ×"
|
||||
},
|
||||
{
|
||||
"InputId": "4618d8e0-2718-4373-a071-88ec1843b0c8"/*Stretch*/,
|
||||
"Position": {
|
||||
"X": 1014.23206,
|
||||
"Y": 1057.8093
|
||||
},
|
||||
"Description": "Non-uniform scaling of the plane.\nX = Width\nY = Height",
|
||||
"AddPadding": "True",
|
||||
"Min": -2.0,
|
||||
"Max": 2.0,
|
||||
"UseVec2Control": "Position"
|
||||
},
|
||||
{
|
||||
"InputId": "4ac0a4d8-367c-4ece-9c1d-7abfbb2bfe27"/*PositionZ*/,
|
||||
"Position": {
|
||||
"X": 1014.23206,
|
||||
"Y": 1022.8094
|
||||
},
|
||||
"Description": "Distance to the viewport.\nPositive values reduce the distance. Negative values increase it."
|
||||
},
|
||||
{
|
||||
"InputId": "a384be77-c5fc-47b3-9ec3-960db9f9bae9"/*Position*/,
|
||||
"Position": {
|
||||
"X": 1014.23206,
|
||||
"Y": 987.8094
|
||||
},
|
||||
"Description": "The horizontal and vertical position of the layer in world space. \nWith the default camera the viewport at that distance is precisely two units high. So setting y to 1 will align the lower layer border to the screen center.",
|
||||
"Min": -1.0,
|
||||
"Max": 1.0,
|
||||
"Format": "{0:0.000}",
|
||||
"UseVec2Control": "Position"
|
||||
},
|
||||
{
|
||||
"InputId": "a83bdfb1-c92d-4844-9e43-8ce09959fae9"/*EnableDepthTest*/,
|
||||
"Position": {
|
||||
"X": 510.461,
|
||||
"Y": 881.3778
|
||||
},
|
||||
"Description": "This defines whether the mesh / plane covers itself or is covered by or covers other meshes."
|
||||
},
|
||||
{
|
||||
"InputId": "b646098a-b62c-44dd-b6f7-f8d4821b0c12"/*Filtering*/,
|
||||
"Position": {
|
||||
"X": 440.66754,
|
||||
"Y": 676.7888
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "c8d0e44e-acd1-4045-b565-e1ce0b722e70"/*BlendMode*/,
|
||||
"Position": {
|
||||
"X": 510.461,
|
||||
"Y": 846.3778
|
||||
},
|
||||
"GroupTitle": "Additional Options",
|
||||
"Description": "Selects the blend mode."
|
||||
},
|
||||
{
|
||||
"InputId": "da0941c9-c700-4552-9d8a-799bf7a08826"/*Rotate*/,
|
||||
"Position": {
|
||||
"X": 1014.23206,
|
||||
"Y": 1127.8093
|
||||
},
|
||||
"Description": "Positive values turn the plane counterclockwise, negative values turn it clockwise.",
|
||||
"Min": -90.0,
|
||||
"Max": 90.0,
|
||||
"Format": "{0:0.0}°"
|
||||
},
|
||||
{
|
||||
"InputId": "ed4f8c30-7b71-4649-97e6-710a718039b0"/*Color*/,
|
||||
"Position": {
|
||||
"X": -131.77287,
|
||||
"Y": 643.8898
|
||||
},
|
||||
"Description": "Selects a color which will be multiplied with the incoming image.",
|
||||
"AddPadding": "True",
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"ClampMin": true
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "176b0705-f9d8-46b9-a4cd-b614cba2cb4f"/*Draw*/,
|
||||
"Position": {
|
||||
"X": 720.1034,
|
||||
"Y": 1019.2916
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2d7a0d50-d3fd-42fb-b411-158e7ea708af"/*SamplerState*/,
|
||||
"Position": {
|
||||
"X": 580.66754,
|
||||
"Y": 676.7888
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "3484385a-950d-4e58-9c4e-672a56b9b137"/*Execute*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 76.37201,
|
||||
"Y": 365.7782
|
||||
},
|
||||
"Position": {
|
||||
"X": 1044.5198,
|
||||
"Y": 469.63873
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "39c61687-703d-4ff2-b1ba-9b3b92e9149e"/*UseFallbackTexture*/,
|
||||
"Position": {
|
||||
"X": -13.199188,
|
||||
"Y": 1124.728
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "409f7ef6-f0d2-4c18-89a6-5ee2b872f12d"/*OutputMergerStage*/,
|
||||
"Position": {
|
||||
"X": 790.461,
|
||||
"Y": 846.3778
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "5b880701-7935-48c4-8cad-f3fc0cc9cb3f"/*InputAssemblerStage*/,
|
||||
"Position": {
|
||||
"X": 904.5198,
|
||||
"Y": 469.63873
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6943c6cc-4caa-42f3-b68c-49b6dc79e513"/*SrvFromTexture2d*/,
|
||||
"Position": {
|
||||
"X": -13.199188,
|
||||
"Y": 1194.728
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "696dc3f8-a9b0-4e11-b8ca-0036ec3bce08"/*Value*/,
|
||||
"Position": {
|
||||
"X": 148.22717,
|
||||
"Y": 783.8898
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6a7dd7a0-5d91-4d5b-85a4-c0d6f7a46c42"/*PickBlendMode*/,
|
||||
"Position": {
|
||||
"X": 650.461,
|
||||
"Y": 846.3778
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6b395d16-7f2d-407a-955f-4a101a8e47fe"/*SetPixelAndVertexShaderStage*/,
|
||||
"Position": {
|
||||
"X": 720.66754,
|
||||
"Y": 501.78882
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6cf2eb84-2d72-4a11-9482-20221cc78e28"/*_ProcessLayer2d*/,
|
||||
"Position": {
|
||||
"X": 1154.232,
|
||||
"Y": 987.8094
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9766e402-9293-49cb-9992-c2a9964edd6a"/*Vector4Components*/,
|
||||
"Position": {
|
||||
"X": 148.22717,
|
||||
"Y": 643.8898
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "990fe4c0-1f9e-4d30-ad2b-cf23bde82902"/*Rasterizer*/,
|
||||
"Position": {
|
||||
"X": 717.1893,
|
||||
"Y": 749.56146
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "99209c8f-3708-4f86-9fd9-220c75a49b4a"/*FloatsToBuffer*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 114.64761,
|
||||
"Y": 78.82269
|
||||
},
|
||||
"Position": {
|
||||
"X": 288.22717,
|
||||
"Y": 608.8898
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9de06603-4ac4-48df-94b7-32c83d5c0f69"/*VertexShader*/,
|
||||
"Position": {
|
||||
"X": 580.66754,
|
||||
"Y": 501.78882
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9eef3178-c2b0-4f17-8735-d839b1b02901"/*BlendColors*/,
|
||||
"Position": {
|
||||
"X": 8.227173,
|
||||
"Y": 643.8898
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "be317db4-dae6-47c5-8a23-5d50581e2a1a"/*GetForegroundColor*/,
|
||||
"Position": {
|
||||
"X": -131.77287,
|
||||
"Y": 678.8898
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d33db784-31b8-4664-856b-73f833e8981c"/*_TransformsCBuffer*/,
|
||||
"Style": "Expanded",
|
||||
"Size": {
|
||||
"X": 110.0,
|
||||
"Y": 23.0
|
||||
},
|
||||
"Position": {
|
||||
"X": 580.66754,
|
||||
"Y": 571.7888
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e37b1218-9942-4370-941c-3fd1eea84628"/*RasterizerState*/,
|
||||
"Position": {
|
||||
"X": 577.1893,
|
||||
"Y": 749.56146
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e76bed8a-fa21-4016-88b1-37cb772c07d0"/*DepthStencilState*/,
|
||||
"Position": {
|
||||
"X": 650.461,
|
||||
"Y": 881.3778
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f45818a8-aa1a-4dc4-86ce-9e01d8d02c8a"/*ApplyTransformMatrix*/,
|
||||
"Position": {
|
||||
"X": 1344.5919,
|
||||
"Y": 518.7447
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f6847626-d6b8-4e90-8314-6883cc4eb23d"/*LoadImage*/,
|
||||
"Position": {
|
||||
"X": -153.19919,
|
||||
"Y": 1159.728
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "fd4027eb-b931-4447-93c8-17efa05895e4"/*PixelShader*/,
|
||||
"Position": {
|
||||
"X": 347.5894,
|
||||
"Y": 529.6306
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "e4a8d926-7abd-4d2a-82a1-b7d140cb457f"/*Output*/,
|
||||
"Position": {
|
||||
"X": 1344.5919,
|
||||
"Y": 588.74445
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
namespace Lib.render.basic;
|
||||
|
||||
[Guid("d38fe24e-be01-4a22-9595-b06bc906bf49")]
|
||||
internal sealed class ShadowPlane : Instance<ShadowPlane>
|
||||
{
|
||||
[Output(Guid = "e7622351-6afd-41dd-b9c7-bddc1e25e128")]
|
||||
public readonly Slot<Command> Output = new Slot<Command>();
|
||||
|
||||
|
||||
[Input(Guid = "7a51aab1-7de2-4bc2-bfb6-bd32aca0381c")]
|
||||
public readonly InputSlot<Command> Command = new InputSlot<Command>();
|
||||
|
||||
[Input(Guid = "5a2f2521-c521-48a9-99c9-3916413c7938")]
|
||||
public readonly InputSlot<float> PlaneSize = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "16527748-fe55-4ced-b08d-6c94377c5563")]
|
||||
public readonly InputSlot<float> FieldOfView = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "2f90c70b-7979-4426-aad2-7e715e7c1691", MappedType = typeof(Resolutions))]
|
||||
public readonly InputSlot<int> Resolution = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "f192118e-ea03-4233-a7b5-93f0fa380e93")]
|
||||
public readonly InputSlot<Vector4> Color = new InputSlot<Vector4>();
|
||||
|
||||
[Input(Guid = "7a330847-eb4d-4b18-8f55-d220351537a7")]
|
||||
public readonly InputSlot<float> BlurRadius = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "ad589e97-e1db-4557-8a46-f6618f3c969b")]
|
||||
public readonly InputSlot<Vector2> BlurDistribution = new InputSlot<Vector2>();
|
||||
|
||||
[Input(Guid = "bcfc6e35-6427-46fd-9902-189e88651ebe")]
|
||||
public readonly InputSlot<Vector3> Center = new InputSlot<Vector3>();
|
||||
|
||||
[Input(Guid = "48974f83-203f-4c35-896f-c1e0820214cf")]
|
||||
public readonly InputSlot<Vector3> Rotation = new InputSlot<Vector3>();
|
||||
|
||||
private enum Resolutions
|
||||
{
|
||||
_128 = 128,
|
||||
_256 = 256,
|
||||
_512 = 512,
|
||||
_1024 = 1024,
|
||||
_2048 = 2048,
|
||||
_4096 = 4096,
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,635 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "d38fe24e-be01-4a22-9595-b06bc906bf49"/*ShadowPlane*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "16527748-fe55-4ced-b08d-6c94377c5563"/*FieldOfView*/,
|
||||
"DefaultValue": 90.0
|
||||
},
|
||||
{
|
||||
"Id": "2f90c70b-7979-4426-aad2-7e715e7c1691"/*Resolution*/,
|
||||
"DefaultValue": 1024
|
||||
},
|
||||
{
|
||||
"Id": "48974f83-203f-4c35-896f-c1e0820214cf"/*Rotation*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "5a2f2521-c521-48a9-99c9-3916413c7938"/*PlaneSize*/,
|
||||
"DefaultValue": 10.0
|
||||
},
|
||||
{
|
||||
"Id": "7a330847-eb4d-4b18-8f55-d220351537a7"/*BlurRadius*/,
|
||||
"DefaultValue": 2.0
|
||||
},
|
||||
{
|
||||
"Id": "7a51aab1-7de2-4bc2-bfb6-bd32aca0381c"/*Command*/,
|
||||
"DefaultValue": null
|
||||
},
|
||||
{
|
||||
"Id": "ad589e97-e1db-4557-8a46-f6618f3c969b"/*BlurDistribution*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "bcfc6e35-6427-46fd-9902-189e88651ebe"/*Center*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.02,
|
||||
"Z": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "f192118e-ea03-4233-a7b5-93f0fa380e93"/*Color*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "21fd0395-3f6d-4deb-b15f-329ee0342d3e"/*RgbaToColor*/,
|
||||
"SymbolId": "82a5f040-926b-4970-9da2-aa36de94b436",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "f2fd304f-11e7-466f-b594-b1c3af901852"/*A*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 1.0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "37092ace-453c-41de-b933-8017dc2414c2"/*Camera*/,
|
||||
"SymbolId": "746d886c-5ab6-44b1-bb15-f3ce2fadf7e6",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "199d4ce0-aab1-403a-ad42-216ef1061a0e"/*ClipPlanes*/,
|
||||
"Type": "System.Numerics.Vector2",
|
||||
"Value": {
|
||||
"X": 0.01,
|
||||
"Y": 100.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "313596cc-3854-436b-89da-5fd40164ce76"/*Position*/,
|
||||
"Type": "System.Numerics.Vector3",
|
||||
"Value": {
|
||||
"X": -8.767942,
|
||||
"Y": 4.2484922,
|
||||
"Z": 0.50852364
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "7bde5a5a-ce82-4903-92ff-14e540a605f0"/*FieldOfView*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 90.0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "442f9150-9b6f-4d00-a8d0-68ba6794b0fc"/*Vec3Distance*/,
|
||||
"SymbolId": "4af1080c-3133-4070-a440-4cf2f4cc10a1",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "60f3216c-536c-4a91-863d-4dbbdd4d4b30"/*GetLightPosition*/,
|
||||
"SymbolId": "5914f00f-6600-42a2-bbd5-4201053058ec",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "75ade11c-8f0f-4025-9943-bc8449fdb664"/*Blob*/,
|
||||
"SymbolId": "27b0e1af-cb2e-4603-83f9-5c9b042d87e6",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "77544b82-e897-4e69-bfaf-e861891d1fd4"/*Rotate*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "d2b0dd99-c289-4c1b-9335-c29a6b4a6ba3"/*Color*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "e45f325d-cf2d-4972-aea6-9545aec66ea7"/*Resolution*/,
|
||||
"Type": "T3.Core.DataTypes.Vector.Int2",
|
||||
"Value": {
|
||||
"X": 64,
|
||||
"Y": 64
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "fd05c355-7afa-4af6-9529-d4071d145d3b"/*Background*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7b77ca3c-8bf8-4c85-a87f-386c607e4d6f"/*Remap*/,
|
||||
"SymbolId": "f0acd1a4-7a98-43ab-a807-6d1bd3e92169",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "252276fb-8de1-42cc-ba41-07d6862015bd"/*RangeOutMax*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "cd369755-5062-4934-8f37-e3a5cc9963df"/*RangeInMax*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 100.0
|
||||
},
|
||||
{
|
||||
"Id": "f2baf278-adde-42de-afce-336b6c8d0387"/*RangeOutMin*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 1.0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "81eeb5cf-b7a3-4711-8cc3-109fbd36650a"/*TransformMesh*/,
|
||||
"SymbolId": "026e6917-6e6f-4ee3-b2d4-58f4f1de74c9",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "da607ebd-6fec-4ae8-bf91-b70dcb794557"/*Translation*/,
|
||||
"Type": "System.Numerics.Vector3",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.02,
|
||||
"Z": 0.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a7d40340-c658-4e8d-ae2e-25e2b1c13bb4"/*Loop*/,
|
||||
"SymbolId": "3631c727-36a0-4f26-ae76-ee9c100efc33",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a84eab10-4cc5-4684-b874-ec4a1ff16217"/*MultiplyInt*/,
|
||||
"SymbolId": "6a4edb6a-5ced-4356-9090-4bf770cdeb52",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "e02f9e84-a7bf-45bf-9cb1-0b0c1c396796"/*B*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 2
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "a9645285-fcb3-4deb-b406-ab1e055713d3"/*_ReprojectShadowMap*/,
|
||||
"SymbolId": "e6df0d5d-bf6c-4672-801e-7a3270bd359b",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "cc8bc844-60ff-4976-ae70-d207400b42b6"/*ClearColor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 0.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "b08b37fa-cbc2-4bcd-a099-2c9580c80d68"/*Int2*/,
|
||||
"SymbolId": "f1218934-f874-4f70-a077-0ebe7d12104d",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "c3bbd5df-1c84-4700-b747-5a2dd57c0fe3"/*QuadMesh*/,
|
||||
"SymbolId": "9d6dbf28-9983-4584-abba-6281ce51d583",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "18a5f3be-92a7-438c-b32b-e0da7c7a5736"/*Segments*/,
|
||||
"Type": "T3.Core.DataTypes.Vector.Int2",
|
||||
"Value": {
|
||||
"X": 10,
|
||||
"Y": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "44fc1e7b-b1d1-4199-b373-8b7c4cc060d2"/*Scale*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 9.5
|
||||
},
|
||||
{
|
||||
"Id": "a89e41bf-5395-41f0-9804-a782ed4c0f30"/*Rotation*/,
|
||||
"Type": "System.Numerics.Vector3",
|
||||
"Value": {
|
||||
"X": -90.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "c4e11519-dfcc-4389-892e-a9502a78c52f"/*GetIntVar*/,
|
||||
"SymbolId": "470db771-c7f2-4c52-8897-d3a9b9fc6a4e",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "cb92bd05-f9b5-4c64-a4c2-f63a0a568a6a"/*RenderTarget*/,
|
||||
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "03749b41-cc3c-4f38-aea6-d7cea19fc073"/*Resolution*/,
|
||||
"Type": "T3.Core.DataTypes.Vector.Int2",
|
||||
"Value": {
|
||||
"X": 512,
|
||||
"Y": 512
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "6ea4f801-ff52-4266-a41f-b9ef02c68510"/*WithDepthBuffer*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "8bb4a4e5-0c88-4d99-a5b2-2c9e22bd301f"/*ClearColor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "ec46bef4-8dce-4eb4-bfe8-e35a5ac416ec"/*TextureFormat*/,
|
||||
"Type": "SharpDX.DXGI.Format",
|
||||
"Value": "R8G8B8A8_UNorm"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "dc8ae76a-f88e-4f52-b7ff-41e368d10d25"/*DefineLensFlare*/,
|
||||
"SymbolId": "947ad81e-47da-46c3-9b1d-8e578174d876",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "df2f1f45-7ee3-4359-b841-3c1021d21859"/*RgbaToColor*/,
|
||||
"SymbolId": "82a5f040-926b-4970-9da2-aa36de94b436",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "f2fd304f-11e7-466f-b594-b1c3af901852"/*A*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 1.0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "e218adc7-158f-4ce7-9656-4bad200aa9ed"/*BlurWithMask*/,
|
||||
"SymbolId": "d40966c3-2369-40f2-8202-e5c8ab6d9cc0",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "25091e3d-36ef-4892-965c-b7d3c983da22"/*Samples*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 8.0
|
||||
},
|
||||
{
|
||||
"Id": "731eaf1c-aef0-4310-a470-62c0dfeb310a"/*ApplyMaskToAlpha*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 1.0
|
||||
},
|
||||
{
|
||||
"Id": "fa5bb047-7466-4d68-9977-7a86815ca0f2"/*Size*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 2.6
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ed79cfab-16b0-4e11-a497-0a633c8d75e1"/*Vector2Components*/,
|
||||
"SymbolId": "0946c48b-85d8-4072-8f21-11d17cc6f6cf",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f4e38789-0288-451c-b5d2-807b7c9e55c0"/*DrawMeshUnlit*/,
|
||||
"SymbolId": "4499dcb1-c936-49ed-861b-2ad8ae58cb28",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "2c88e7c4-04f8-4e45-94d8-214775c5609c"/*EnableZWrite*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "48da47d3-8d30-4e85-8ecc-8c07894c54b4"/*TextureWrap*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "5100a9db-ee56-4023-9fb0-36cbfb439734"/*Color*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 0.71253645,
|
||||
"Y": 0.7635784,
|
||||
"Z": 0.8423268,
|
||||
"W": 0.79
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f893bd18-c49e-4c42-93cf-11de03ca1740"/*Int2*/,
|
||||
"SymbolId": "f1218934-f874-4f70-a077-0ebe7d12104d",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "fc5df852-d0df-49c3-9d22-d348fa100493"/*Add*/,
|
||||
"SymbolId": "c160f925-0a66-4505-a569-cadd878dbb6f",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "a7d40340-c658-4e8d-ae2e-25e2b1c13bb4",
|
||||
"SourceSlotId": "5685cbc4-fe19-4f0e-95a3-147d1fbbad15",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "e7622351-6afd-41dd-b9c7-bddc1e25e128"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ed79cfab-16b0-4e11-a497-0a633c8d75e1",
|
||||
"SourceSlotId": "305d321d-3334-476a-9fa3-4847912a4c58",
|
||||
"TargetParentOrChildId": "21fd0395-3f6d-4deb-b15f-329ee0342d3e",
|
||||
"TargetSlotId": "0742e707-1557-4f66-98d9-3f277416b7a3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ed79cfab-16b0-4e11-a497-0a633c8d75e1",
|
||||
"SourceSlotId": "305d321d-3334-476a-9fa3-4847912a4c58",
|
||||
"TargetParentOrChildId": "21fd0395-3f6d-4deb-b15f-329ee0342d3e",
|
||||
"TargetSlotId": "5f2de1d3-6803-4f56-aaf1-9e29b4d81eb8"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ed79cfab-16b0-4e11-a497-0a633c8d75e1",
|
||||
"SourceSlotId": "305d321d-3334-476a-9fa3-4847912a4c58",
|
||||
"TargetParentOrChildId": "21fd0395-3f6d-4deb-b15f-329ee0342d3e",
|
||||
"TargetSlotId": "80bc1511-7210-4710-a45f-ac961f1d672d"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "7a51aab1-7de2-4bc2-bfb6-bd32aca0381c",
|
||||
"TargetParentOrChildId": "37092ace-453c-41de-b933-8017dc2414c2",
|
||||
"TargetSlotId": "047b8fae-468c-48a7-8f3a-5fac8dd5b3c6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "60f3216c-536c-4a91-863d-4dbbdd4d4b30",
|
||||
"SourceSlotId": "598ea068-aaa0-43a7-ba58-a8021370ca90",
|
||||
"TargetParentOrChildId": "37092ace-453c-41de-b933-8017dc2414c2",
|
||||
"TargetSlotId": "313596cc-3854-436b-89da-5fd40164ce76"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "16527748-fe55-4ced-b08d-6c94377c5563",
|
||||
"TargetParentOrChildId": "37092ace-453c-41de-b933-8017dc2414c2",
|
||||
"TargetSlotId": "7bde5a5a-ce82-4903-92ff-14e540a605f0"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "60f3216c-536c-4a91-863d-4dbbdd4d4b30",
|
||||
"SourceSlotId": "598ea068-aaa0-43a7-ba58-a8021370ca90",
|
||||
"TargetParentOrChildId": "442f9150-9b6f-4d00-a8d0-68ba6794b0fc",
|
||||
"TargetSlotId": "c4094f11-d93d-4497-b1ce-1faa8bc1d1b0"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "bcfc6e35-6427-46fd-9902-189e88651ebe",
|
||||
"TargetParentOrChildId": "442f9150-9b6f-4d00-a8d0-68ba6794b0fc",
|
||||
"TargetSlotId": "eecb6054-ecb8-4b22-a685-6740ed1cfe5c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c4e11519-dfcc-4389-892e-a9502a78c52f",
|
||||
"SourceSlotId": "b306b216-630c-4611-90fd-52ff322ebd00",
|
||||
"TargetParentOrChildId": "60f3216c-536c-4a91-863d-4dbbdd4d4b30",
|
||||
"TargetSlotId": "a5c6ce06-f260-43ae-8ac7-5ea1cfb3f94e"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "df2f1f45-7ee3-4359-b841-3c1021d21859",
|
||||
"SourceSlotId": "ce1c3293-99ed-4309-b040-92931ee706d1",
|
||||
"TargetParentOrChildId": "75ade11c-8f0f-4025-9943-bc8449fdb664",
|
||||
"TargetSlotId": "d2b0dd99-c289-4c1b-9335-c29a6b4a6ba3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "21fd0395-3f6d-4deb-b15f-329ee0342d3e",
|
||||
"SourceSlotId": "ce1c3293-99ed-4309-b040-92931ee706d1",
|
||||
"TargetParentOrChildId": "75ade11c-8f0f-4025-9943-bc8449fdb664",
|
||||
"TargetSlotId": "fd05c355-7afa-4af6-9529-d4071d145d3b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "442f9150-9b6f-4d00-a8d0-68ba6794b0fc",
|
||||
"SourceSlotId": "14d4fd70-153b-4ad2-b068-71a29427fbf4",
|
||||
"TargetParentOrChildId": "7b77ca3c-8bf8-4c85-a87f-386c607e4d6f",
|
||||
"TargetSlotId": "40606d4e-acaf-4f23-a845-16f0eb9b73cf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "48974f83-203f-4c35-896f-c1e0820214cf",
|
||||
"TargetParentOrChildId": "81eeb5cf-b7a3-4711-8cc3-109fbd36650a",
|
||||
"TargetSlotId": "1168094f-1eee-4ed7-95e2-9459e6171e08"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c3bbd5df-1c84-4700-b747-5a2dd57c0fe3",
|
||||
"SourceSlotId": "9c86f704-a28f-4d2a-b7c0-15648f982462",
|
||||
"TargetParentOrChildId": "81eeb5cf-b7a3-4711-8cc3-109fbd36650a",
|
||||
"TargetSlotId": "c2c9afc7-3474-40c3-be82-b9f48c92a2c5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "bcfc6e35-6427-46fd-9902-189e88651ebe",
|
||||
"TargetParentOrChildId": "81eeb5cf-b7a3-4711-8cc3-109fbd36650a",
|
||||
"TargetSlotId": "da607ebd-6fec-4ae8-bf91-b70dcb794557"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "60f3216c-536c-4a91-863d-4dbbdd4d4b30",
|
||||
"SourceSlotId": "23d3f621-0420-4845-b739-3b6d40ae2b5c",
|
||||
"TargetParentOrChildId": "a7d40340-c658-4e8d-ae2e-25e2b1c13bb4",
|
||||
"TargetSlotId": "1f6e2adb-cff8-4dc4-9cb4-a26e3ad8b087"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f4e38789-0288-451c-b5d2-807b7c9e55c0",
|
||||
"SourceSlotId": "0e5c4ba6-278c-4c3c-96d8-00b706c5605b",
|
||||
"TargetParentOrChildId": "a7d40340-c658-4e8d-ae2e-25e2b1c13bb4",
|
||||
"TargetSlotId": "49552a0c-2060-4f03-ad39-388293bb6871"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "2f90c70b-7979-4426-aad2-7e715e7c1691",
|
||||
"TargetParentOrChildId": "a84eab10-4cc5-4684-b874-ec4a1ff16217",
|
||||
"TargetSlotId": "e010c56f-ff0b-44b6-bbd9-b50e2ccec2bf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f893bd18-c49e-4c42-93cf-11de03ca1740",
|
||||
"SourceSlotId": "3265ff5f-9d8d-48d5-a6f8-9085b4f19a78",
|
||||
"TargetParentOrChildId": "a9645285-fcb3-4deb-b406-ab1e055713d3",
|
||||
"TargetSlotId": "0319e655-9ac4-4526-80c9-f7286082e507"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "81eeb5cf-b7a3-4711-8cc3-109fbd36650a",
|
||||
"SourceSlotId": "9ff1bfed-4554-4c55-9557-8b318ac47afe",
|
||||
"TargetParentOrChildId": "a9645285-fcb3-4deb-b406-ab1e055713d3",
|
||||
"TargetSlotId": "0a8d40f1-c032-4c60-ac46-f7c6fd501f61"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "e218adc7-158f-4ce7-9656-4bad200aa9ed",
|
||||
"SourceSlotId": "8d199a8d-b02e-4fa2-8f7d-b156e4302fe3",
|
||||
"TargetParentOrChildId": "a9645285-fcb3-4deb-b406-ab1e055713d3",
|
||||
"TargetSlotId": "b95865f0-ae7a-4290-aebb-43bc6f277474"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "37092ace-453c-41de-b933-8017dc2414c2",
|
||||
"SourceSlotId": "761245e2-ac0b-435a-841e-7c9edc804606",
|
||||
"TargetParentOrChildId": "a9645285-fcb3-4deb-b406-ab1e055713d3",
|
||||
"TargetSlotId": "ceeeeca9-492d-40bd-9fbb-670b7f469d56"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "2f90c70b-7979-4426-aad2-7e715e7c1691",
|
||||
"TargetParentOrChildId": "b08b37fa-cbc2-4bcd-a099-2c9580c80d68",
|
||||
"TargetSlotId": "53602af2-48d9-42ab-80c3-ae1f1e600d28"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "2f90c70b-7979-4426-aad2-7e715e7c1691",
|
||||
"TargetParentOrChildId": "b08b37fa-cbc2-4bcd-a099-2c9580c80d68",
|
||||
"TargetSlotId": "579e72d6-638e-4b17-bb4e-88a55e3a1d4d"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "5a2f2521-c521-48a9-99c9-3916413c7938",
|
||||
"TargetParentOrChildId": "c3bbd5df-1c84-4700-b747-5a2dd57c0fe3",
|
||||
"TargetSlotId": "44fc1e7b-b1d1-4199-b373-8b7c4cc060d2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "b08b37fa-cbc2-4bcd-a099-2c9580c80d68",
|
||||
"SourceSlotId": "3265ff5f-9d8d-48d5-a6f8-9085b4f19a78",
|
||||
"TargetParentOrChildId": "cb92bd05-f9b5-4c64-a4c2-f63a0a568a6a",
|
||||
"TargetSlotId": "03749b41-cc3c-4f38-aea6-d7cea19fc073"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "37092ace-453c-41de-b933-8017dc2414c2",
|
||||
"SourceSlotId": "2e1742d8-9ba3-4236-a0cd-a2b02c9f5924",
|
||||
"TargetParentOrChildId": "cb92bd05-f9b5-4c64-a4c2-f63a0a568a6a",
|
||||
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ed79cfab-16b0-4e11-a497-0a633c8d75e1",
|
||||
"SourceSlotId": "1cee5adb-8c3c-4575-bdd6-5669c04d55ce",
|
||||
"TargetParentOrChildId": "df2f1f45-7ee3-4359-b841-3c1021d21859",
|
||||
"TargetSlotId": "0742e707-1557-4f66-98d9-3f277416b7a3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ed79cfab-16b0-4e11-a497-0a633c8d75e1",
|
||||
"SourceSlotId": "1cee5adb-8c3c-4575-bdd6-5669c04d55ce",
|
||||
"TargetParentOrChildId": "df2f1f45-7ee3-4359-b841-3c1021d21859",
|
||||
"TargetSlotId": "5f2de1d3-6803-4f56-aaf1-9e29b4d81eb8"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "ed79cfab-16b0-4e11-a497-0a633c8d75e1",
|
||||
"SourceSlotId": "1cee5adb-8c3c-4575-bdd6-5669c04d55ce",
|
||||
"TargetParentOrChildId": "df2f1f45-7ee3-4359-b841-3c1021d21859",
|
||||
"TargetSlotId": "80bc1511-7210-4710-a45f-ac961f1d672d"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "cb92bd05-f9b5-4c64-a4c2-f63a0a568a6a",
|
||||
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
|
||||
"TargetParentOrChildId": "e218adc7-158f-4ce7-9656-4bad200aa9ed",
|
||||
"TargetSlotId": "29f6bc05-de55-4336-a275-f06b835c66f8"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "75ade11c-8f0f-4025-9943-bc8449fdb664",
|
||||
"SourceSlotId": "b882de23-5b94-4791-af13-e195211cffb3",
|
||||
"TargetParentOrChildId": "e218adc7-158f-4ce7-9656-4bad200aa9ed",
|
||||
"TargetSlotId": "4837051f-033c-4e9e-9d1c-0fe85c1467cb"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "7a330847-eb4d-4b18-8f55-d220351537a7",
|
||||
"TargetParentOrChildId": "e218adc7-158f-4ce7-9656-4bad200aa9ed",
|
||||
"TargetSlotId": "fa5bb047-7466-4d68-9977-7a86815ca0f2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "ad589e97-e1db-4557-8a46-f6618f3c969b",
|
||||
"TargetParentOrChildId": "ed79cfab-16b0-4e11-a497-0a633c8d75e1",
|
||||
"TargetSlotId": "36f14238-5bb8-4521-9533-f4d1e8fb802b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "f192118e-ea03-4233-a7b5-93f0fa380e93",
|
||||
"TargetParentOrChildId": "f4e38789-0288-451c-b5d2-807b7c9e55c0",
|
||||
"TargetSlotId": "5100a9db-ee56-4023-9fb0-36cbfb439734"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a9645285-fcb3-4deb-b406-ab1e055713d3",
|
||||
"SourceSlotId": "5d59930e-6cf7-46f5-b28f-c4c4682877bd",
|
||||
"TargetParentOrChildId": "f4e38789-0288-451c-b5d2-807b7c9e55c0",
|
||||
"TargetSlotId": "a02180a6-7778-4fa2-9a69-228a26936755"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "81eeb5cf-b7a3-4711-8cc3-109fbd36650a",
|
||||
"SourceSlotId": "9ff1bfed-4554-4c55-9557-8b318ac47afe",
|
||||
"TargetParentOrChildId": "f4e38789-0288-451c-b5d2-807b7c9e55c0",
|
||||
"TargetSlotId": "be057b0a-1302-4076-bde1-6ae453815642"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a84eab10-4cc5-4684-b874-ec4a1ff16217",
|
||||
"SourceSlotId": "5e847363-142d-4da9-a5b3-3a7aa2541bed",
|
||||
"TargetParentOrChildId": "f893bd18-c49e-4c42-93cf-11de03ca1740",
|
||||
"TargetSlotId": "53602af2-48d9-42ab-80c3-ae1f1e600d28"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "a84eab10-4cc5-4684-b874-ec4a1ff16217",
|
||||
"SourceSlotId": "5e847363-142d-4da9-a5b3-3a7aa2541bed",
|
||||
"TargetParentOrChildId": "f893bd18-c49e-4c42-93cf-11de03ca1740",
|
||||
"TargetSlotId": "579e72d6-638e-4b17-bb4e-88a55e3a1d4d"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7b77ca3c-8bf8-4c85-a87f-386c607e4d6f",
|
||||
"SourceSlotId": "de6e6f65-cb51-49f1-bb90-34ed1ec963c1",
|
||||
"TargetParentOrChildId": "fc5df852-d0df-49c3-9d22-d348fa100493",
|
||||
"TargetSlotId": "993d59bb-1fc0-4857-a36d-629b0e7aa0d2"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,252 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "d38fe24e-be01-4a22-9595-b06bc906bf49"/*ShadowPlane*/,
|
||||
"Description": "Creates a Plane that is transparent except for a realtime rendered Shadowmap.\n\nSee [ShadowPlaneExample] on how to use it.",
|
||||
"SymbolTags": "64",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "16527748-fe55-4ced-b08d-6c94377c5563"/*FieldOfView*/,
|
||||
"Position": {
|
||||
"X": -446.21228,
|
||||
"Y": 138.63855
|
||||
},
|
||||
"GroupTitle": "ShadowMap",
|
||||
"Description": "This defines the angle at which the light casts a shadow. \nSince this operator treats any PointLight as a directional light, this can be helpful if lightsources are very close to the ShadowPlane and have to cast shadows in a wide 'Field of View'."
|
||||
},
|
||||
{
|
||||
"InputId": "2f90c70b-7979-4426-aad2-7e715e7c1691"/*Resolution*/,
|
||||
"Position": {
|
||||
"X": -446.21228,
|
||||
"Y": 183.63855
|
||||
},
|
||||
"Description": "Sets the resolution of the 'ShadowMap'"
|
||||
},
|
||||
{
|
||||
"InputId": "48974f83-203f-4c35-896f-c1e0820214cf"/*Rotation*/,
|
||||
"Position": {
|
||||
"X": -446.21228,
|
||||
"Y": 408.63855
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "5a2f2521-c521-48a9-99c9-3916413c7938"/*PlaneSize*/,
|
||||
"Position": {
|
||||
"X": -446.21228,
|
||||
"Y": 93.63855
|
||||
},
|
||||
"Description": "Can be used to scale the ShadowPlane if shadows are cut off too early",
|
||||
"AddPadding": "True"
|
||||
},
|
||||
{
|
||||
"InputId": "7a330847-eb4d-4b18-8f55-d220351537a7"/*BlurRadius*/,
|
||||
"Position": {
|
||||
"X": -446.21228,
|
||||
"Y": 273.63855
|
||||
},
|
||||
"GroupTitle": "Blur",
|
||||
"Description": "Defines how strongly the shadows are blurred",
|
||||
"Min": 0.0,
|
||||
"Max": 10.0
|
||||
},
|
||||
{
|
||||
"InputId": "7a51aab1-7de2-4bc2-bfb6-bd32aca0381c"/*Command*/,
|
||||
"Position": {
|
||||
"X": -446.21228,
|
||||
"Y": 3.6385498
|
||||
},
|
||||
"Description": "Everything connected here will cast a shadow onto the ShadowPlane"
|
||||
},
|
||||
{
|
||||
"InputId": "ad589e97-e1db-4557-8a46-f6618f3c969b"/*BlurDistribution*/,
|
||||
"Position": {
|
||||
"X": -446.21228,
|
||||
"Y": 318.63855
|
||||
},
|
||||
"Description": "Defines how strongly the shadows in the center (X) and at the edge (Y) of the ShadowPlane are blurred.",
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"ClampMin": true,
|
||||
"ClampMax": true,
|
||||
"Format": "{0:0.000} ×"
|
||||
},
|
||||
{
|
||||
"InputId": "bcfc6e35-6427-46fd-9902-189e88651ebe"/*Center*/,
|
||||
"Position": {
|
||||
"X": -446.21228,
|
||||
"Y": 363.63855
|
||||
},
|
||||
"GroupTitle": "Position",
|
||||
"Description": "Defines the Position of the ShadowPlane.\nThe default is slightly above the ground.\n"
|
||||
},
|
||||
{
|
||||
"InputId": "f192118e-ea03-4233-a7b5-93f0fa380e93"/*Color*/,
|
||||
"Position": {
|
||||
"X": -446.21228,
|
||||
"Y": 228.63855
|
||||
},
|
||||
"Description": "Defines the Color and Opacity of the shadow.",
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"ClampMin": true,
|
||||
"ClampMax": true
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "21fd0395-3f6d-4deb-b15f-329ee0342d3e"/*RgbaToColor*/,
|
||||
"Position": {
|
||||
"X": 168.00555,
|
||||
"Y": 541.9274
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "37092ace-453c-41de-b933-8017dc2414c2"/*Camera*/,
|
||||
"Position": {
|
||||
"X": -3.0855713,
|
||||
"Y": 23.51059
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "442f9150-9b6f-4d00-a8d0-68ba6794b0fc"/*Vec3Distance*/,
|
||||
"Position": {
|
||||
"X": 127.35327,
|
||||
"Y": -151.25143
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "60f3216c-536c-4a91-863d-4dbbdd4d4b30"/*GetLightPosition*/,
|
||||
"Position": {
|
||||
"X": -201.21283,
|
||||
"Y": -251.2857
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "75ade11c-8f0f-4025-9943-bc8449fdb664"/*Blob*/,
|
||||
"Position": {
|
||||
"X": 318.00555,
|
||||
"Y": 459.92743
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7b77ca3c-8bf8-4c85-a87f-386c607e4d6f"/*Remap*/,
|
||||
"Position": {
|
||||
"X": 262.50357,
|
||||
"Y": -139.28036
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "81eeb5cf-b7a3-4711-8cc3-109fbd36650a"/*TransformMesh*/,
|
||||
"Position": {
|
||||
"X": 692.2872,
|
||||
"Y": 367.72345
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a7d40340-c658-4e8d-ae2e-25e2b1c13bb4"/*Loop*/,
|
||||
"Position": {
|
||||
"X": 1249.445,
|
||||
"Y": 19.716095
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a84eab10-4cc5-4684-b874-ec4a1ff16217"/*MultiplyInt*/,
|
||||
"Position": {
|
||||
"X": 663.81494,
|
||||
"Y": 126.92261
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "a9645285-fcb3-4deb-b406-ab1e055713d3"/*_ReprojectShadowMap*/,
|
||||
"Position": {
|
||||
"X": 949.44495,
|
||||
"Y": 19.716095
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b08b37fa-cbc2-4bcd-a099-2c9580c80d68"/*Int2*/,
|
||||
"Position": {
|
||||
"X": -3.0855713,
|
||||
"Y": 105.51059
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c3bbd5df-1c84-4700-b747-5a2dd57c0fe3"/*QuadMesh*/,
|
||||
"Position": {
|
||||
"X": 485.50848,
|
||||
"Y": 356.1574
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c4e11519-dfcc-4389-892e-a9502a78c52f"/*GetIntVar*/,
|
||||
"Position": {
|
||||
"X": -351.21283,
|
||||
"Y": -251.2857
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "cb92bd05-f9b5-4c64-a4c2-f63a0a568a6a"/*RenderTarget*/,
|
||||
"Position": {
|
||||
"X": 183.84106,
|
||||
"Y": 20.145874
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "dc8ae76a-f88e-4f52-b7ff-41e368d10d25"/*DefineLensFlare*/,
|
||||
"Position": {
|
||||
"X": 797.22205,
|
||||
"Y": 784.865
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "df2f1f45-7ee3-4359-b841-3c1021d21859"/*RgbaToColor*/,
|
||||
"Position": {
|
||||
"X": 168.00555,
|
||||
"Y": 459.92743
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e218adc7-158f-4ce7-9656-4bad200aa9ed"/*BlurWithMask*/,
|
||||
"Position": {
|
||||
"X": 667.1459,
|
||||
"Y": -10.27417
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ed79cfab-16b0-4e11-a497-0a633c8d75e1"/*Vector2Components*/,
|
||||
"Position": {
|
||||
"X": -14.119766,
|
||||
"Y": 461.99835
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f4e38789-0288-451c-b5d2-807b7c9e55c0"/*DrawMeshUnlit*/,
|
||||
"Position": {
|
||||
"X": 1099.445,
|
||||
"Y": 19.716095
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f893bd18-c49e-4c42-93cf-11de03ca1740"/*Int2*/,
|
||||
"Position": {
|
||||
"X": 813.81494,
|
||||
"Y": 126.92261
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "fc5df852-d0df-49c3-9d22-d348fa100493"/*Add*/,
|
||||
"Position": {
|
||||
"X": 412.50357,
|
||||
"Y": -139.28036
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "e7622351-6afd-41dd-b9c7-bddc1e25e128"/*Output*/,
|
||||
"Position": {
|
||||
"X": 1632.5093,
|
||||
"Y": 11.630341
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
namespace Lib.render.basic;
|
||||
|
||||
[Guid("fd31d208-12fe-46bf-bfa3-101211f8f497")]
|
||||
internal sealed class Text : Instance<Text>, ITransformable
|
||||
{
|
||||
public enum HorizontalAligns
|
||||
{
|
||||
Left,
|
||||
Center,
|
||||
Right,
|
||||
}
|
||||
|
||||
public enum VerticalAligns
|
||||
{
|
||||
Top,
|
||||
Middle,
|
||||
Bottom,
|
||||
}
|
||||
|
||||
[Output(Guid = "3f8b20a7-c8b8-45ab-86a1-0efcd927358e", DirtyFlagTrigger = DirtyFlagTrigger.Always)]
|
||||
public readonly TransformCallbackSlot<Command> Output = new();
|
||||
|
||||
|
||||
public Text()
|
||||
{
|
||||
Output.TransformableOp = this;
|
||||
}
|
||||
|
||||
IInputSlot ITransformable.TranslationInput => Position;
|
||||
IInputSlot ITransformable.RotationInput => null;
|
||||
IInputSlot ITransformable.ScaleInput => null;
|
||||
public Action<Instance, EvaluationContext> TransformCallback { get; set; }
|
||||
|
||||
[Input(Guid = "f1f1be0e-d5bc-4940-bbc1-88bfa958f0e1")]
|
||||
public readonly InputSlot<string> InputText = new InputSlot<string>();
|
||||
|
||||
[Input(Guid = "0e5f05b4-5e8a-4f6d-8cac-03b04649eb67")]
|
||||
public readonly InputSlot<Vector4> Color = new InputSlot<Vector4>();
|
||||
|
||||
[Input(Guid = "989e6950-fd32-4d0b-97c2-d03264cb2db5")]
|
||||
public readonly InputSlot<Vector4> Shadow = new InputSlot<Vector4>();
|
||||
|
||||
[Input(Guid = "de0fed7d-d2af-4424-baf3-81606e26559f")]
|
||||
public readonly InputSlot<Vector2> Position = new InputSlot<Vector2>();
|
||||
|
||||
[Input(Guid = "50c9ab21-39f4-4e92-b5a7-ad9e60ae6ec3")]
|
||||
public readonly InputSlot<string> FontPath = new InputSlot<string>();
|
||||
|
||||
[Input(Guid = "d89c518c-a862-4f46-865b-0380350b7417")]
|
||||
public readonly InputSlot<float> Size = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "835d7f17-9de4-4612-a2f0-01c1346cdf1a")]
|
||||
public readonly InputSlot<float> Spacing = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "eaf9dc37-e70f-4197-895c-b5607456b4a2")]
|
||||
public readonly InputSlot<float> LineHeight = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "ae7f7e83-fa18-44fd-b639-3bd0dbd3ac06", MappedType = typeof(VerticalAligns))]
|
||||
public readonly InputSlot<int> VerticalAlign = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "82cc31ff-3307-4b6d-be70-16e471c2ffc9", MappedType = typeof(HorizontalAligns))]
|
||||
public readonly InputSlot<int> HorizontalAlign = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "28be4e86-6761-4d07-80bf-abf6f82897e4")]
|
||||
public readonly InputSlot<CullMode> CullMode = new InputSlot<CullMode>();
|
||||
|
||||
[Input(Guid = "7a76d5aa-1f44-4238-9333-7c2951becc31")]
|
||||
public readonly InputSlot<bool> EnableZTest = new InputSlot<bool>();
|
||||
|
||||
[Input(Guid = "62827185-635e-4bf4-b13a-301547b55acc")]
|
||||
public readonly InputSlot<float> Sharpness = new();
|
||||
|
||||
[Input(Guid = "065b6437-64ed-4ebc-bee0-578677421efb")]
|
||||
public readonly InputSlot<bool> BillboardMode = new InputSlot<bool>();
|
||||
}
|
||||
@@ -0,0 +1,677 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "fd31d208-12fe-46bf-bfa3-101211f8f497"/*Text*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "065b6437-64ed-4ebc-bee0-578677421efb"/*BillboardMode*/,
|
||||
"DefaultValue": false
|
||||
},
|
||||
{
|
||||
"Id": "0e5f05b4-5e8a-4f6d-8cac-03b04649eb67"/*Color*/,
|
||||
"DefaultValue": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "28be4e86-6761-4d07-80bf-abf6f82897e4"/*CullMode*/,
|
||||
"DefaultValue": "Back"
|
||||
},
|
||||
{
|
||||
"Id": "50c9ab21-39f4-4e92-b5a7-ad9e60ae6ec3"/*FontPath*/,
|
||||
"DefaultValue": "Examples:fonts/Roboto-Black.fnt"
|
||||
},
|
||||
{
|
||||
"Id": "62827185-635e-4bf4-b13a-301547b55acc"/*Sharpness*/,
|
||||
"DefaultValue": 16.0
|
||||
},
|
||||
{
|
||||
"Id": "7a76d5aa-1f44-4238-9333-7c2951becc31"/*EnableZTest*/,
|
||||
"DefaultValue": true
|
||||
},
|
||||
{
|
||||
"Id": "82cc31ff-3307-4b6d-be70-16e471c2ffc9"/*HorizontalAlign*/,
|
||||
"DefaultValue": 1
|
||||
},
|
||||
{
|
||||
"Id": "835d7f17-9de4-4612-a2f0-01c1346cdf1a"/*Spacing*/,
|
||||
"DefaultValue": 0.0
|
||||
},
|
||||
{
|
||||
"Id": "989e6950-fd32-4d0b-97c2-d03264cb2db5"/*Shadow*/,
|
||||
"DefaultValue": {
|
||||
"X": 1E-06,
|
||||
"Y": 9.9999E-07,
|
||||
"Z": 9.9999E-07,
|
||||
"W": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "ae7f7e83-fa18-44fd-b639-3bd0dbd3ac06"/*VerticalAlign*/,
|
||||
"DefaultValue": 1
|
||||
},
|
||||
{
|
||||
"Id": "d89c518c-a862-4f46-865b-0380350b7417"/*Size*/,
|
||||
"DefaultValue": 150.0
|
||||
},
|
||||
{
|
||||
"Id": "de0fed7d-d2af-4424-baf3-81606e26559f"/*Position*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "eaf9dc37-e70f-4197-895c-b5607456b4a2"/*LineHeight*/,
|
||||
"DefaultValue": 1.0
|
||||
},
|
||||
{
|
||||
"Id": "f1f1be0e-d5bc-4940-bbc1-88bfa958f0e1"/*InputText*/,
|
||||
"DefaultValue": "TiXL loves you..."
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "0618fcf2-ff9e-41bc-93e2-f4059b0d1eff"/*Vector4Components*/,
|
||||
"SymbolId": "b15e4950-5c72-4655-84bc-c00647319030",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "980ef785-6ae2-44d1-803e-febfc75791c5"/*Value*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.6279073,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "0ac06af7-96fe-4761-a0d7-f7c253ecfc48"/*LoadImage*/,
|
||||
"SymbolId": "0b3436db-e283-436e-ba85-2f3a1de76a9d",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "0c3c9def-c419-4d1d-9a7f-58941a5cae8f"/*GetForegroundColor*/,
|
||||
"SymbolId": "6c1271a0-058f-4ff0-940b-f196e5debdf7",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "0f187149-0932-4a8f-ae00-86513c0a4d51"/*RasterizerState*/,
|
||||
"SymbolId": "c7283335-ef57-46ad-9538-abbade65845a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "03f3bc7f-3949-4a97-88cf-04e162cfa2f7"/*CullMode*/,
|
||||
"Type": "SharpDX.Direct3D11.CullMode",
|
||||
"Value": "Back"
|
||||
},
|
||||
{
|
||||
"Id": "31319fb4-8663-4908-95b8-e5d5a95f15b2"/*FrontCounterClockwise*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "0f61fb31-eab8-401d-83b6-ce5bc54409fe"/*Draw*/,
|
||||
"SymbolId": "9b28e6b9-1d1f-42d8-8a9e-33497b1df820",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8716b11a-ef71-437e-9930-bb747da818a7"/*VertexCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 384
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "143c7600-57f9-4e58-8185-04293704d041"/*_RenderFontBuffer*/,
|
||||
"SymbolId": "c5707b79-859b-4d53-92e0-cbed53aae648",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "14829eac-ba59-4d31-90dc-53c7fc56cc30"/*VerticalAlign*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 0
|
||||
},
|
||||
{
|
||||
"Id": "1cde902d-5eaa-4144-b579-85f54717356b"/*Color*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.74666667,
|
||||
"Z": 0.6766667,
|
||||
"W": 0.6533333
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "5008e9b4-083a-4494-8f7c-50fe5d80fc35"/*Size*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.07803333
|
||||
},
|
||||
{
|
||||
"Id": "9eb4e13f-0fe3-4ed9-9df1-814f075a05da"/*LineHeight*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.9266667
|
||||
},
|
||||
{
|
||||
"Id": "e05e143e-8d4c-4de7-8c9c-7fa7755009d3"/*Spacing*/,
|
||||
"Type": "System.Single",
|
||||
"Value": -1.6733333
|
||||
},
|
||||
{
|
||||
"Id": "e43bc887-d425-4f9c-8a86-a32c761de0cc"/*HorizontalAlign*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
},
|
||||
{
|
||||
"Id": "f2dd87b1-7f37-4b02-871b-b2e35972f246"/*Text*/,
|
||||
"Type": "System.String",
|
||||
"Value": "This is test \njust perfect\nI don't like it. \nI'm not sure..."
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "2b65ff72-e36b-45c9-a7ae-e6d016c6ed83"/*PickBlendMode*/,
|
||||
"SymbolId": "fd9bffd3-5c57-462f-8761-85f94c5a629b",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "30b58444-0485-4116-8b15-7e62fee69eaa"/*BlendMode*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "2e0462df-06bc-4854-a4a3-e6057f4a72d1"/*InputAssemblerStage*/,
|
||||
"SymbolId": "9d1266c5-23db-439f-a475-8000fdd1c318",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "395e0473-ce2f-46e4-be5f-e38682ee3b8c"/*SearchAndReplace*/,
|
||||
"SymbolId": "b7910fc6-c3b2-4daf-93cd-010dcfe22a57",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "4fe3f641-1c36-4970-be71-dafb5632fb53"/*SearchPattern*/,
|
||||
"Type": "System.String",
|
||||
"Value": ".fnt"
|
||||
},
|
||||
{
|
||||
"Id": "de8297ae-c7d8-414a-8825-d0ff9c2e3d78"/*Replace*/,
|
||||
"Type": "System.String",
|
||||
"Value": ".png"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "40b536a8-4a74-4e18-8522-c6a137984463"/*SrvFromStructuredBuffer*/,
|
||||
"SymbolId": "8c41b312-6628-411c-a61d-604413b73a72",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "4f27bf70-0d11-483f-b9e8-1e509b8493f4"/*FloatsToBuffer*/,
|
||||
"SymbolId": "724da755-2d0c-42ab-8335-8c88ec5fb078",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "65008714-e069-4dc6-b4b6-a4c73229daa9"/*SamplerState*/,
|
||||
"SymbolId": "9515d59d-0bd5-406b-96da-6a5f60215700",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "4b51422e-1da7-4a28-b55f-47881d42f801"/*MipLoadBias*/,
|
||||
"Type": "System.Single",
|
||||
"Value": -0.4000002
|
||||
},
|
||||
{
|
||||
"Id": "93d8bf26-5067-4ccc-b4cb-e03970686462"/*AddressW*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "a870921f-a28c-4501-9f31-38a18b0acdcc"/*Filter*/,
|
||||
"Type": "SharpDX.Direct3D11.Filter",
|
||||
"Value": "MinMagMipLinear"
|
||||
},
|
||||
{
|
||||
"Id": "e7c95fd5-14d1-434f-a140-f22ef69076ab"/*AddressU*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "fdeb503f-09c6-48d1-8853-7426f68cdec3"/*AddressV*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "673bf3f1-d8c2-468a-87c3-0e6a11ecbf26"/*BlendColors*/,
|
||||
"SymbolId": "6b7c541a-ca36-4f21-ac95-89e874820c5a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8d444e8c-d9b5-4206-9202-5abf23b13baf"/*Mode*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "6e95b73b-978b-4fb0-962a-080f4e54845a"/*Vector4Components*/,
|
||||
"SymbolId": "b15e4950-5c72-4655-84bc-c00647319030",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "980ef785-6ae2-44d1-803e-febfc75791c5"/*Value*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.6279073,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7609847c-ece5-4e9e-8bc4-f6a26689d4a3"/*SrvFromTexture2d*/,
|
||||
"SymbolId": "c2078514-cf1d-439c-a732-0d7b31b5084a",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7ac21b66-d617-460a-af7b-f109b830e639"/*DepthStencilState*/,
|
||||
"SymbolId": "04858a08-f0fe-4536-9152-686659f0ab58",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "2342df71-a162-4db7-afc3-514916239897"/*EnableZWrite*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "956b735b-c38a-4e8e-8186-caf4d36d4d20"/*EnableZTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8991cb54-67d6-4dc9-b4fa-7861e367d737"/*_TransformsCBuffer*/,
|
||||
"SymbolId": "a60adc26-d7c6-4615-af78-8d2d6da46b79",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "8eaabe25-84fd-4d9e-bb33-200cd6c65e9d"/*OutputMergerStage*/,
|
||||
"SymbolId": "5efaf208-ba62-42ce-b3df-059b37fc1382",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "03166157-1e18-4513-8af5-398c6f4fcb1e"/*BlendSampleMask*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
},
|
||||
{
|
||||
"Id": "ccee2ec3-586f-4396-8b20-cc99484e1b64"/*BlendFactor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 0.984
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9fee529f-0ddb-415b-ab27-6fab96fff7d8"/*SetPixelAndVertexShaderStage*/,
|
||||
"SymbolId": "b956f707-2a33-4330-b7ff-9c91edbcf041",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "c2075c9d-ddb6-4db9-8690-f093ca36fe97"/*Rasterizer*/,
|
||||
"SymbolId": "fbd7f0f0-36a3-4fbb-91e1-cb33d4666d09",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "d52a235c-65dd-4ab3-a153-61b02eea3867"/*VertexShader*/,
|
||||
"SymbolId": "646f5988-0a76-4996-a538-ba48054fd0ad",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "78fb7501-74d9-4a27-8db2-596f25482c87"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/3d/draw-text-msdf.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "9a8b500e-c3b1-4be1-8270-202ef3f90793"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "vsMain"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "de6553be-c32a-44c2-978f-f39096fffc3d"/*BoolToFloat*/,
|
||||
"SymbolId": "9db2fcbf-54b9-4222-878b-80d1a0dc6edf",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "ebc4cfb8-952d-487e-b89f-b3274cc60a73"/*Execute*/,
|
||||
"SymbolId": "936e4324-bea2-463a-b196-6064a2d8a6b2",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "f28e2537-bf94-4c58-91ba-89518574c24a"/*PixelShader*/,
|
||||
"SymbolId": "f7c625da-fede-4993-976c-e259e0ee4985",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "24646f06-1509-43ce-94c6-eeb608ad97cd"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/3d/draw-text-msdf.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "501338b3-f432-49a5-bdbd-bcf209671305"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "psMain"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "ebc4cfb8-952d-487e-b89f-b3274cc60a73",
|
||||
"SourceSlotId": "e81c99ce-fcee-4e7c-a1c7-0aa3b352b7e1",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "3f8b20a7-c8b8-45ab-86a1-0efcd927358e"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "673bf3f1-d8c2-468a-87c3-0e6a11ecbf26",
|
||||
"SourceSlotId": "66ce8660-253c-4a0b-8aec-f7a56751a1e4",
|
||||
"TargetParentOrChildId": "0618fcf2-ff9e-41bc-93e2-f4059b0d1eff",
|
||||
"TargetSlotId": "980ef785-6ae2-44d1-803e-febfc75791c5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "395e0473-ce2f-46e4-be5f-e38682ee3b8c",
|
||||
"SourceSlotId": "15672e8f-c483-432e-8ced-f2bd18c1be67",
|
||||
"TargetParentOrChildId": "0ac06af7-96fe-4761-a0d7-f7c253ecfc48",
|
||||
"TargetSlotId": "76cc3811-4ae0-48b2-a119-890db5a4eeb2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "28be4e86-6761-4d07-80bf-abf6f82897e4",
|
||||
"TargetParentOrChildId": "0f187149-0932-4a8f-ae00-86513c0a4d51",
|
||||
"TargetSlotId": "03f3bc7f-3949-4a97-88cf-04e162cfa2f7"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"SourceSlotId": "a0eca9ce-35aa-497d-b5c9-cde52a7c8d58",
|
||||
"TargetParentOrChildId": "0f61fb31-eab8-401d-83b6-ce5bc54409fe",
|
||||
"TargetSlotId": "8716b11a-ef71-437e-9930-bb747da818a7"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "ae7f7e83-fa18-44fd-b639-3bd0dbd3ac06",
|
||||
"TargetParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"TargetSlotId": "14829eac-ba59-4d31-90dc-53c7fc56cc30"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "d89c518c-a862-4f46-865b-0380350b7417",
|
||||
"TargetParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"TargetSlotId": "5008e9b4-083a-4494-8f7c-50fe5d80fc35"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "eaf9dc37-e70f-4197-895c-b5607456b4a2",
|
||||
"TargetParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"TargetSlotId": "9eb4e13f-0fe3-4ed9-9df1-814f075a05da"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "de0fed7d-d2af-4424-baf3-81606e26559f",
|
||||
"TargetParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"TargetSlotId": "c4f03392-ff7e-4b4a-8740-f93a581b2b6b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "835d7f17-9de4-4612-a2f0-01c1346cdf1a",
|
||||
"TargetParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"TargetSlotId": "e05e143e-8d4c-4de7-8c9c-7fa7755009d3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "82cc31ff-3307-4b6d-be70-16e471c2ffc9",
|
||||
"TargetParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"TargetSlotId": "e43bc887-d425-4f9c-8a86-a32c761de0cc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "50c9ab21-39f4-4e92-b5a7-ad9e60ae6ec3",
|
||||
"TargetParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"TargetSlotId": "e827fdd1-20ca-473c-99ee-b839563690e9"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "f1f1be0e-d5bc-4940-bbc1-88bfa958f0e1",
|
||||
"TargetParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"TargetSlotId": "f2dd87b1-7f37-4b02-871b-b2e35972f246"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "50c9ab21-39f4-4e92-b5a7-ad9e60ae6ec3",
|
||||
"TargetParentOrChildId": "395e0473-ce2f-46e4-be5f-e38682ee3b8c",
|
||||
"TargetSlotId": "3ca66cbd-a16a-479c-b858-84732e5023ad"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "143c7600-57f9-4e58-8185-04293704d041",
|
||||
"SourceSlotId": "3d2f53a3-f1f0-489b-b20b-badb09cdaebe",
|
||||
"TargetParentOrChildId": "40b536a8-4a74-4e18-8522-c6a137984463",
|
||||
"TargetSlotId": "bd65ef2c-f32a-4279-bb5c-7f6467b23283"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0618fcf2-ff9e-41bc-93e2-f4059b0d1eff",
|
||||
"SourceSlotId": "cfb58526-0053-4bca-aa85-d83823efba96",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0618fcf2-ff9e-41bc-93e2-f4059b0d1eff",
|
||||
"SourceSlotId": "2f8e90dd-ba03-43dc-82a2-8d817df45cc7",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0618fcf2-ff9e-41bc-93e2-f4059b0d1eff",
|
||||
"SourceSlotId": "162bb4fe-3c59-45c2-97cc-ecba85c1b275",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0618fcf2-ff9e-41bc-93e2-f4059b0d1eff",
|
||||
"SourceSlotId": "e1dede5f-6963-4bcc-aa12-abeb819bb5da",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6e95b73b-978b-4fb0-962a-080f4e54845a",
|
||||
"SourceSlotId": "cfb58526-0053-4bca-aa85-d83823efba96",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6e95b73b-978b-4fb0-962a-080f4e54845a",
|
||||
"SourceSlotId": "2f8e90dd-ba03-43dc-82a2-8d817df45cc7",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6e95b73b-978b-4fb0-962a-080f4e54845a",
|
||||
"SourceSlotId": "162bb4fe-3c59-45c2-97cc-ecba85c1b275",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6e95b73b-978b-4fb0-962a-080f4e54845a",
|
||||
"SourceSlotId": "e1dede5f-6963-4bcc-aa12-abeb819bb5da",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "62827185-635e-4bf4-b13a-301547b55acc",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "de6553be-c32a-44c2-978f-f39096fffc3d",
|
||||
"SourceSlotId": "f0321a54-e844-482f-a161-7f137abc54b0",
|
||||
"TargetParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0c3c9def-c419-4d1d-9a7f-58941a5cae8f",
|
||||
"SourceSlotId": "f962854b-00d6-4eb3-aa4c-e5d4bd500672",
|
||||
"TargetParentOrChildId": "673bf3f1-d8c2-468a-87c3-0e6a11ecbf26",
|
||||
"TargetSlotId": "b9e5c6f3-7052-456f-9d1b-c182b4412433"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "0e5f05b4-5e8a-4f6d-8cac-03b04649eb67",
|
||||
"TargetParentOrChildId": "673bf3f1-d8c2-468a-87c3-0e6a11ecbf26",
|
||||
"TargetSlotId": "eb601c57-2025-4135-8292-223eaedaf187"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "989e6950-fd32-4d0b-97c2-d03264cb2db5",
|
||||
"TargetParentOrChildId": "6e95b73b-978b-4fb0-962a-080f4e54845a",
|
||||
"TargetSlotId": "980ef785-6ae2-44d1-803e-febfc75791c5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0ac06af7-96fe-4761-a0d7-f7c253ecfc48",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "7609847c-ece5-4e9e-8bc4-f6a26689d4a3",
|
||||
"TargetSlotId": "d5afa102-2f88-431e-9cd4-af91e41f88f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "7a76d5aa-1f44-4238-9333-7c2951becc31",
|
||||
"TargetParentOrChildId": "7ac21b66-d617-460a-af7b-f109b830e639",
|
||||
"TargetSlotId": "956b735b-c38a-4e8e-8186-caf4d36d4d20"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7ac21b66-d617-460a-af7b-f109b830e639",
|
||||
"SourceSlotId": "26e300cd-2dbe-49f2-aab5-a60317df5434",
|
||||
"TargetParentOrChildId": "8eaabe25-84fd-4d9e-bb33-200cd6c65e9d",
|
||||
"TargetSlotId": "1d5faad5-3be5-426c-b464-ad490ea3d1aa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "2b65ff72-e36b-45c9-a7ae-e6d016c6ed83",
|
||||
"SourceSlotId": "a42dd1c5-886c-4fa9-bf69-8b6321a48930",
|
||||
"TargetParentOrChildId": "8eaabe25-84fd-4d9e-bb33-200cd6c65e9d",
|
||||
"TargetSlotId": "e0bc9cf8-42c8-4632-b958-7a96f6d03ba2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "f28e2537-bf94-4c58-91ba-89518574c24a",
|
||||
"SourceSlotId": "9c6e72f8-5ce6-42c3-abaa-1829d2c066c1",
|
||||
"TargetParentOrChildId": "9fee529f-0ddb-415b-ab27-6fab96fff7d8",
|
||||
"TargetSlotId": "59864da4-3658-4d7d-830e-6ef0d3cbb505"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "65008714-e069-4dc6-b4b6-a4c73229daa9",
|
||||
"SourceSlotId": "0e45c596-c80f-4927-941f-e3199401aa10",
|
||||
"TargetParentOrChildId": "9fee529f-0ddb-415b-ab27-6fab96fff7d8",
|
||||
"TargetSlotId": "60bae25c-64fe-40df-a2e6-a99297a92e0b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "d52a235c-65dd-4ab3-a153-61b02eea3867",
|
||||
"SourceSlotId": "ed31838b-14b5-4875-a0fc-dc427e874362",
|
||||
"TargetParentOrChildId": "9fee529f-0ddb-415b-ab27-6fab96fff7d8",
|
||||
"TargetSlotId": "7a9ae929-7001-42ef-b7f2-f2e03bbb7206"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "40b536a8-4a74-4e18-8522-c6a137984463",
|
||||
"SourceSlotId": "2a1fcdf6-9416-45b2-96ca-a9d6d2692278",
|
||||
"TargetParentOrChildId": "9fee529f-0ddb-415b-ab27-6fab96fff7d8",
|
||||
"TargetSlotId": "83fdb275-3018-46a9-b75e-e9ee3d8660f4"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7609847c-ece5-4e9e-8bc4-f6a26689d4a3",
|
||||
"SourceSlotId": "dc71f39f-3fba-4fc6-b8ef-ce57c82bf78e",
|
||||
"TargetParentOrChildId": "9fee529f-0ddb-415b-ab27-6fab96fff7d8",
|
||||
"TargetSlotId": "83fdb275-3018-46a9-b75e-e9ee3d8660f4"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8991cb54-67d6-4dc9-b4fa-7861e367d737",
|
||||
"SourceSlotId": "7a76d147-4b8e-48cf-aa3e-aac3aa90e888",
|
||||
"TargetParentOrChildId": "9fee529f-0ddb-415b-ab27-6fab96fff7d8",
|
||||
"TargetSlotId": "9571b16e-72d1-4544-aa98-8a08b63bb5f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4",
|
||||
"SourceSlotId": "f5531ffb-dbde-45d3-af2a-bd90bcbf3710",
|
||||
"TargetParentOrChildId": "9fee529f-0ddb-415b-ab27-6fab96fff7d8",
|
||||
"TargetSlotId": "9571b16e-72d1-4544-aa98-8a08b63bb5f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0f187149-0932-4a8f-ae00-86513c0a4d51",
|
||||
"SourceSlotId": "b409694a-0980-4992-8525-01871b940cd7",
|
||||
"TargetParentOrChildId": "c2075c9d-ddb6-4db9-8690-f093ca36fe97",
|
||||
"TargetSlotId": "35a52074-1e82-4352-91c3-d8e464f73bc7"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "065b6437-64ed-4ebc-bee0-578677421efb",
|
||||
"TargetParentOrChildId": "de6553be-c32a-44c2-978f-f39096fffc3d",
|
||||
"TargetSlotId": "253b9ae4-fac5-4641-bf0c-d8614606a840"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "2e0462df-06bc-4854-a4a3-e6057f4a72d1",
|
||||
"SourceSlotId": "18cae035-c050-4f98-9e5e-b3a6db70dda7",
|
||||
"TargetParentOrChildId": "ebc4cfb8-952d-487e-b89f-b3274cc60a73",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9fee529f-0ddb-415b-ab27-6fab96fff7d8",
|
||||
"SourceSlotId": "805e271d-b9c5-45a2-9040-f30c68b06ea6",
|
||||
"TargetParentOrChildId": "ebc4cfb8-952d-487e-b89f-b3274cc60a73",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c2075c9d-ddb6-4db9-8690-f093ca36fe97",
|
||||
"SourceSlotId": "c723ad69-ff0c-47b2-9327-bd27c0d7b6d1",
|
||||
"TargetParentOrChildId": "ebc4cfb8-952d-487e-b89f-b3274cc60a73",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "8eaabe25-84fd-4d9e-bb33-200cd6c65e9d",
|
||||
"SourceSlotId": "cee8c3f0-64ea-4e4d-b967-ec7e3688dd03",
|
||||
"TargetParentOrChildId": "ebc4cfb8-952d-487e-b89f-b3274cc60a73",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "0f61fb31-eab8-401d-83b6-ce5bc54409fe",
|
||||
"SourceSlotId": "49b28dc3-fcd1-4067-bc83-e1cc848ae55c",
|
||||
"TargetParentOrChildId": "ebc4cfb8-952d-487e-b89f-b3274cc60a73",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,332 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "fd31d208-12fe-46bf-bfa3-101211f8f497"/*Text*/,
|
||||
"Description": "Creates flat 2D Text as an Object in 3D Space from bitmap fonts.\nFor each character a quad mesh is generated. [TextSprites] can be used to manipulate these generated objects.\n\nAny String Operator like [AString], [RandomString], etc. can be used as string input.\n\nThe fonts used consist of a BmFont font definition file and the matching MSDF (multichannel distance field) texture",
|
||||
"SymbolTags": "1",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "065b6437-64ed-4ebc-bee0-578677421efb"/*BillboardMode*/,
|
||||
"Position": {
|
||||
"X": -126.37311,
|
||||
"Y": 594.7006
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "0e5f05b4-5e8a-4f6d-8cac-03b04649eb67"/*Color*/,
|
||||
"Position": {
|
||||
"X": -266.3731,
|
||||
"Y": 279.70062
|
||||
},
|
||||
"Description": "Defines which color the surfaces of the letters have"
|
||||
},
|
||||
{
|
||||
"InputId": "28be4e86-6761-4d07-80bf-abf6f82897e4"/*CullMode*/,
|
||||
"Position": {
|
||||
"X": 610.4731,
|
||||
"Y": 489.61145
|
||||
},
|
||||
"GroupTitle": "Draw Options",
|
||||
"Description": "Defines whether / which surface is rendered invisible"
|
||||
},
|
||||
{
|
||||
"InputId": "50c9ab21-39f4-4e92-b5a7-ad9e60ae6ec3"/*FontPath*/,
|
||||
"Position": {
|
||||
"X": 252.9892,
|
||||
"Y": 818.09973
|
||||
},
|
||||
"GroupTitle": "Font & Size",
|
||||
"Description": "Defines which font is used",
|
||||
"Usage": "FilePath",
|
||||
"FileFilter": "fnt"
|
||||
},
|
||||
{
|
||||
"InputId": "62827185-635e-4bf4-b13a-301547b55acc"/*Sharpness*/,
|
||||
"Position": {
|
||||
"X": 13.626892,
|
||||
"Y": 559.7006
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "7a76d5aa-1f44-4238-9333-7c2951becc31"/*EnableZTest*/,
|
||||
"Position": {
|
||||
"X": 615.275,
|
||||
"Y": 607.82385
|
||||
},
|
||||
"Description": "Activates / deactivates whether the text covers / is covered by other elements."
|
||||
},
|
||||
{
|
||||
"InputId": "82cc31ff-3307-4b6d-be70-16e471c2ffc9"/*HorizontalAlign*/,
|
||||
"Position": {
|
||||
"X": 645.4279,
|
||||
"Y": 1038.7572
|
||||
},
|
||||
"Description": "Defines where the pivot is located in the horizontal position"
|
||||
},
|
||||
{
|
||||
"InputId": "835d7f17-9de4-4612-a2f0-01c1346cdf1a"/*Spacing*/,
|
||||
"Position": {
|
||||
"X": 645.4279,
|
||||
"Y": 898.7572
|
||||
},
|
||||
"Description": "Defines how wide the gaps between the letters and words are",
|
||||
"Min": -10.0,
|
||||
"Max": 10.0,
|
||||
"Scale": 0.1
|
||||
},
|
||||
{
|
||||
"InputId": "989e6950-fd32-4d0b-97c2-d03264cb2db5"/*Shadow*/,
|
||||
"Position": {
|
||||
"X": -126.37311,
|
||||
"Y": 419.70062
|
||||
},
|
||||
"Description": "Defines the color / opacity of the shadow that appears as an outline\nColors brighter than 1 create a glow effect"
|
||||
},
|
||||
{
|
||||
"InputId": "ae7f7e83-fa18-44fd-b639-3bd0dbd3ac06"/*VerticalAlign*/,
|
||||
"Position": {
|
||||
"X": 645.4279,
|
||||
"Y": 1003.7572
|
||||
},
|
||||
"GroupTitle": "Alignment",
|
||||
"Description": "Defines how high the letters are in relation to the pivot.\n\nTop: The pivot point is on the row line\nMiddle: The letters are centered above the pivot\nBottom: The pivot is at the bottom of the letters such as 'y', 'g', etc."
|
||||
},
|
||||
{
|
||||
"InputId": "d89c518c-a862-4f46-865b-0380350b7417"/*Size*/,
|
||||
"Position": {
|
||||
"X": 645.4279,
|
||||
"Y": 863.7572
|
||||
},
|
||||
"ExcludedFromPresets": "True",
|
||||
"Description": "Uniformly scales the Text",
|
||||
"Min": 0.0,
|
||||
"Max": 500.0,
|
||||
"Scale": 1.0
|
||||
},
|
||||
{
|
||||
"InputId": "de0fed7d-d2af-4424-baf3-81606e26559f"/*Position*/,
|
||||
"Position": {
|
||||
"X": 645.4279,
|
||||
"Y": 968.7572
|
||||
},
|
||||
"Description": "Offsets the position of the Text element",
|
||||
"AddPadding": "True",
|
||||
"Scale": 0.01,
|
||||
"UseVec2Control": "Position"
|
||||
},
|
||||
{
|
||||
"InputId": "eaf9dc37-e70f-4197-895c-b5607456b4a2"/*LineHeight*/,
|
||||
"Position": {
|
||||
"X": 645.4279,
|
||||
"Y": 933.7572
|
||||
},
|
||||
"Description": "Defines the space between the lines, if there are more than 1"
|
||||
},
|
||||
{
|
||||
"InputId": "f1f1be0e-d5bc-4940-bbc1-88bfa958f0e1"/*InputText*/,
|
||||
"Position": {
|
||||
"X": 645.4279,
|
||||
"Y": 793.7574
|
||||
},
|
||||
"Description": "String / Input for the text to be drawn",
|
||||
"Usage": "Multiline"
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "0618fcf2-ff9e-41bc-93e2-f4059b0d1eff"/*Vector4Components*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 111.079544,
|
||||
"Y": 59.905018
|
||||
},
|
||||
"Position": {
|
||||
"X": 13.626892,
|
||||
"Y": 279.70062
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "0ac06af7-96fe-4761-a0d7-f7c253ecfc48"/*LoadImage*/,
|
||||
"Position": {
|
||||
"X": 598.59595,
|
||||
"Y": 307.63022
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "0c3c9def-c419-4d1d-9a7f-58941a5cae8f"/*GetForegroundColor*/,
|
||||
"Position": {
|
||||
"X": -266.3731,
|
||||
"Y": 314.70062
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "0f187149-0932-4a8f-ae00-86513c0a4d51"/*RasterizerState*/,
|
||||
"Position": {
|
||||
"X": 750.4731,
|
||||
"Y": 489.61145
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "0f61fb31-eab8-401d-83b6-ce5bc54409fe"/*Draw*/,
|
||||
"Position": {
|
||||
"X": 925.4279,
|
||||
"Y": 1073.7572
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "143c7600-57f9-4e58-8185-04293704d041"/*_RenderFontBuffer*/,
|
||||
"Position": {
|
||||
"X": 785.4279,
|
||||
"Y": 793.7574
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2b65ff72-e36b-45c9-a7ae-e6d016c6ed83"/*PickBlendMode*/,
|
||||
"Position": {
|
||||
"X": 755.275,
|
||||
"Y": 642.824
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "2e0462df-06bc-4854-a4a3-e6057f4a72d1"/*InputAssemblerStage*/,
|
||||
"Position": {
|
||||
"X": 1236.2932,
|
||||
"Y": 135.57228
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "395e0473-ce2f-46e4-be5f-e38682ee3b8c"/*SearchAndReplace*/,
|
||||
"Position": {
|
||||
"X": 382.65103,
|
||||
"Y": 360.25864
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "40b536a8-4a74-4e18-8522-c6a137984463"/*SrvFromStructuredBuffer*/,
|
||||
"Position": {
|
||||
"X": 925.4279,
|
||||
"Y": 793.7574
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4f27bf70-0d11-483f-b9e8-1e509b8493f4"/*FloatsToBuffer*/,
|
||||
"Position": {
|
||||
"X": 153.62689,
|
||||
"Y": 244.70062
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "65008714-e069-4dc6-b4b6-a4c73229daa9"/*SamplerState*/,
|
||||
"Position": {
|
||||
"X": 738.59595,
|
||||
"Y": 342.63022
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "673bf3f1-d8c2-468a-87c3-0e6a11ecbf26"/*BlendColors*/,
|
||||
"Position": {
|
||||
"X": -126.37311,
|
||||
"Y": 279.70062
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6e95b73b-978b-4fb0-962a-080f4e54845a"/*Vector4Components*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 111.079544,
|
||||
"Y": 59.905018
|
||||
},
|
||||
"Position": {
|
||||
"X": 13.626892,
|
||||
"Y": 419.70062
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7609847c-ece5-4e9e-8bc4-f6a26689d4a3"/*SrvFromTexture2d*/,
|
||||
"Position": {
|
||||
"X": 738.59595,
|
||||
"Y": 307.63022
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7ac21b66-d617-460a-af7b-f109b830e639"/*DepthStencilState*/,
|
||||
"Position": {
|
||||
"X": 755.275,
|
||||
"Y": 607.82385
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8991cb54-67d6-4dc9-b4fa-7861e367d737"/*_TransformsCBuffer*/,
|
||||
"Position": {
|
||||
"X": 738.59595,
|
||||
"Y": 202.63022
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "8eaabe25-84fd-4d9e-bb33-200cd6c65e9d"/*OutputMergerStage*/,
|
||||
"Position": {
|
||||
"X": 895.275,
|
||||
"Y": 572.824
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9fee529f-0ddb-415b-ab27-6fab96fff7d8"/*SetPixelAndVertexShaderStage*/,
|
||||
"Position": {
|
||||
"X": 878.59595,
|
||||
"Y": 132.63022
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c2075c9d-ddb6-4db9-8690-f093ca36fe97"/*Rasterizer*/,
|
||||
"Position": {
|
||||
"X": 890.4731,
|
||||
"Y": 489.61145
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "d52a235c-65dd-4ab3-a153-61b02eea3867"/*VertexShader*/,
|
||||
"Position": {
|
||||
"X": 738.59595,
|
||||
"Y": 132.63022
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "de6553be-c32a-44c2-978f-f39096fffc3d"/*BoolToFloat*/,
|
||||
"Position": {
|
||||
"X": 13.626892,
|
||||
"Y": 594.7006
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "ebc4cfb8-952d-487e-b89f-b3274cc60a73"/*Execute*/,
|
||||
"Position": {
|
||||
"X": 1236.2932,
|
||||
"Y": 170.57228
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "f28e2537-bf94-4c58-91ba-89518574c24a"/*PixelShader*/,
|
||||
"Position": {
|
||||
"X": 738.59595,
|
||||
"Y": 167.63022
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "3f8b20a7-c8b8-45ab-86a1-0efcd927358e"/*Output*/,
|
||||
"Position": {
|
||||
"X": 1795.0107,
|
||||
"Y": 18.747711
|
||||
}
|
||||
}
|
||||
],
|
||||
"Links": [
|
||||
{
|
||||
"Id": "fc762a96-b3c6-44a0-83bf-ccabebea227c",
|
||||
"Title": "Adding fonts",
|
||||
"Description": "How to add new fonts to TiXL",
|
||||
"LinkUrl": "https://github.com/tixl3d/tixl/wiki/help.AddingFonts",
|
||||
"LinkType": "Documentation"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
namespace Lib.render.basic;
|
||||
|
||||
[Guid("84e9333f-38d2-422f-abf5-bf3929f01c7e")]
|
||||
internal sealed class TextOutlines : Instance<TextOutlines>
|
||||
,ITransformable
|
||||
{
|
||||
public enum HorizontalAligns
|
||||
{
|
||||
Left,
|
||||
Center,
|
||||
Right,
|
||||
}
|
||||
|
||||
public enum VerticalAligns
|
||||
{
|
||||
Top,
|
||||
Middle,
|
||||
Bottom,
|
||||
}
|
||||
|
||||
[Output(Guid = "58150633-cb65-416c-aad3-3496e930dfd0", DirtyFlagTrigger = DirtyFlagTrigger.Always)]
|
||||
public readonly TransformCallbackSlot<Command> Output = new();
|
||||
|
||||
|
||||
public TextOutlines()
|
||||
{
|
||||
Output.TransformableOp = this;
|
||||
}
|
||||
|
||||
IInputSlot ITransformable.TranslationInput => Position;
|
||||
IInputSlot ITransformable.RotationInput => null;
|
||||
IInputSlot ITransformable.ScaleInput => null;
|
||||
public Action<Instance, EvaluationContext> TransformCallback { get; set; }
|
||||
|
||||
[Input(Guid = "c4b53d8f-1357-47d4-aa73-ca6d07543994")]
|
||||
public readonly InputSlot<string> InputText = new InputSlot<string>();
|
||||
|
||||
[Input(Guid = "4da54683-460e-4af6-a729-5c631e22285a")]
|
||||
public readonly InputSlot<System.Numerics.Vector4> OutlineColor = new InputSlot<System.Numerics.Vector4>();
|
||||
|
||||
[Input(Guid = "9e5bfd8d-e3f1-4815-85f3-178be89efcc4")]
|
||||
public readonly InputSlot<System.Numerics.Vector4> FillColor = new InputSlot<System.Numerics.Vector4>();
|
||||
|
||||
[Input(Guid = "9c2089a2-266d-4022-b23d-4c67a8a19788")]
|
||||
public readonly InputSlot<System.Numerics.Vector2> Position = new InputSlot<System.Numerics.Vector2>();
|
||||
|
||||
[Input(Guid = "b15018a7-6c61-4cee-88fa-a43684ef5cc4")]
|
||||
public readonly InputSlot<float> OutsideLine = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "8efc35ee-875b-4181-aa1d-bd705f82bea9")]
|
||||
public readonly InputSlot<float> InsideLine = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "21a2292d-1969-41ee-a71f-00a1621f9539")]
|
||||
public readonly InputSlot<string> FontPath = new InputSlot<string>();
|
||||
|
||||
[Input(Guid = "b8035f87-f293-4da0-8bdc-ec75cc6252e7")]
|
||||
public readonly InputSlot<float> Size = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "e6164880-eae5-468e-8dd8-084d20918bc9")]
|
||||
public readonly InputSlot<float> Spacing = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "0abd9f81-bc91-4775-bf0e-472399b9778e")]
|
||||
public readonly InputSlot<float> LineHeight = new InputSlot<float>();
|
||||
|
||||
[Input(Guid = "e148fac5-d905-4e74-a958-5ed45b152ae1", MappedType = typeof(VerticalAligns))]
|
||||
public readonly InputSlot<int> VerticalAlign = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "617108fa-e7a6-478d-852b-cd5baa7d0b1c", MappedType = typeof(HorizontalAligns))]
|
||||
public readonly InputSlot<int> HorizontalAlign = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "a827c2c6-3286-4488-9a90-ed38c4184e6a")]
|
||||
public readonly InputSlot<SharpDX.Direct3D11.CullMode> CullMode = new InputSlot<SharpDX.Direct3D11.CullMode>();
|
||||
|
||||
[Input(Guid = "2cb6bb45-a74a-4eba-a2f0-2895e8e38b07")]
|
||||
public readonly InputSlot<bool> EnableZTest = new InputSlot<bool>();
|
||||
|
||||
[Input(Guid = "1b9a9ef5-fe48-4793-b420-7718643035f0")]
|
||||
public readonly InputSlot<int> Sharpness = new InputSlot<int>();
|
||||
|
||||
[Input(Guid = "2e0369a0-febf-46a1-b228-cc70d0ae22c6")]
|
||||
public readonly InputSlot<bool> BillboardMode = new InputSlot<bool>();
|
||||
}
|
||||
@@ -0,0 +1,715 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "84e9333f-38d2-422f-abf5-bf3929f01c7e"/*TextOutlines*/,
|
||||
"Inputs": [
|
||||
{
|
||||
"Id": "0abd9f81-bc91-4775-bf0e-472399b9778e"/*LineHeight*/,
|
||||
"DefaultValue": 1.0
|
||||
},
|
||||
{
|
||||
"Id": "1b9a9ef5-fe48-4793-b420-7718643035f0"/*Sharpness*/,
|
||||
"DefaultValue": 16
|
||||
},
|
||||
{
|
||||
"Id": "21a2292d-1969-41ee-a71f-00a1621f9539"/*FontPath*/,
|
||||
"DefaultValue": "Examples:fonts/Roboto-Black.fnt"
|
||||
},
|
||||
{
|
||||
"Id": "2cb6bb45-a74a-4eba-a2f0-2895e8e38b07"/*EnableZTest*/,
|
||||
"DefaultValue": true
|
||||
},
|
||||
{
|
||||
"Id": "2e0369a0-febf-46a1-b228-cc70d0ae22c6"/*BillboardMode*/,
|
||||
"DefaultValue": false
|
||||
},
|
||||
{
|
||||
"Id": "4da54683-460e-4af6-a729-5c631e22285a"/*OutlineColor*/,
|
||||
"DefaultValue": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "617108fa-e7a6-478d-852b-cd5baa7d0b1c"/*HorizontalAlign*/,
|
||||
"DefaultValue": 1
|
||||
},
|
||||
{
|
||||
"Id": "8efc35ee-875b-4181-aa1d-bd705f82bea9"/*InsideLine*/,
|
||||
"DefaultValue": 0.1
|
||||
},
|
||||
{
|
||||
"Id": "9c2089a2-266d-4022-b23d-4c67a8a19788"/*Position*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "9e5bfd8d-e3f1-4815-85f3-178be89efcc4"/*FillColor*/,
|
||||
"DefaultValue": {
|
||||
"X": 0.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.0,
|
||||
"W": 0.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "a827c2c6-3286-4488-9a90-ed38c4184e6a"/*CullMode*/,
|
||||
"DefaultValue": "Back"
|
||||
},
|
||||
{
|
||||
"Id": "b15018a7-6c61-4cee-88fa-a43684ef5cc4"/*OutsideLine*/,
|
||||
"DefaultValue": 0.1
|
||||
},
|
||||
{
|
||||
"Id": "b8035f87-f293-4da0-8bdc-ec75cc6252e7"/*Size*/,
|
||||
"DefaultValue": 50.0
|
||||
},
|
||||
{
|
||||
"Id": "c4b53d8f-1357-47d4-aa73-ca6d07543994"/*InputText*/,
|
||||
"DefaultValue": "Tooll loves you!"
|
||||
},
|
||||
{
|
||||
"Id": "e148fac5-d905-4e74-a958-5ed45b152ae1"/*VerticalAlign*/,
|
||||
"DefaultValue": 1
|
||||
},
|
||||
{
|
||||
"Id": "e6164880-eae5-468e-8dd8-084d20918bc9"/*Spacing*/,
|
||||
"DefaultValue": 0.0
|
||||
}
|
||||
],
|
||||
"Children": [
|
||||
{
|
||||
"Id": "1f3292f3-6891-4f88-a209-146825fe2e27"/*FloatsToBuffer*/,
|
||||
"SymbolId": "724da755-2d0c-42ab-8335-8c88ec5fb078",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "21e79b92-62f1-4f58-bc21-d0f92ab5a6da"/*LoadImage*/,
|
||||
"SymbolId": "0b3436db-e283-436e-ba85-2f3a1de76a9d",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "76cc3811-4ae0-48b2-a119-890db5a4eeb2"/*Path*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:images/font-6x6px.png"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "3756f08e-141d-4337-b5fd-93a7234c414c"/*SrvFromTexture2d*/,
|
||||
"SymbolId": "c2078514-cf1d-439c-a732-0d7b31b5084a",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "3e023b35-277e-4545-bdb7-8d39670999c0"/*SetPixelAndVertexShaderStage*/,
|
||||
"SymbolId": "b956f707-2a33-4330-b7ff-9c91edbcf041",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "4383b375-c916-4de8-9644-103765488e89"/*VertexShader*/,
|
||||
"SymbolId": "646f5988-0a76-4996-a538-ba48054fd0ad",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "78fb7501-74d9-4a27-8db2-596f25482c87"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/3d/draw-text-msdf-outlines2.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "9a8b500e-c3b1-4be1-8270-202ef3f90793"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "vsMain"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "44bcbcfd-245f-4e1b-8776-ba008340250d"/*SamplerState*/,
|
||||
"SymbolId": "9515d59d-0bd5-406b-96da-6a5f60215700",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "4b51422e-1da7-4a28-b55f-47881d42f801"/*MipLoadBias*/,
|
||||
"Type": "System.Single",
|
||||
"Value": -0.4000002
|
||||
},
|
||||
{
|
||||
"Id": "93d8bf26-5067-4ccc-b4cb-e03970686462"/*AddressW*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "a870921f-a28c-4501-9f31-38a18b0acdcc"/*Filter*/,
|
||||
"Type": "SharpDX.Direct3D11.Filter",
|
||||
"Value": "MinMagMipLinear"
|
||||
},
|
||||
{
|
||||
"Id": "e7c95fd5-14d1-434f-a140-f22ef69076ab"/*AddressU*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
},
|
||||
{
|
||||
"Id": "fdeb503f-09c6-48d1-8853-7426f68cdec3"/*AddressV*/,
|
||||
"Type": "SharpDX.Direct3D11.TextureAddressMode",
|
||||
"Value": "Clamp"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "4821f8dd-0b31-402b-aebb-5dd941b0e9d0"/*GetForegroundColor*/,
|
||||
"SymbolId": "6c1271a0-058f-4ff0-940b-f196e5debdf7",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "4d6b3594-6f04-44a7-95cb-ed18c2e363a3"/*BlendColors*/,
|
||||
"SymbolId": "6b7c541a-ca36-4f21-ac95-89e874820c5a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8d444e8c-d9b5-4206-9202-5abf23b13baf"/*Mode*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "5002054b-45e2-434c-8e8f-6e4f47750b56"/*Execute*/,
|
||||
"SymbolId": "936e4324-bea2-463a-b196-6064a2d8a6b2",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "5018bb23-2143-4fe5-abeb-a958143aca74"/*PixelShader*/,
|
||||
"SymbolId": "f7c625da-fede-4993-976c-e259e0ee4985",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "24646f06-1509-43ce-94c6-eeb608ad97cd"/*Source*/,
|
||||
"Type": "System.String",
|
||||
"Value": "Lib:shaders/3d/draw-text-msdf-outlines2.hlsl"
|
||||
},
|
||||
{
|
||||
"Id": "501338b3-f432-49a5-bdbd-bcf209671305"/*EntryPoint*/,
|
||||
"Type": "System.String",
|
||||
"Value": "psMain"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "589cb593-f902-4957-8b20-d0846613895a"/*BoolToFloat*/,
|
||||
"SymbolId": "9db2fcbf-54b9-4222-878b-80d1a0dc6edf",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "59994f7e-dae6-4356-89e4-d5c8d07632b3"/*SearchAndReplace*/,
|
||||
"SymbolId": "b7910fc6-c3b2-4daf-93cd-010dcfe22a57",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "4fe3f641-1c36-4970-be71-dafb5632fb53"/*SearchPattern*/,
|
||||
"Type": "System.String",
|
||||
"Value": ".fnt"
|
||||
},
|
||||
{
|
||||
"Id": "de8297ae-c7d8-414a-8825-d0ff9c2e3d78"/*Replace*/,
|
||||
"Type": "System.String",
|
||||
"Value": ".png"
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "6e76ff26-924a-41de-91d7-4b9a8e551a8f"/*_RenderFontBuffer*/,
|
||||
"SymbolId": "c5707b79-859b-4d53-92e0-cbed53aae648",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "14829eac-ba59-4d31-90dc-53c7fc56cc30"/*VerticalAlign*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 0
|
||||
},
|
||||
{
|
||||
"Id": "1cde902d-5eaa-4144-b579-85f54717356b"/*Color*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.74666667,
|
||||
"Z": 0.6766667,
|
||||
"W": 0.6533333
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "5008e9b4-083a-4494-8f7c-50fe5d80fc35"/*Size*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.07803333
|
||||
},
|
||||
{
|
||||
"Id": "9eb4e13f-0fe3-4ed9-9df1-814f075a05da"/*LineHeight*/,
|
||||
"Type": "System.Single",
|
||||
"Value": 0.9266667
|
||||
},
|
||||
{
|
||||
"Id": "e05e143e-8d4c-4de7-8c9c-7fa7755009d3"/*Spacing*/,
|
||||
"Type": "System.Single",
|
||||
"Value": -1.6733333
|
||||
},
|
||||
{
|
||||
"Id": "e43bc887-d425-4f9c-8a86-a32c761de0cc"/*HorizontalAlign*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
},
|
||||
{
|
||||
"Id": "f2dd87b1-7f37-4b02-871b-b2e35972f246"/*Text*/,
|
||||
"Type": "System.String",
|
||||
"Value": "This is test \njust perfect\nI don't like it. \nI'm not sure..."
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "71c0881d-6d2b-45d7-a16f-13581dcd2a64"/*SrvFromStructuredBuffer*/,
|
||||
"SymbolId": "8c41b312-6628-411c-a61d-604413b73a72",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "7b93d07f-c08e-42c1-8d1d-78ceb74d5e91"/*IntToFloat*/,
|
||||
"SymbolId": "17db8a36-079d-4c83-8a2a-7ea4c1aa49e6",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "952abd5a-de96-425b-a551-9f147d161c62"/*RasterizerState*/,
|
||||
"SymbolId": "c7283335-ef57-46ad-9538-abbade65845a",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "03f3bc7f-3949-4a97-88cf-04e162cfa2f7"/*CullMode*/,
|
||||
"Type": "SharpDX.Direct3D11.CullMode",
|
||||
"Value": "Back"
|
||||
},
|
||||
{
|
||||
"Id": "31319fb4-8663-4908-95b8-e5d5a95f15b2"/*FrontCounterClockwise*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "961e44b2-d654-4e3e-9939-a0d46bbbde40"/*OutputMergerStage*/,
|
||||
"SymbolId": "5efaf208-ba62-42ce-b3df-059b37fc1382",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "03166157-1e18-4513-8af5-398c6f4fcb1e"/*BlendSampleMask*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 1
|
||||
},
|
||||
{
|
||||
"Id": "ccee2ec3-586f-4396-8b20-cc99484e1b64"/*BlendFactor*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 1.0,
|
||||
"Z": 1.0,
|
||||
"W": 0.984
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "9b90ce7d-226e-4892-b82a-be9445115293"/*_TransformsCBuffer*/,
|
||||
"SymbolId": "a60adc26-d7c6-4615-af78-8d2d6da46b79",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "af793c7b-ad9d-4804-abec-6ed71c00e154"/*Vector4Components*/,
|
||||
"SymbolId": "b15e4950-5c72-4655-84bc-c00647319030",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "980ef785-6ae2-44d1-803e-febfc75791c5"/*Value*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.6279073,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "b7991b17-0b4c-4a32-a30b-aea3b214d10b"/*DepthStencilState*/,
|
||||
"SymbolId": "04858a08-f0fe-4536-9152-686659f0ab58",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "2342df71-a162-4db7-afc3-514916239897"/*EnableZWrite*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": false
|
||||
},
|
||||
{
|
||||
"Id": "956b735b-c38a-4e8e-8186-caf4d36d4d20"/*EnableZTest*/,
|
||||
"Type": "System.Boolean",
|
||||
"Value": true
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "c5910345-783a-4aa5-bb64-7c25998505c3"/*InputAssemblerStage*/,
|
||||
"SymbolId": "9d1266c5-23db-439f-a475-8000fdd1c318",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "c6d81c7b-8371-42b4-a155-bfc241ebe641"/*Vector4Components*/,
|
||||
"SymbolId": "b15e4950-5c72-4655-84bc-c00647319030",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "980ef785-6ae2-44d1-803e-febfc75791c5"/*Value*/,
|
||||
"Type": "System.Numerics.Vector4",
|
||||
"Value": {
|
||||
"X": 1.0,
|
||||
"Y": 0.0,
|
||||
"Z": 0.6279073,
|
||||
"W": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "dcf3be83-a20e-40d9-9673-ebf4c15fdff6"/*PickBlendMode*/,
|
||||
"SymbolId": "fd9bffd3-5c57-462f-8761-85f94c5a629b",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "30b58444-0485-4116-8b15-7e62fee69eaa"/*BlendMode*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 0
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "df94f1fa-8394-4e10-aacf-a342035a1d52"/*Draw*/,
|
||||
"SymbolId": "9b28e6b9-1d1f-42d8-8a9e-33497b1df820",
|
||||
"InputValues": [
|
||||
{
|
||||
"Id": "8716b11a-ef71-437e-9930-bb747da818a7"/*VertexCount*/,
|
||||
"Type": "System.Int32",
|
||||
"Value": 384
|
||||
}
|
||||
],
|
||||
"Outputs": []
|
||||
},
|
||||
{
|
||||
"Id": "e3fe1f65-047f-4f9a-a373-b12e0e014df3"/*Rasterizer*/,
|
||||
"SymbolId": "fbd7f0f0-36a3-4fbb-91e1-cb33d4666d09",
|
||||
"InputValues": [],
|
||||
"Outputs": []
|
||||
}
|
||||
],
|
||||
"Connections": [
|
||||
{
|
||||
"SourceParentOrChildId": "5002054b-45e2-434c-8e8f-6e4f47750b56",
|
||||
"SourceSlotId": "e81c99ce-fcee-4e7c-a1c7-0aa3b352b7e1",
|
||||
"TargetParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"TargetSlotId": "58150633-cb65-416c-aad3-3496e930dfd0"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c6d81c7b-8371-42b4-a155-bfc241ebe641",
|
||||
"SourceSlotId": "cfb58526-0053-4bca-aa85-d83823efba96",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c6d81c7b-8371-42b4-a155-bfc241ebe641",
|
||||
"SourceSlotId": "2f8e90dd-ba03-43dc-82a2-8d817df45cc7",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c6d81c7b-8371-42b4-a155-bfc241ebe641",
|
||||
"SourceSlotId": "162bb4fe-3c59-45c2-97cc-ecba85c1b275",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c6d81c7b-8371-42b4-a155-bfc241ebe641",
|
||||
"SourceSlotId": "e1dede5f-6963-4bcc-aa12-abeb819bb5da",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "af793c7b-ad9d-4804-abec-6ed71c00e154",
|
||||
"SourceSlotId": "cfb58526-0053-4bca-aa85-d83823efba96",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "af793c7b-ad9d-4804-abec-6ed71c00e154",
|
||||
"SourceSlotId": "2f8e90dd-ba03-43dc-82a2-8d817df45cc7",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "af793c7b-ad9d-4804-abec-6ed71c00e154",
|
||||
"SourceSlotId": "162bb4fe-3c59-45c2-97cc-ecba85c1b275",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "af793c7b-ad9d-4804-abec-6ed71c00e154",
|
||||
"SourceSlotId": "e1dede5f-6963-4bcc-aa12-abeb819bb5da",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "8efc35ee-875b-4181-aa1d-bd705f82bea9",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "b15018a7-6c61-4cee-88fa-a43684ef5cc4",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "7b93d07f-c08e-42c1-8d1d-78ceb74d5e91",
|
||||
"SourceSlotId": "db1073a1-b9d8-4d52-bc5c-7ae8c0ee1ac3",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "589cb593-f902-4957-8b20-d0846613895a",
|
||||
"SourceSlotId": "f0321a54-e844-482f-a161-7f137abc54b0",
|
||||
"TargetParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"TargetSlotId": "49556d12-4cd1-4341-b9d8-c356668d296c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "59994f7e-dae6-4356-89e4-d5c8d07632b3",
|
||||
"SourceSlotId": "15672e8f-c483-432e-8ced-f2bd18c1be67",
|
||||
"TargetParentOrChildId": "21e79b92-62f1-4f58-bc21-d0f92ab5a6da",
|
||||
"TargetSlotId": "76cc3811-4ae0-48b2-a119-890db5a4eeb2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "21e79b92-62f1-4f58-bc21-d0f92ab5a6da",
|
||||
"SourceSlotId": "e0c4fedd-5c2f-46c8-b67d-5667435fb037",
|
||||
"TargetParentOrChildId": "3756f08e-141d-4337-b5fd-93a7234c414c",
|
||||
"TargetSlotId": "d5afa102-2f88-431e-9cd4-af91e41f88f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "5018bb23-2143-4fe5-abeb-a958143aca74",
|
||||
"SourceSlotId": "9c6e72f8-5ce6-42c3-abaa-1829d2c066c1",
|
||||
"TargetParentOrChildId": "3e023b35-277e-4545-bdb7-8d39670999c0",
|
||||
"TargetSlotId": "59864da4-3658-4d7d-830e-6ef0d3cbb505"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "44bcbcfd-245f-4e1b-8776-ba008340250d",
|
||||
"SourceSlotId": "0e45c596-c80f-4927-941f-e3199401aa10",
|
||||
"TargetParentOrChildId": "3e023b35-277e-4545-bdb7-8d39670999c0",
|
||||
"TargetSlotId": "60bae25c-64fe-40df-a2e6-a99297a92e0b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "4383b375-c916-4de8-9644-103765488e89",
|
||||
"SourceSlotId": "ed31838b-14b5-4875-a0fc-dc427e874362",
|
||||
"TargetParentOrChildId": "3e023b35-277e-4545-bdb7-8d39670999c0",
|
||||
"TargetSlotId": "7a9ae929-7001-42ef-b7f2-f2e03bbb7206"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "71c0881d-6d2b-45d7-a16f-13581dcd2a64",
|
||||
"SourceSlotId": "2a1fcdf6-9416-45b2-96ca-a9d6d2692278",
|
||||
"TargetParentOrChildId": "3e023b35-277e-4545-bdb7-8d39670999c0",
|
||||
"TargetSlotId": "83fdb275-3018-46a9-b75e-e9ee3d8660f4"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "3756f08e-141d-4337-b5fd-93a7234c414c",
|
||||
"SourceSlotId": "dc71f39f-3fba-4fc6-b8ef-ce57c82bf78e",
|
||||
"TargetParentOrChildId": "3e023b35-277e-4545-bdb7-8d39670999c0",
|
||||
"TargetSlotId": "83fdb275-3018-46a9-b75e-e9ee3d8660f4"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "9b90ce7d-226e-4892-b82a-be9445115293",
|
||||
"SourceSlotId": "7a76d147-4b8e-48cf-aa3e-aac3aa90e888",
|
||||
"TargetParentOrChildId": "3e023b35-277e-4545-bdb7-8d39670999c0",
|
||||
"TargetSlotId": "9571b16e-72d1-4544-aa98-8a08b63bb5f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "1f3292f3-6891-4f88-a209-146825fe2e27",
|
||||
"SourceSlotId": "f5531ffb-dbde-45d3-af2a-bd90bcbf3710",
|
||||
"TargetParentOrChildId": "3e023b35-277e-4545-bdb7-8d39670999c0",
|
||||
"TargetSlotId": "9571b16e-72d1-4544-aa98-8a08b63bb5f6"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "4821f8dd-0b31-402b-aebb-5dd941b0e9d0",
|
||||
"SourceSlotId": "f962854b-00d6-4eb3-aa4c-e5d4bd500672",
|
||||
"TargetParentOrChildId": "4d6b3594-6f04-44a7-95cb-ed18c2e363a3",
|
||||
"TargetSlotId": "b9e5c6f3-7052-456f-9d1b-c182b4412433"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "4da54683-460e-4af6-a729-5c631e22285a",
|
||||
"TargetParentOrChildId": "4d6b3594-6f04-44a7-95cb-ed18c2e363a3",
|
||||
"TargetSlotId": "eb601c57-2025-4135-8292-223eaedaf187"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "c5910345-783a-4aa5-bb64-7c25998505c3",
|
||||
"SourceSlotId": "18cae035-c050-4f98-9e5e-b3a6db70dda7",
|
||||
"TargetParentOrChildId": "5002054b-45e2-434c-8e8f-6e4f47750b56",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "3e023b35-277e-4545-bdb7-8d39670999c0",
|
||||
"SourceSlotId": "805e271d-b9c5-45a2-9040-f30c68b06ea6",
|
||||
"TargetParentOrChildId": "5002054b-45e2-434c-8e8f-6e4f47750b56",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "e3fe1f65-047f-4f9a-a373-b12e0e014df3",
|
||||
"SourceSlotId": "c723ad69-ff0c-47b2-9327-bd27c0d7b6d1",
|
||||
"TargetParentOrChildId": "5002054b-45e2-434c-8e8f-6e4f47750b56",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "961e44b2-d654-4e3e-9939-a0d46bbbde40",
|
||||
"SourceSlotId": "cee8c3f0-64ea-4e4d-b967-ec7e3688dd03",
|
||||
"TargetParentOrChildId": "5002054b-45e2-434c-8e8f-6e4f47750b56",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "df94f1fa-8394-4e10-aacf-a342035a1d52",
|
||||
"SourceSlotId": "49b28dc3-fcd1-4067-bc83-e1cc848ae55c",
|
||||
"TargetParentOrChildId": "5002054b-45e2-434c-8e8f-6e4f47750b56",
|
||||
"TargetSlotId": "5d73ebe6-9aa0-471a-ae6b-3f5bfd5a0f9c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "2e0369a0-febf-46a1-b228-cc70d0ae22c6",
|
||||
"TargetParentOrChildId": "589cb593-f902-4957-8b20-d0846613895a",
|
||||
"TargetSlotId": "253b9ae4-fac5-4641-bf0c-d8614606a840"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "21a2292d-1969-41ee-a71f-00a1621f9539",
|
||||
"TargetParentOrChildId": "59994f7e-dae6-4356-89e4-d5c8d07632b3",
|
||||
"TargetSlotId": "3ca66cbd-a16a-479c-b858-84732e5023ad"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "e148fac5-d905-4e74-a958-5ed45b152ae1",
|
||||
"TargetParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"TargetSlotId": "14829eac-ba59-4d31-90dc-53c7fc56cc30"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "b8035f87-f293-4da0-8bdc-ec75cc6252e7",
|
||||
"TargetParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"TargetSlotId": "5008e9b4-083a-4494-8f7c-50fe5d80fc35"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "0abd9f81-bc91-4775-bf0e-472399b9778e",
|
||||
"TargetParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"TargetSlotId": "9eb4e13f-0fe3-4ed9-9df1-814f075a05da"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "9c2089a2-266d-4022-b23d-4c67a8a19788",
|
||||
"TargetParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"TargetSlotId": "c4f03392-ff7e-4b4a-8740-f93a581b2b6b"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "e6164880-eae5-468e-8dd8-084d20918bc9",
|
||||
"TargetParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"TargetSlotId": "e05e143e-8d4c-4de7-8c9c-7fa7755009d3"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "617108fa-e7a6-478d-852b-cd5baa7d0b1c",
|
||||
"TargetParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"TargetSlotId": "e43bc887-d425-4f9c-8a86-a32c761de0cc"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "21a2292d-1969-41ee-a71f-00a1621f9539",
|
||||
"TargetParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"TargetSlotId": "e827fdd1-20ca-473c-99ee-b839563690e9"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "c4b53d8f-1357-47d4-aa73-ca6d07543994",
|
||||
"TargetParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"TargetSlotId": "f2dd87b1-7f37-4b02-871b-b2e35972f246"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"SourceSlotId": "3d2f53a3-f1f0-489b-b20b-badb09cdaebe",
|
||||
"TargetParentOrChildId": "71c0881d-6d2b-45d7-a16f-13581dcd2a64",
|
||||
"TargetSlotId": "bd65ef2c-f32a-4279-bb5c-7f6467b23283"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "1b9a9ef5-fe48-4793-b420-7718643035f0",
|
||||
"TargetParentOrChildId": "7b93d07f-c08e-42c1-8d1d-78ceb74d5e91",
|
||||
"TargetSlotId": "01809b63-4b4a-47be-9588-98d5998ddb0c"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "a827c2c6-3286-4488-9a90-ed38c4184e6a",
|
||||
"TargetParentOrChildId": "952abd5a-de96-425b-a551-9f147d161c62",
|
||||
"TargetSlotId": "03f3bc7f-3949-4a97-88cf-04e162cfa2f7"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "b7991b17-0b4c-4a32-a30b-aea3b214d10b",
|
||||
"SourceSlotId": "26e300cd-2dbe-49f2-aab5-a60317df5434",
|
||||
"TargetParentOrChildId": "961e44b2-d654-4e3e-9939-a0d46bbbde40",
|
||||
"TargetSlotId": "1d5faad5-3be5-426c-b464-ad490ea3d1aa"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "dcf3be83-a20e-40d9-9673-ebf4c15fdff6",
|
||||
"SourceSlotId": "a42dd1c5-886c-4fa9-bf69-8b6321a48930",
|
||||
"TargetParentOrChildId": "961e44b2-d654-4e3e-9939-a0d46bbbde40",
|
||||
"TargetSlotId": "e0bc9cf8-42c8-4632-b958-7a96f6d03ba2"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "9e5bfd8d-e3f1-4815-85f3-178be89efcc4",
|
||||
"TargetParentOrChildId": "af793c7b-ad9d-4804-abec-6ed71c00e154",
|
||||
"TargetSlotId": "980ef785-6ae2-44d1-803e-febfc75791c5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "00000000-0000-0000-0000-000000000000",
|
||||
"SourceSlotId": "2cb6bb45-a74a-4eba-a2f0-2895e8e38b07",
|
||||
"TargetParentOrChildId": "b7991b17-0b4c-4a32-a30b-aea3b214d10b",
|
||||
"TargetSlotId": "956b735b-c38a-4e8e-8186-caf4d36d4d20"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "4d6b3594-6f04-44a7-95cb-ed18c2e363a3",
|
||||
"SourceSlotId": "66ce8660-253c-4a0b-8aec-f7a56751a1e4",
|
||||
"TargetParentOrChildId": "c6d81c7b-8371-42b4-a155-bfc241ebe641",
|
||||
"TargetSlotId": "980ef785-6ae2-44d1-803e-febfc75791c5"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f",
|
||||
"SourceSlotId": "a0eca9ce-35aa-497d-b5c9-cde52a7c8d58",
|
||||
"TargetParentOrChildId": "df94f1fa-8394-4e10-aacf-a342035a1d52",
|
||||
"TargetSlotId": "8716b11a-ef71-437e-9930-bb747da818a7"
|
||||
},
|
||||
{
|
||||
"SourceParentOrChildId": "952abd5a-de96-425b-a551-9f147d161c62",
|
||||
"SourceSlotId": "b409694a-0980-4992-8525-01871b940cd7",
|
||||
"TargetParentOrChildId": "e3fe1f65-047f-4f9a-a373-b12e0e014df3",
|
||||
"TargetSlotId": "35a52074-1e82-4352-91c3-d8e464f73bc7"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,348 @@
|
||||
{
|
||||
"FormatVersion": 3,
|
||||
"Id": "84e9333f-38d2-422f-abf5-bf3929f01c7e"/*TextOutlines*/,
|
||||
"Description": "Creates outlined text to use in combination with [Text] ",
|
||||
"SymbolTags": "2056",
|
||||
"InputUis": [
|
||||
{
|
||||
"InputId": "0abd9f81-bc91-4775-bf0e-472399b9778e"/*LineHeight*/,
|
||||
"Position": {
|
||||
"X": 80.394394,
|
||||
"Y": 816.9115
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "1b9a9ef5-fe48-4793-b420-7718643035f0"/*Sharpness*/,
|
||||
"Position": {
|
||||
"X": -59.60562,
|
||||
"Y": 581.30255
|
||||
},
|
||||
"Description": "Adjust the edges, lower this value if the render is aliased.",
|
||||
"Min": 1,
|
||||
"Max": 16,
|
||||
"ClampMin": true,
|
||||
"ClampMax": true
|
||||
},
|
||||
{
|
||||
"InputId": "21a2292d-1969-41ee-a71f-00a1621f9539"/*FontPath*/,
|
||||
"Position": {
|
||||
"X": -474.3873,
|
||||
"Y": 710.3448
|
||||
},
|
||||
"GroupTitle": "Font & Size",
|
||||
"Usage": "FilePath",
|
||||
"FileFilter": "fnt"
|
||||
},
|
||||
{
|
||||
"InputId": "2cb6bb45-a74a-4eba-a2f0-2895e8e38b07"/*EnableZTest*/,
|
||||
"Position": {
|
||||
"X": 227.13263,
|
||||
"Y": 1253.2535
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "2e0369a0-febf-46a1-b228-cc70d0ae22c6"/*BillboardMode*/,
|
||||
"Position": {
|
||||
"X": -154.48227,
|
||||
"Y": 617.80853
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "4da54683-460e-4af6-a729-5c631e22285a"/*OutlineColor*/,
|
||||
"Position": {
|
||||
"X": -199.60562,
|
||||
"Y": 231.30255
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "617108fa-e7a6-478d-852b-cd5baa7d0b1c"/*HorizontalAlign*/,
|
||||
"Position": {
|
||||
"X": 80.394394,
|
||||
"Y": 921.9115
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "8efc35ee-875b-4181-aa1d-bd705f82bea9"/*InsideLine*/,
|
||||
"Position": {
|
||||
"X": 80.39438,
|
||||
"Y": 511.30255
|
||||
}
|
||||
},
|
||||
{
|
||||
"InputId": "9c2089a2-266d-4022-b23d-4c67a8a19788"/*Position*/,
|
||||
"Position": {
|
||||
"X": 80.394394,
|
||||
"Y": 851.9115
|
||||
},
|
||||
"AddPadding": "True",
|
||||
"Scale": 0.01
|
||||
},
|
||||
{
|
||||
"InputId": "9e5bfd8d-e3f1-4815-85f3-178be89efcc4"/*FillColor*/,
|
||||
"Position": {
|
||||
"X": -59.60562,
|
||||
"Y": 371.30255
|
||||
},
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"ClampMin": true
|
||||
},
|
||||
{
|
||||
"InputId": "a827c2c6-3286-4488-9a90-ed38c4184e6a"/*CullMode*/,
|
||||
"Position": {
|
||||
"X": 230.20999,
|
||||
"Y": 1152.4757
|
||||
},
|
||||
"GroupTitle": "Draw Options"
|
||||
},
|
||||
{
|
||||
"InputId": "b15018a7-6c61-4cee-88fa-a43684ef5cc4"/*OutsideLine*/,
|
||||
"Position": {
|
||||
"X": 80.39438,
|
||||
"Y": 546.30255
|
||||
},
|
||||
"GroupTitle": "Lines Thickness"
|
||||
},
|
||||
{
|
||||
"InputId": "b8035f87-f293-4da0-8bdc-ec75cc6252e7"/*Size*/,
|
||||
"Position": {
|
||||
"X": 80.394394,
|
||||
"Y": 746.9115
|
||||
},
|
||||
"Min": 0.0,
|
||||
"Max": 500.0,
|
||||
"Scale": 1.0
|
||||
},
|
||||
{
|
||||
"InputId": "c4b53d8f-1357-47d4-aa73-ca6d07543994"/*InputText*/,
|
||||
"Position": {
|
||||
"X": 80.394394,
|
||||
"Y": 676.9115
|
||||
},
|
||||
"Usage": "Multiline"
|
||||
},
|
||||
{
|
||||
"InputId": "e148fac5-d905-4e74-a958-5ed45b152ae1"/*VerticalAlign*/,
|
||||
"Position": {
|
||||
"X": 80.394394,
|
||||
"Y": 886.9115
|
||||
},
|
||||
"GroupTitle": "Alignment"
|
||||
},
|
||||
{
|
||||
"InputId": "e6164880-eae5-468e-8dd8-084d20918bc9"/*Spacing*/,
|
||||
"Position": {
|
||||
"X": 80.394394,
|
||||
"Y": 781.9115
|
||||
},
|
||||
"Min": -10.0,
|
||||
"Max": 10.0,
|
||||
"Scale": 0.1
|
||||
}
|
||||
],
|
||||
"SymbolChildUis": [
|
||||
{
|
||||
"ChildId": "1f3292f3-6891-4f88-a209-146825fe2e27"/*FloatsToBuffer*/,
|
||||
"Position": {
|
||||
"X": 220.39438,
|
||||
"Y": 196.30257
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "21e79b92-62f1-4f58-bc21-d0f92ab5a6da"/*LoadImage*/,
|
||||
"Position": {
|
||||
"X": 377.1774,
|
||||
"Y": 1035.5973
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "3756f08e-141d-4337-b5fd-93a7234c414c"/*SrvFromTexture2d*/,
|
||||
"Position": {
|
||||
"X": 517.17737,
|
||||
"Y": 1035.5973
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "3e023b35-277e-4545-bdb7-8d39670999c0"/*SetPixelAndVertexShaderStage*/,
|
||||
"Position": {
|
||||
"X": 751.126,
|
||||
"Y": 254.03003
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4383b375-c916-4de8-9644-103765488e89"/*VertexShader*/,
|
||||
"Position": {
|
||||
"X": 611.126,
|
||||
"Y": 254.03003
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "44bcbcfd-245f-4e1b-8776-ba008340250d"/*SamplerState*/,
|
||||
"Position": {
|
||||
"X": 611.126,
|
||||
"Y": 464.03003
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4821f8dd-0b31-402b-aebb-5dd941b0e9d0"/*GetForegroundColor*/,
|
||||
"Position": {
|
||||
"X": -199.60564,
|
||||
"Y": 266.30255
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "4d6b3594-6f04-44a7-95cb-ed18c2e363a3"/*BlendColors*/,
|
||||
"Position": {
|
||||
"X": -59.60562,
|
||||
"Y": 231.30255
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "5002054b-45e2-434c-8e8f-6e4f47750b56"/*Execute*/,
|
||||
"Position": {
|
||||
"X": 1029.5101,
|
||||
"Y": 163.91046
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "5018bb23-2143-4fe5-abeb-a958143aca74"/*PixelShader*/,
|
||||
"Position": {
|
||||
"X": 408.6469,
|
||||
"Y": 353.38654
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "589cb593-f902-4957-8b20-d0846613895a"/*BoolToFloat*/,
|
||||
"Position": {
|
||||
"X": 17.14328,
|
||||
"Y": 625.3384
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "59994f7e-dae6-4356-89e4-d5c8d07632b3"/*SearchAndReplace*/,
|
||||
"Position": {
|
||||
"X": 80.39439,
|
||||
"Y": 1029.5734
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "6e76ff26-924a-41de-91d7-4b9a8e551a8f"/*_RenderFontBuffer*/,
|
||||
"Position": {
|
||||
"X": 220.3944,
|
||||
"Y": 676.9115
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "71c0881d-6d2b-45d7-a16f-13581dcd2a64"/*SrvFromStructuredBuffer*/,
|
||||
"Position": {
|
||||
"X": 411.8406,
|
||||
"Y": 503.1332
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "7b93d07f-c08e-42c1-8d1d-78ceb74d5e91"/*IntToFloat*/,
|
||||
"Position": {
|
||||
"X": 80.39438,
|
||||
"Y": 581.30255
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "952abd5a-de96-425b-a551-9f147d161c62"/*RasterizerState*/,
|
||||
"Position": {
|
||||
"X": 370.21,
|
||||
"Y": 1152.4757
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "961e44b2-d654-4e3e-9939-a0d46bbbde40"/*OutputMergerStage*/,
|
||||
"Position": {
|
||||
"X": 507.13263,
|
||||
"Y": 1218.2535
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "9b90ce7d-226e-4892-b82a-be9445115293"/*_TransformsCBuffer*/,
|
||||
"Position": {
|
||||
"X": 611.126,
|
||||
"Y": 324.03003
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "af793c7b-ad9d-4804-abec-6ed71c00e154"/*Vector4Components*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 111.079544,
|
||||
"Y": 59.905018
|
||||
},
|
||||
"Position": {
|
||||
"X": 80.39438,
|
||||
"Y": 371.30255
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "b7991b17-0b4c-4a32-a30b-aea3b214d10b"/*DepthStencilState*/,
|
||||
"Position": {
|
||||
"X": 367.13263,
|
||||
"Y": 1253.2535
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c5910345-783a-4aa5-bb64-7c25998505c3"/*InputAssemblerStage*/,
|
||||
"Position": {
|
||||
"X": 768.9238,
|
||||
"Y": 162.5781
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "c6d81c7b-8371-42b4-a155-bfc241ebe641"/*Vector4Components*/,
|
||||
"Style": "Resizable",
|
||||
"Size": {
|
||||
"X": 111.079544,
|
||||
"Y": 59.905018
|
||||
},
|
||||
"Position": {
|
||||
"X": 80.39438,
|
||||
"Y": 231.30255
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "dcf3be83-a20e-40d9-9673-ebf4c15fdff6"/*PickBlendMode*/,
|
||||
"Position": {
|
||||
"X": 367.13263,
|
||||
"Y": 1288.2537
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "df94f1fa-8394-4e10-aacf-a342035a1d52"/*Draw*/,
|
||||
"Position": {
|
||||
"X": 797.7587,
|
||||
"Y": 868.46686
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChildId": "e3fe1f65-047f-4f9a-a373-b12e0e014df3"/*Rasterizer*/,
|
||||
"Position": {
|
||||
"X": 510.21,
|
||||
"Y": 1152.4757
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutputUis": [
|
||||
{
|
||||
"OutputId": "58150633-cb65-416c-aad3-3496e930dfd0"/*Output*/,
|
||||
"Position": {
|
||||
"X": 1795.0107,
|
||||
"Y": 18.747711
|
||||
}
|
||||
}
|
||||
],
|
||||
"Links": [
|
||||
{
|
||||
"Id": "aebb7945-b5f7-4312-a07a-be733292710c",
|
||||
"Title": "Adding fonts",
|
||||
"Description": "How to add new fonts to TiXL",
|
||||
"LinkUrl": "https://github.com/tixl3d/tixl/wiki/help.AddingFonts",
|
||||
"LinkType": "Documentation"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user