From 7f6e3148f4049931d6e133b0a8b02c9490575078 Mon Sep 17 00:00:00 2001 From: Mathias Paulin <Mathias.Paulin@irit.fr> Date: Thu, 24 Feb 2022 12:03:57 +0100 Subject: [PATCH] [librender] add premade graph similar to the default Radium Renderer --- .../RenderGraphs/RadiumForwardRenderer.flow | 230 ++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 src/libRender/Resources/RadiumNBR/RenderGraphs/RadiumForwardRenderer.flow diff --git a/src/libRender/Resources/RadiumNBR/RenderGraphs/RadiumForwardRenderer.flow b/src/libRender/Resources/RadiumNBR/RenderGraphs/RadiumForwardRenderer.flow new file mode 100644 index 0000000..61ff604 --- /dev/null +++ b/src/libRender/Resources/RadiumNBR/RenderGraphs/RadiumForwardRenderer.flow @@ -0,0 +1,230 @@ +{ + "connections": [ + { + "in_id": "{aa0f14a1-bb34-43a6-a11d-5b88404d254d}", + "in_index": 0, + "out_id": "{54d687ca-0921-48df-899b-02883c8c9650}", + "out_index": 0 + }, + { + "in_id": "{aa0f14a1-bb34-43a6-a11d-5b88404d254d}", + "in_index": 1, + "out_id": "{f922db1f-83b5-4907-8b47-95c35f80ce38}", + "out_index": 0 + }, + { + "in_id": "{aa0f14a1-bb34-43a6-a11d-5b88404d254d}", + "in_index": 2, + "out_id": "{f4584385-2400-4cb1-b7b1-70411ded95eb}", + "out_index": 1 + }, + { + "in_id": "{aa0f14a1-bb34-43a6-a11d-5b88404d254d}", + "in_index": 3, + "out_id": "{6dbbb7b7-e370-4dc6-8eff-33621dea9665}", + "out_index": 1 + }, + { + "in_id": "{aa0f14a1-bb34-43a6-a11d-5b88404d254d}", + "in_index": 4, + "out_id": "{6dbbb7b7-e370-4dc6-8eff-33621dea9665}", + "out_index": 2 + }, + { + "in_id": "{f4584385-2400-4cb1-b7b1-70411ded95eb}", + "in_index": 0, + "out_id": "{d07939d8-46d5-4d48-90fa-4ab2a4eebf30}", + "out_index": 0 + }, + { + "in_id": "{f4584385-2400-4cb1-b7b1-70411ded95eb}", + "in_index": 1, + "out_id": "{6ceda554-f6d1-4cf0-a36d-e811fc0ad3f1}", + "out_index": 0 + }, + { + "in_id": "{f4584385-2400-4cb1-b7b1-70411ded95eb}", + "in_index": 2, + "out_id": "{c6d4682c-2a02-467a-9c5c-5511b63b17ba}", + "out_index": 0 + }, + { + "in_id": "{6dbbb7b7-e370-4dc6-8eff-33621dea9665}", + "in_index": 0, + "out_id": "{f4584385-2400-4cb1-b7b1-70411ded95eb}", + "out_index": 0 + }, + { + "in_id": "{6dbbb7b7-e370-4dc6-8eff-33621dea9665}", + "in_index": 1, + "out_id": "{f4584385-2400-4cb1-b7b1-70411ded95eb}", + "out_index": 1 + }, + { + "in_id": "{6dbbb7b7-e370-4dc6-8eff-33621dea9665}", + "in_index": 2, + "out_id": "{46bb5a05-2255-41e4-a6c1-38b5d23de1a8}", + "out_index": 0 + }, + { + "in_id": "{6dbbb7b7-e370-4dc6-8eff-33621dea9665}", + "in_index": 3, + "out_id": "{6ceda554-f6d1-4cf0-a36d-e811fc0ad3f1}", + "out_index": 0 + }, + { + "in_id": "{6dbbb7b7-e370-4dc6-8eff-33621dea9665}", + "in_index": 4, + "out_id": "{c6d4682c-2a02-467a-9c5c-5511b63b17ba}", + "out_index": 0 + }, + { + "in_id": "{46bb5a05-2255-41e4-a6c1-38b5d23de1a8}", + "in_index": 0, + "out_id": "{d07939d8-46d5-4d48-90fa-4ab2a4eebf30}", + "out_index": 0 + }, + { + "in_id": "{54d687ca-0921-48df-899b-02883c8c9650}", + "in_index": 0, + "out_id": "{6dbbb7b7-e370-4dc6-8eff-33621dea9665}", + "out_index": 0 + }, + { + "in_id": "{f922db1f-83b5-4907-8b47-95c35f80ce38}", + "in_index": 0, + "out_id": "{5265b672-a9f5-4d7a-88ad-be9181615f33}", + "out_index": 0 + }, + { + "in_id": "{f922db1f-83b5-4907-8b47-95c35f80ce38}", + "in_index": 1, + "out_id": "{f4584385-2400-4cb1-b7b1-70411ded95eb}", + "out_index": 1 + }, + { + "in_id": "{f922db1f-83b5-4907-8b47-95c35f80ce38}", + "in_index": 3, + "out_id": "{d07939d8-46d5-4d48-90fa-4ab2a4eebf30}", + "out_index": 0 + }, + { + "in_id": "{f922db1f-83b5-4907-8b47-95c35f80ce38}", + "in_index": 4, + "out_id": "{6ceda554-f6d1-4cf0-a36d-e811fc0ad3f1}", + "out_index": 0 + }, + { + "in_id": "{5265b672-a9f5-4d7a-88ad-be9181615f33}", + "in_index": 0, + "out_id": "{6d109dde-cc2e-4fd3-a229-8e9eb6c80160}", + "out_index": 0 + } + ], + "nodes": [ + { + "id": "{d07939d8-46d5-4d48-90fa-4ab2a4eebf30}", + "model": { + "instance": "renderObjects", + "name": "RenderObjects" + }, + "position": { + "x": 48, + "y": 56.400000000000006 + } + }, + { + "id": "{c6d4682c-2a02-467a-9c5c-5511b63b17ba}", + "model": { + "instance": "lights", + "name": "Lights" + }, + "position": { + "x": 55.20000000000002, + "y": 230.39999999999998 + } + }, + { + "id": "{6ceda554-f6d1-4cf0-a36d-e811fc0ad3f1}", + "model": { + "instance": "cameras", + "name": "Cameras" + }, + "position": { + "x": 49.20000000000002, + "y": 125.99999999999997 + } + }, + { + "id": "{aa0f14a1-bb34-43a6-a11d-5b88404d254d}", + "model": { + "instance": "display", + "name": "Display Sink" + }, + "position": { + "x": 648.0000000000001, + "y": 29.99999999999997 + } + }, + { + "id": "{f4584385-2400-4cb1-b7b1-70411ded95eb}", + "model": { + "instance": "SimpleNode4", + "name": "Simple Render Pass" + }, + "position": { + "x": 253.2, + "y": 92.39999999999999 + } + }, + { + "id": "{6dbbb7b7-e370-4dc6-8eff-33621dea9665}", + "model": { + "instance": "TransparencyNode5", + "name": "Transparency Pass" + } + }, + { + "id": "{46bb5a05-2255-41e4-a6c1-38b5d23de1a8}", + "model": { + "filteredType": "Transparent", + "instance": "FilterROByTypeNode6", + "name": "Filter RenderObjects By Type" + } + }, + { + "id": "{54d687ca-0921-48df-899b-02883c8c9650}", + "model": { + "instance": "FXAANode7", + "name": "FXAA" + } + }, + { + "id": "{f922db1f-83b5-4907-8b47-95c35f80ce38}", + "model": { + "activated": true, + "instance": "WireframeNode8", + "name": "Wireframe Pass" + } + }, + { + "id": "{6d109dde-cc2e-4fd3-a229-8e9eb6c80160}", + "model": { + "instance": "ColorTextureNode9", + "name": "Color Texture" + } + }, + { + "id": "{5265b672-a9f5-4d7a-88ad-be9181615f33}", + "model": { + "clearColor": [ + 0.4078431725502014, + 0.4078431725502014, + 0.4078431725502014 + ], + "instance": "ClearColorNode10", + "name": "Clear Color Pass" + } + } + ] +} -- GitLab