Skip to content

Commit 5f1eb39

Browse files
committed
Kartong: Some tweaks to a rock and terrain surface material.
1 parent 17bc469 commit 5f1eb39

File tree

3 files changed

+178
-14
lines changed

3 files changed

+178
-14
lines changed
2.67 MB
Binary file not shown.

data/Source/Scenes/Scene 02/Surface.xdi

Lines changed: 178 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,100 @@ $Output = vec4(mix(t, b, f), 0.0f);
472472
</item>
473473
</outputPins>
474474
</item>
475+
<item type="traktor.render.BundleUnite" version="traktor.render.Node:1">
476+
<id>{D84AE147-A1D7-5E44-95D1-31C0C86D7EE1}</id>
477+
<comment/>
478+
<position>
479+
<first>1894</first>
480+
<second>-494</second>
481+
</position>
482+
<names>
483+
<item>Color</item>
484+
<item>Normal</item>
485+
<item>Roughness</item>
486+
<item>Specular</item>
487+
</names>
488+
</item>
489+
<item type="traktor.render.Scalar" version="traktor.render.Node:1">
490+
<id>{640C375D-9C19-9C43-8B3D-E93B2B8F88E8}</id>
491+
<comment/>
492+
<position>
493+
<first>1654</first>
494+
<second>-440</second>
495+
</position>
496+
<value>0.8</value>
497+
</item>
498+
<item type="traktor.render.Scalar" version="traktor.render.Node:1">
499+
<id>{8CE78C03-82A2-E74D-A1DC-CA7314EA73F0}</id>
500+
<comment/>
501+
<position>
502+
<first>1663</first>
503+
<second>-397</second>
504+
</position>
505+
<value>0.3</value>
506+
</item>
507+
<item type="traktor.render.Color" version="2,traktor.render.Node:1">
508+
<id>{CEEC6DCE-1466-EF48-8693-938C2DDE7EF2}</id>
509+
<comment/>
510+
<position>
511+
<first>962</first>
512+
<second>-191</second>
513+
</position>
514+
<color>0.133333, 0.12549, 0.121569, 1</color>
515+
<linear>true</linear>
516+
</item>
517+
<item type="traktor.render.Script" version="8,traktor.render.Node:1">
518+
<id>{CA162ACC-E5D1-F14D-95AA-2071B936C9F6}</id>
519+
<comment/>
520+
<position>
521+
<first>1407</first>
522+
<second>-297</second>
523+
</position>
524+
<name>Overlay</name>
525+
<technique/>
526+
<domain>Undefined</domain>
527+
<localSize>
528+
<X>1</X>
529+
<Y>1</Y>
530+
<Z>1</Z>
531+
</localSize>
532+
<useRayTracing>false</useRayTracing>
533+
<include/>
534+
<inputPins>
535+
<item>
536+
<id>{52A043E1-22B9-C742-A1A6-8341D043284F}</id>
537+
<name>A</name>
538+
</item>
539+
<item>
540+
<id>{51E30CE0-3C94-4668-AC3A-2CE903530D64}</id>
541+
<name>B</name>
542+
</item>
543+
</inputPins>
544+
<outputPins>
545+
<item>
546+
<id>{4F792F72-F9F9-A945-8CAE-8F4EEEE77624}</id>
547+
<name>Output</name>
548+
<type>Vector</type>
549+
</item>
550+
</outputPins>
551+
<script>
552+
<![CDATA[
553+
const vec3 f = step($B, vec3(0.5f));
554+
const vec3 t = 1.0f - 2.0f * (1.0f - $A) * (1.0f - $B);
555+
const vec3 b = 2.0f * $A * $B;
556+
$Output = vec4(mix(t, b, f), 0.0f);
557+
]]>
558+
</script>
559+
</item>
560+
<item type="traktor.render.Swizzle" version="traktor.render.Node:1">
561+
<id>{D5D38382-5902-4043-9436-B71F1F15E926}</id>
562+
<comment/>
563+
<position>
564+
<first>1222</first>
565+
<second>-241</second>
566+
</position>
567+
<swizzle>xyz</swizzle>
568+
</item>
475569
</nodes>
476570
<edges>
477571
<item type="traktor.render.Edge" version="1">
@@ -826,7 +920,67 @@ $Output = vec4(mix(t, b, f), 0.0f);
826920
</item>
827921
<item type="traktor.render.Edge" version="1">
828922
<source>
829-
<node ref="/object/nodes/item[31]"/>
923+
<node ref="/object/nodes/item[2]"/>
924+
<id>{9AE16BB1-EB68-45A0-A878-8D01C210082B}</id>
925+
</source>
926+
<destination>
927+
<node ref="/object/nodes/item[32]"/>
928+
<id>{42DAA83F-B406-9C41-9C29-B62C8F625953}</id>
929+
</destination>
930+
</item>
931+
<item type="traktor.render.Edge" version="1">
932+
<source>
933+
<node ref="/object/nodes/item[32]"/>
934+
<id>{64E37C99-0E2F-304F-938A-7B048C129EE6}</id>
935+
</source>
936+
<destination>
937+
<node ref="/object/nodes/item[3]"/>
938+
<id>{731844D4-AFDC-4EAA-8B41-C4BA2455898F}</id>
939+
</destination>
940+
</item>
941+
<item type="traktor.render.Edge" version="1">
942+
<source>
943+
<node ref="/object/nodes/item"/>
944+
<id>{EEB495BD-DE7F-4DE8-983A-7E9B220B927F}</id>
945+
</source>
946+
<destination>
947+
<node ref="/object/nodes/item[32]"/>
948+
<id>{5331ECCB-9127-8348-B9BB-5212CB4570DC}</id>
949+
</destination>
950+
</item>
951+
<item type="traktor.render.Edge" version="1">
952+
<source>
953+
<node ref="/object/nodes/item[34]"/>
954+
<id>{D33F8931-C90C-4EBA-8A04-A31D3E08FAB7}</id>
955+
</source>
956+
<destination>
957+
<node ref="/object/nodes/item[33]"/>
958+
<id>{EEB495BD-DE7F-4DE8-963A-7E9B220B927F}</id>
959+
</destination>
960+
</item>
961+
<item type="traktor.render.Edge" version="1">
962+
<source>
963+
<node ref="/object/nodes/item[35]"/>
964+
<id>{D33F8931-C90C-4EBA-8A04-A31D3E08FAB7}</id>
965+
</source>
966+
<destination>
967+
<node ref="/object/nodes/item[33]"/>
968+
<id>{EEB495BD-DE7F-4DE8-973A-7E9B220B927F}</id>
969+
</destination>
970+
</item>
971+
<item type="traktor.render.Edge" version="1">
972+
<source>
973+
<node ref="/object/nodes/item[17]"/>
974+
<id>{9F9F54FB-F1C4-884A-BFB0-BD2D94D07B79}</id>
975+
</source>
976+
<destination>
977+
<node ref="/object/nodes/item[33]"/>
978+
<id>{EEB495BD-DE7F-4DE8-953A-7E9B220B927F}</id>
979+
</destination>
980+
</item>
981+
<item type="traktor.render.Edge" version="1">
982+
<source>
983+
<node ref="/object/nodes/item[33]"/>
830984
<id>{EEB495BD-DE7F-4DE8-983A-7E9B220B927F}</id>
831985
</source>
832986
<destination>
@@ -836,7 +990,7 @@ $Output = vec4(mix(t, b, f), 0.0f);
836990
</item>
837991
<item type="traktor.render.Edge" version="1">
838992
<source>
839-
<node ref="/object/nodes/item[31]"/>
993+
<node ref="/object/nodes/item[33]"/>
840994
<id>{EEB495BD-DE7F-4DE8-983A-7E9B220B927F}</id>
841995
</source>
842996
<destination>
@@ -846,32 +1000,42 @@ $Output = vec4(mix(t, b, f), 0.0f);
8461000
</item>
8471001
<item type="traktor.render.Edge" version="1">
8481002
<source>
849-
<node ref="/object/nodes/item[2]"/>
850-
<id>{9AE16BB1-EB68-45A0-A878-8D01C210082B}</id>
1003+
<node ref="/object/nodes/item[24]"/>
1004+
<id>{ADB4FC1D-3726-4CC5-B4D5-1E2468274325}</id>
8511005
</source>
8521006
<destination>
853-
<node ref="/object/nodes/item[32]"/>
854-
<id>{42DAA83F-B406-9C41-9C29-B62C8F625953}</id>
1007+
<node ref="/object/nodes/item[37]"/>
1008+
<id>{52A043E1-22B9-C742-A1A6-8341D043284F}</id>
8551009
</destination>
8561010
</item>
8571011
<item type="traktor.render.Edge" version="1">
8581012
<source>
859-
<node ref="/object/nodes/item[32]"/>
860-
<id>{64E37C99-0E2F-304F-938A-7B048C129EE6}</id>
1013+
<node ref="/object/nodes/item[37]"/>
1014+
<id>{4F792F72-F9F9-A945-8CAE-8F4EEEE77624}</id>
8611015
</source>
8621016
<destination>
863-
<node ref="/object/nodes/item[3]"/>
864-
<id>{731844D4-AFDC-4EAA-8B41-C4BA2455898F}</id>
1017+
<node ref="/object/nodes/item[33]"/>
1018+
<id>{EEB495BD-DE7F-4DE8-943A-7E9B220B927F}</id>
8651019
</destination>
8661020
</item>
8671021
<item type="traktor.render.Edge" version="1">
8681022
<source>
869-
<node ref="/object/nodes/item"/>
870-
<id>{EEB495BD-DE7F-4DE8-983A-7E9B220B927F}</id>
1023+
<node ref="/object/nodes/item[36]"/>
1024+
<id>{4B2822D0-4D9A-4BBB-9956-A996493EE672}</id>
8711025
</source>
8721026
<destination>
873-
<node ref="/object/nodes/item[32]"/>
874-
<id>{5331ECCB-9127-8348-B9BB-5212CB4570DC}</id>
1027+
<node ref="/object/nodes/item[38]"/>
1028+
<id>{F2E22CA6-DFF3-4B20-A70A-0D7A44EACD8C}</id>
1029+
</destination>
1030+
</item>
1031+
<item type="traktor.render.Edge" version="1">
1032+
<source>
1033+
<node ref="/object/nodes/item[38]"/>
1034+
<id>{ADB4FC1D-3726-4CC5-B4D5-1E2468274325}</id>
1035+
</source>
1036+
<destination>
1037+
<node ref="/object/nodes/item[37]"/>
1038+
<id>{51E30CE0-3C94-4668-AC3A-2CE903530D64}</id>
8751039
</destination>
8761040
</item>
8771041
</edges>
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)