修訂 | a8bbae9f53cd0f4c0e0a1c227428495e40956f80 (tree) |
---|---|
時間 | 2024-12-09 00:17:37 |
作者 | sebastian_bugiu |
Commiter | sebastian_bugiu |
Backed out changeset: f7ee3b0f8ad7
@@ -1,23 +1,3 @@ | ||
1 | -compositor_node SkyboxSMAA_RenderingNode | |
2 | -{ | |
3 | - //in 0 rt0 | |
4 | - texture rt1 target_width target_height PF_R8G8B8A8 | |
5 | - | |
6 | - //Play nice with Multi-GPU setups. See Postprocessing sample. | |
7 | - target rt1 | |
8 | - { | |
9 | - pass clear | |
10 | - { | |
11 | - colour_value 0 1 0 1 | |
12 | - buffers colour | |
13 | - discard_only true | |
14 | - } | |
15 | - } | |
16 | - | |
17 | - //out 0 rt0 | |
18 | - out 1 rt1 | |
19 | -} | |
20 | - | |
21 | 1 | compositor_node DefaultFinalComposition |
22 | 2 | { |
23 | 3 | in 0 rtN |
@@ -39,10 +19,10 @@ | ||
39 | 19 | } |
40 | 20 | |
41 | 21 | pass render_quad |
42 | - { | |
22 | + { | |
43 | 23 | //Ignore the alpha channel |
44 | 24 | material Ogre/Copy/4xFP32 |
45 | - input 0 rtN | |
25 | + input 0 rtN | |
46 | 26 | } |
47 | 27 | |
48 | 28 | pass render_scene |
@@ -108,7 +88,7 @@ | ||
108 | 88 | pass render_scene |
109 | 89 | { |
110 | 90 | //Filter stuff that shouldn't be reflected (vampires?) |
111 | - visibility_mask 0x00000005 | |
91 | + visibility_mask 0xFFFFFFFF | |
112 | 92 | overlays off |
113 | 93 | camera_cubemap_reorient true |
114 | 94 | } |
@@ -132,7 +112,7 @@ | ||
132 | 112 | pass render_scene |
133 | 113 | { |
134 | 114 | //Filter stuff that shouldn't be reflected (vampires?) |
135 | - visibility_mask 0x00000005 | |
115 | + visibility_mask 0xFFFFFFFF | |
136 | 116 | overlays off |
137 | 117 | camera_cubemap_reorient true |
138 | 118 | } |
@@ -156,7 +136,7 @@ | ||
156 | 136 | pass render_scene |
157 | 137 | { |
158 | 138 | //Filter stuff that shouldn't be reflected (vampires?) |
159 | - visibility_mask 0x00000005 | |
139 | + visibility_mask 0xFFFFFFFF | |
160 | 140 | overlays off |
161 | 141 | camera_cubemap_reorient true |
162 | 142 | } |
@@ -180,7 +160,7 @@ | ||
180 | 160 | pass render_scene |
181 | 161 | { |
182 | 162 | //Filter stuff that shouldn't be reflected (vampires?) |
183 | - visibility_mask 0x00000005 | |
163 | + visibility_mask 0xFFFFFFFF | |
184 | 164 | overlays off |
185 | 165 | camera_cubemap_reorient true |
186 | 166 | } |
@@ -204,7 +184,7 @@ | ||
204 | 184 | pass render_scene |
205 | 185 | { |
206 | 186 | //Filter stuff that shouldn't be reflected (vampires?) |
207 | - visibility_mask 0x00000005 | |
187 | + visibility_mask 0xFFFFFFFF | |
208 | 188 | overlays off |
209 | 189 | camera_cubemap_reorient true |
210 | 190 | } |
@@ -228,7 +208,7 @@ | ||
228 | 208 | pass render_scene |
229 | 209 | { |
230 | 210 | //Filter stuff that shouldn't be reflected (vampires?) |
231 | - visibility_mask 0x00000005 | |
211 | + visibility_mask 0xFFFFFFFF | |
232 | 212 | overlays off |
233 | 213 | camera_cubemap_reorient true |
234 | 214 | } |
@@ -252,7 +232,7 @@ | ||
252 | 232 | pass render_scene |
253 | 233 | { |
254 | 234 | //Filter stuff that shouldn't be reflected (vampires?) |
255 | - visibility_mask 0x00000005 | |
235 | + visibility_mask 0xFFFFFFFF | |
256 | 236 | overlays off |
257 | 237 | camera_cubemap_reorient true |
258 | 238 | } |
@@ -276,7 +256,7 @@ | ||
276 | 256 | pass render_scene |
277 | 257 | { |
278 | 258 | //Filter stuff that shouldn't be reflected (vampires?) |
279 | - visibility_mask 0x00000005 | |
259 | + visibility_mask 0xFFFFFFFF | |
280 | 260 | overlays off |
281 | 261 | camera_cubemap_reorient true |
282 | 262 | } |
@@ -300,7 +280,7 @@ | ||
300 | 280 | pass render_scene |
301 | 281 | { |
302 | 282 | //Filter stuff that shouldn't be reflected (vampires?) |
303 | - visibility_mask 0x00000005 | |
283 | + visibility_mask 0xFFFFFFFF | |
304 | 284 | overlays off |
305 | 285 | camera_cubemap_reorient true |
306 | 286 | } |
@@ -467,13 +447,90 @@ | ||
467 | 447 | } |
468 | 448 | } |
469 | 449 | |
450 | +abstract target cubemap_target_shadow_skybox | |
451 | +{ | |
452 | + pass clear { colour_value 1 1 1 1 } | |
453 | + pass render_scene | |
454 | + { | |
455 | + camera_cubemap_reorient true | |
456 | + } | |
457 | +} | |
458 | + | |
459 | +compositor_node_shadow DynamicCubemapShadowNode | |
460 | +{ | |
461 | + technique pssm | |
462 | + | |
463 | + texture atlas 2048 7168 PF_D32_FLOAT no_fsaa | |
464 | + texture tmpCubemap 1024 1024 PF_FLOAT32_R cubemap no_fsaa | |
465 | + | |
466 | + num_splits 3 | |
467 | + pssm_lambda 0.95 | |
468 | + shadow_map 0 atlas uv 0.0 0.000000000000000 1.0 0.285714285714286 light 0 split 0 | |
469 | + shadow_map 1 atlas uv 0.0 0.285714285714286 0.5 0.142857142857143 light 0 split 1 | |
470 | + shadow_map 2 atlas uv 0.5 0.285714285714286 0.5 0.142857142857143 light 0 split 2 | |
471 | + | |
472 | + technique focused | |
473 | + shadow_map 3 atlas uv 0.0 0.428571428571429 1.0 0.285714285714286 light 1 | |
474 | + shadow_map 4 atlas uv 0.0 0.714285714285714 1.0 0.285714285714286 light 2 | |
475 | + | |
476 | + target atlas | |
477 | + { | |
478 | + pass clear | |
479 | + { | |
480 | + colour_value 1 1 1 1 | |
481 | + } | |
482 | + } | |
483 | + | |
484 | + shadow_map_target_type directional | |
485 | + { | |
486 | + shadow_map 0 1 2 | |
487 | + { | |
488 | + pass render_scene | |
489 | + { | |
490 | + } | |
491 | + } | |
492 | + } | |
493 | + | |
494 | + shadow_map_target_type directional spot | |
495 | + { | |
496 | + shadow_map 3 4 | |
497 | + { | |
498 | + pass render_scene | |
499 | + { | |
500 | + } | |
501 | + } | |
502 | + } | |
503 | + | |
504 | + shadow_map_target_type point | |
505 | + { | |
506 | + shadow_map_repeat 3 4 | |
507 | + { | |
508 | + target tmpCubemap +X : cubemap_target_shadow_skybox {} | |
509 | + target tmpCubemap -X : cubemap_target_shadow_skybox {} | |
510 | + target tmpCubemap +Y : cubemap_target_shadow_skybox {} | |
511 | + target tmpCubemap -Y : cubemap_target_shadow_skybox {} | |
512 | + target tmpCubemap +Z : cubemap_target_shadow_skybox {} | |
513 | + target tmpCubemap -Z : cubemap_target_shadow_skybox {} | |
514 | + | |
515 | + shadow_map | |
516 | + { | |
517 | + pass render_quad | |
518 | + { | |
519 | + material Ogre/DPSM/CubeToDpsm | |
520 | + input 0 tmpCubemap | |
521 | + } | |
522 | + } | |
523 | + } | |
524 | + } | |
525 | +} | |
526 | + | |
470 | 527 | compositor_node DynamicCubemapRenderingSkyboxNode0 |
471 | 528 | { |
472 | - texture rt0 target_width target_height PF_R8G8B8 | |
473 | - //in 0 rt_renderwindow | |
474 | - in 0 demo_dynamic_cubemap | |
529 | + //texture rt0 target_width target_height PF_R8G8B8 | |
530 | + in 0 rt_renderwindow | |
531 | + in 1 demo_dynamic_cubemap | |
475 | 532 | |
476 | - target rt0 | |
533 | + target rt_renderwindow | |
477 | 534 | { |
478 | 535 | pass clear |
479 | 536 | { |
@@ -488,7 +545,7 @@ | ||
488 | 545 | //exposing is to ensure compatibility with Vulkan & D3D12. |
489 | 546 | expose demo_dynamic_cubemap |
490 | 547 | |
491 | - // shadows Tutorial_DynamicCubemapShadowNode | |
548 | + shadows DynamicCubemapShadowNode | |
492 | 549 | overlays off |
493 | 550 | rq_first 0 |
494 | 551 | rq_last 2 |
@@ -508,7 +565,7 @@ | ||
508 | 565 | rq_first 2 |
509 | 566 | } |
510 | 567 | } |
511 | - out 0 rt0 | |
568 | +// out 0 rt0 | |
512 | 569 | } |
513 | 570 | |
514 | 571 | compositor_node DynamicCubemapRenderingSkyboxNode1 |
@@ -532,7 +589,7 @@ | ||
532 | 589 | //exposing is to ensure compatibility with Vulkan & D3D12. |
533 | 590 | expose demo_dynamic_cubemap |
534 | 591 | |
535 | - // shadows Tutorial_DynamicCubemapShadowNode | |
592 | + shadows DynamicCubemapShadowNode | |
536 | 593 | overlays off |
537 | 594 | rq_first 0 |
538 | 595 | rq_last 2 |
@@ -557,11 +614,11 @@ | ||
557 | 614 | |
558 | 615 | compositor_node DynamicCubemapRenderingSkyboxNode2 |
559 | 616 | { |
560 | - texture rt0 target_width target_height PF_R8G8B8 | |
561 | - //in 0 rt_renderwindow | |
562 | - in 0 demo_dynamic_cubemap | |
617 | + //texture rt0 target_width target_height PF_R8G8B8 | |
618 | + in 0 rt_renderwindow | |
619 | + in 1 demo_dynamic_cubemap | |
563 | 620 | |
564 | - target rt0 | |
621 | + target rt_renderwindow | |
565 | 622 | { |
566 | 623 | pass clear |
567 | 624 | { |
@@ -576,7 +633,7 @@ | ||
576 | 633 | //exposing is to ensure compatibility with Vulkan & D3D12. |
577 | 634 | expose demo_dynamic_cubemap |
578 | 635 | |
579 | - // shadows Tutorial_DynamicCubemapShadowNode | |
636 | + shadows DynamicCubemapShadowNode | |
580 | 637 | overlays off |
581 | 638 | rq_first 0 |
582 | 639 | rq_last 2 |
@@ -596,16 +653,16 @@ | ||
596 | 653 | rq_first 2 |
597 | 654 | } |
598 | 655 | } |
599 | - out 0 rt0 | |
656 | +// out 0 rt0 | |
600 | 657 | } |
601 | 658 | |
602 | 659 | compositor_node DynamicCubemapRenderingSkyboxNode3 |
603 | 660 | { |
604 | - texture rt0 target_width target_height PF_R8G8B8 | |
605 | - //in 0 rt_renderwindow | |
606 | - in 0 demo_dynamic_cubemap | |
661 | + //texture rt0 target_width target_height PF_R8G8B8 | |
662 | + in 0 rt_renderwindow | |
663 | + in 1 demo_dynamic_cubemap | |
607 | 664 | |
608 | - target rt0 | |
665 | + target rt_renderwindow | |
609 | 666 | { |
610 | 667 | pass clear |
611 | 668 | { |
@@ -620,7 +677,7 @@ | ||
620 | 677 | //exposing is to ensure compatibility with Vulkan & D3D12. |
621 | 678 | expose demo_dynamic_cubemap |
622 | 679 | |
623 | - // shadows Tutorial_DynamicCubemapShadowNode | |
680 | + shadows DynamicCubemapShadowNode | |
624 | 681 | overlays off |
625 | 682 | rq_first 0 |
626 | 683 | rq_last 2 |
@@ -640,16 +697,16 @@ | ||
640 | 697 | rq_first 2 |
641 | 698 | } |
642 | 699 | } |
643 | - out 0 rt0 | |
700 | +// out 0 rt0 | |
644 | 701 | } |
645 | 702 | |
646 | 703 | compositor_node DynamicCubemapRenderingSkyboxNode4 |
647 | 704 | { |
648 | - texture rt0 target_width target_height PF_R8G8B8 | |
649 | - //in 0 rt_renderwindow | |
650 | - in 0 demo_dynamic_cubemap | |
705 | + //texture rt0 target_width target_height PF_R8G8B8 | |
706 | + in 0 rt_renderwindow | |
707 | + in 1 demo_dynamic_cubemap | |
651 | 708 | |
652 | - target rt0 | |
709 | + target rt_renderwindow | |
653 | 710 | { |
654 | 711 | pass clear |
655 | 712 | { |
@@ -664,7 +721,7 @@ | ||
664 | 721 | //exposing is to ensure compatibility with Vulkan & D3D12. |
665 | 722 | expose demo_dynamic_cubemap |
666 | 723 | |
667 | - // shadows Tutorial_DynamicCubemapShadowNode | |
724 | + shadows DynamicCubemapShadowNode | |
668 | 725 | overlays off |
669 | 726 | rq_first 0 |
670 | 727 | rq_last 2 |
@@ -684,16 +741,16 @@ | ||
684 | 741 | rq_first 2 |
685 | 742 | } |
686 | 743 | } |
687 | - out 0 rt0 | |
744 | +// out 0 rt0 | |
688 | 745 | } |
689 | 746 | |
690 | 747 | compositor_node DynamicCubemapRenderingSkyboxNode5 |
691 | 748 | { |
692 | - texture rt0 target_width target_height PF_R8G8B8 | |
693 | - //in 0 rt_renderwindow | |
694 | - in 0 demo_dynamic_cubemap | |
749 | + //texture rt0 target_width target_height PF_R8G8B8 | |
750 | + in 0 rt_renderwindow | |
751 | + in 1 demo_dynamic_cubemap | |
695 | 752 | |
696 | - target rt0 | |
753 | + target rt_renderwindow | |
697 | 754 | { |
698 | 755 | pass clear |
699 | 756 | { |
@@ -708,7 +765,7 @@ | ||
708 | 765 | //exposing is to ensure compatibility with Vulkan & D3D12. |
709 | 766 | expose demo_dynamic_cubemap |
710 | 767 | |
711 | - // shadows Tutorial_DynamicCubemapShadowNode | |
768 | + shadows DynamicCubemapShadowNode | |
712 | 769 | overlays off |
713 | 770 | rq_first 0 |
714 | 771 | rq_last 2 |
@@ -728,16 +785,16 @@ | ||
728 | 785 | rq_first 2 |
729 | 786 | } |
730 | 787 | } |
731 | - out 0 rt0 | |
788 | +// out 0 rt0 | |
732 | 789 | } |
733 | 790 | |
734 | 791 | compositor_node DynamicCubemapRenderingSkyboxNode6 |
735 | 792 | { |
736 | - texture rt0 target_width target_height PF_R8G8B8 | |
737 | - //in 0 rt_renderwindow | |
738 | - in 0 demo_dynamic_cubemap | |
793 | + //texture rt0 target_width target_height PF_R8G8B8 | |
794 | + in 0 rt_renderwindow | |
795 | + in 1 demo_dynamic_cubemap | |
739 | 796 | |
740 | - target rt0 | |
797 | + target rt_renderwindow | |
741 | 798 | { |
742 | 799 | pass clear |
743 | 800 | { |
@@ -752,7 +809,7 @@ | ||
752 | 809 | //exposing is to ensure compatibility with Vulkan & D3D12. |
753 | 810 | expose demo_dynamic_cubemap |
754 | 811 | |
755 | - // shadows Tutorial_DynamicCubemapShadowNode | |
812 | + shadows DynamicCubemapShadowNode | |
756 | 813 | overlays off |
757 | 814 | rq_first 0 |
758 | 815 | rq_last 2 |
@@ -772,16 +829,16 @@ | ||
772 | 829 | rq_first 2 |
773 | 830 | } |
774 | 831 | } |
775 | - out 0 rt0 | |
832 | +// out 0 rt0 | |
776 | 833 | } |
777 | 834 | |
778 | 835 | compositor_node DynamicCubemapRenderingSkyboxNode7 |
779 | 836 | { |
780 | - texture rt0 target_width target_height PF_R8G8B8 | |
781 | - //in 0 rt_renderwindow | |
782 | - in 0 demo_dynamic_cubemap | |
837 | + //texture rt0 target_width target_height PF_R8G8B8 | |
838 | + in 0 rt_renderwindow | |
839 | + in 1 demo_dynamic_cubemap | |
783 | 840 | |
784 | - target rt0 | |
841 | + target rt_renderwindow | |
785 | 842 | { |
786 | 843 | pass clear |
787 | 844 | { |
@@ -796,7 +853,7 @@ | ||
796 | 853 | //exposing is to ensure compatibility with Vulkan & D3D12. |
797 | 854 | expose demo_dynamic_cubemap |
798 | 855 | |
799 | - // shadows Tutorial_DynamicCubemapShadowNode | |
856 | + shadows DynamicCubemapShadowNode | |
800 | 857 | overlays off |
801 | 858 | rq_first 0 |
802 | 859 | rq_last 2 |
@@ -816,16 +873,16 @@ | ||
816 | 873 | rq_first 2 |
817 | 874 | } |
818 | 875 | } |
819 | - out 0 rt0 | |
876 | +// out 0 rt0 | |
820 | 877 | } |
821 | 878 | |
822 | 879 | compositor_node DynamicCubemapRenderingSkyboxNode8 |
823 | 880 | { |
824 | - texture rt0 target_width target_height PF_R8G8B8 | |
825 | - //in 0 rt_renderwindow | |
826 | - in 0 demo_dynamic_cubemap | |
881 | + //texture rt0 target_width target_height PF_R8G8B8 | |
882 | + in 0 rt_renderwindow | |
883 | + in 1 demo_dynamic_cubemap | |
827 | 884 | |
828 | - target rt0 | |
885 | + target rt_renderwindow | |
829 | 886 | { |
830 | 887 | pass clear |
831 | 888 | { |
@@ -840,7 +897,7 @@ | ||
840 | 897 | //exposing is to ensure compatibility with Vulkan & D3D12. |
841 | 898 | expose demo_dynamic_cubemap |
842 | 899 | |
843 | - // shadows Tutorial_DynamicCubemapShadowNode | |
900 | + shadows DynamicCubemapShadowNode | |
844 | 901 | overlays off |
845 | 902 | rq_first 0 |
846 | 903 | rq_last 2 |
@@ -860,7 +917,7 @@ | ||
860 | 917 | rq_first 2 |
861 | 918 | } |
862 | 919 | } |
863 | - out 0 rt0 | |
920 | +// out 0 rt0 | |
864 | 921 | } |
865 | 922 | |
866 | 923 | compositor_node SkyboxNode0 |
@@ -1229,16 +1286,12 @@ | ||
1229 | 1286 | // connect_output DefaultFinalComposition 1 |
1230 | 1287 | // connect_output SkyboxNode0 0 |
1231 | 1288 | |
1289 | + //Render Window on channel #0 | |
1232 | 1290 | connect_external 0 DynamicCubemapRenderingSkyboxNode0 0 |
1233 | - | |
1234 | - connect DynamicCubemapRenderingSkyboxNode0 0 SmaaNode 0 | |
1235 | - connect SkyboxSMAA_RenderingNode 1 SmaaNode 1 | |
1236 | - | |
1237 | - connect SmaaNode 0 DefaultFinalComposition 0 | |
1238 | - connect_output DefaultFinalComposition 1 | |
1239 | - | |
1240 | - | |
1241 | - //connect SmaaNode 0 FinalComposition 1 | |
1291 | + //Cubemap on channel #1 | |
1292 | + connect_external 1 DynamicCubemapRenderingSkyboxNode0 1 | |
1293 | +// connect DynamicCubemapRenderingSkyboxNode0 0 DefaultFinalComposition 0 | |
1294 | +// connect_output DefaultFinalComposition 1 | |
1242 | 1295 | } |
1243 | 1296 | |
1244 | 1297 | workspace SkyboxWorkspace1 |
@@ -1250,18 +1303,18 @@ | ||
1250 | 1303 | connect_external 0 DynamicCubemapRenderingSkyboxNode1 0 |
1251 | 1304 | //Cubemap on channel #1 |
1252 | 1305 | connect_external 1 DynamicCubemapRenderingSkyboxNode1 1 |
1253 | - //connect DynamicCubemapRenderingSkyboxNode1 0 DefaultFinalComposition 0 | |
1254 | - //connect_output DefaultFinalComposition 1 | |
1306 | +// connect DynamicCubemapRenderingSkyboxNode1 0 DefaultFinalComposition 0 | |
1307 | +// connect_output DefaultFinalComposition 1 | |
1255 | 1308 | } |
1256 | 1309 | |
1257 | 1310 | workspace SkyboxWorkspace2 |
1258 | 1311 | { |
1259 | 1312 | //Render Window on channel #0 |
1260 | - //connect_external 0 DynamicCubemapRenderingSkyboxNode2 0 | |
1313 | + connect_external 0 DynamicCubemapRenderingSkyboxNode2 0 | |
1261 | 1314 | //Cubemap on channel #1 |
1262 | - connect_external 0 DynamicCubemapRenderingSkyboxNode2 0 | |
1263 | - connect DynamicCubemapRenderingSkyboxNode2 0 DefaultFinalComposition 0 | |
1264 | - connect_output DefaultFinalComposition 1 | |
1315 | + connect_external 1 DynamicCubemapRenderingSkyboxNode2 1 | |
1316 | +// connect DynamicCubemapRenderingSkyboxNode2 0 DefaultFinalComposition 0 | |
1317 | +// connect_output DefaultFinalComposition 1 | |
1265 | 1318 | } |
1266 | 1319 | |
1267 | 1320 | workspace SkyboxWorkspace3 |
@@ -1269,9 +1322,12 @@ | ||
1269 | 1322 | // connect SkyboxNode3 0 DefaultFinalComposition 0 |
1270 | 1323 | // connect_output DefaultFinalComposition 1 |
1271 | 1324 | |
1325 | + //Render Window on channel #0 | |
1272 | 1326 | connect_external 0 DynamicCubemapRenderingSkyboxNode3 0 |
1273 | - connect DynamicCubemapRenderingSkyboxNode3 0 DefaultFinalComposition 0 | |
1274 | - connect_output DefaultFinalComposition 1 | |
1327 | + //Cubemap on channel #1 | |
1328 | + connect_external 1 DynamicCubemapRenderingSkyboxNode3 1 | |
1329 | +// connect DynamicCubemapRenderingSkyboxNode3 0 DefaultFinalComposition 0 | |
1330 | +// connect_output DefaultFinalComposition 1 | |
1275 | 1331 | } |
1276 | 1332 | |
1277 | 1333 | workspace SkyboxWorkspace4 |
@@ -1279,9 +1335,12 @@ | ||
1279 | 1335 | // connect SkyboxNode4 0 DefaultFinalComposition 0 |
1280 | 1336 | // connect_output DefaultFinalComposition 1 |
1281 | 1337 | |
1338 | + //Render Window on channel #0 | |
1282 | 1339 | connect_external 0 DynamicCubemapRenderingSkyboxNode4 0 |
1283 | - connect DynamicCubemapRenderingSkyboxNode4 0 DefaultFinalComposition 0 | |
1284 | - connect_output DefaultFinalComposition 1 | |
1340 | + //Cubemap on channel #1 | |
1341 | + connect_external 1 DynamicCubemapRenderingSkyboxNode4 1 | |
1342 | +// connect DynamicCubemapRenderingSkyboxNode4 0 DefaultFinalComposition 0 | |
1343 | +// connect_output DefaultFinalComposition 1 | |
1285 | 1344 | } |
1286 | 1345 | |
1287 | 1346 | workspace SkyboxWorkspace5 |
@@ -1289,9 +1348,12 @@ | ||
1289 | 1348 | // connect SkyboxNode5 0 DefaultFinalComposition 0 |
1290 | 1349 | // connect_output DefaultFinalComposition 1 |
1291 | 1350 | |
1351 | + //Render Window on channel #0 | |
1292 | 1352 | connect_external 0 DynamicCubemapRenderingSkyboxNode5 0 |
1293 | - connect DynamicCubemapRenderingSkyboxNode5 0 DefaultFinalComposition 0 | |
1294 | - connect_output DefaultFinalComposition 1 | |
1353 | + //Cubemap on channel #1 | |
1354 | + connect_external 1 DynamicCubemapRenderingSkyboxNode5 1 | |
1355 | +// connect DynamicCubemapRenderingSkyboxNode5 0 DefaultFinalComposition 0 | |
1356 | +// connect_output DefaultFinalComposition 1 | |
1295 | 1357 | } |
1296 | 1358 | |
1297 | 1359 | workspace SkyboxWorkspace6 |
@@ -1299,9 +1361,12 @@ | ||
1299 | 1361 | // connect SkyboxNode6 0 DefaultFinalComposition 0 |
1300 | 1362 | // connect_output DefaultFinalComposition 1 |
1301 | 1363 | |
1364 | + //Render Window on channel #0 | |
1302 | 1365 | connect_external 0 DynamicCubemapRenderingSkyboxNode6 0 |
1303 | - connect DynamicCubemapRenderingSkyboxNode6 0 DefaultFinalComposition 0 | |
1304 | - connect_output DefaultFinalComposition 1 | |
1366 | + //Cubemap on channel #1 | |
1367 | + connect_external 1 DynamicCubemapRenderingSkyboxNode6 1 | |
1368 | +// connect DynamicCubemapRenderingSkyboxNode6 0 DefaultFinalComposition 0 | |
1369 | +// connect_output DefaultFinalComposition 1 | |
1305 | 1370 | } |
1306 | 1371 | |
1307 | 1372 | workspace SkyboxWorkspace7 |
@@ -1309,9 +1374,12 @@ | ||
1309 | 1374 | // connect SkyboxNode7 0 DefaultFinalComposition 0 |
1310 | 1375 | // connect_output DefaultFinalComposition 1 |
1311 | 1376 | |
1377 | + //Render Window on channel #0 | |
1312 | 1378 | connect_external 0 DynamicCubemapRenderingSkyboxNode7 0 |
1313 | - connect DynamicCubemapRenderingSkyboxNode7 0 DefaultFinalComposition 0 | |
1314 | - connect_output DefaultFinalComposition 1 | |
1379 | + //Cubemap on channel #1 | |
1380 | + connect_external 1 DynamicCubemapRenderingSkyboxNode7 1 | |
1381 | +// connect DynamicCubemapRenderingSkyboxNode7 0 DefaultFinalComposition 0 | |
1382 | +// connect_output DefaultFinalComposition 1 | |
1315 | 1383 | } |
1316 | 1384 | |
1317 | 1385 | workspace SkyboxWorkspace8 |
@@ -1319,7 +1387,10 @@ | ||
1319 | 1387 | // connect SkyboxNode8 0 DefaultFinalComposition 0 |
1320 | 1388 | // connect_output DefaultFinalComposition 1 |
1321 | 1389 | |
1390 | + //Render Window on channel #0 | |
1322 | 1391 | connect_external 0 DynamicCubemapRenderingSkyboxNode8 0 |
1323 | - connect DynamicCubemapRenderingSkyboxNode8 0 DefaultFinalComposition 0 | |
1324 | - connect_output DefaultFinalComposition 1 | |
1392 | + //Cubemap on channel #1 | |
1393 | + connect_external 1 DynamicCubemapRenderingSkyboxNode8 1 | |
1394 | +// connect DynamicCubemapRenderingSkyboxNode8 0 DefaultFinalComposition 0 | |
1395 | +// connect_output DefaultFinalComposition 1 | |
1325 | 1396 | } |