Skip to content

Commit

Permalink
Traktor: Multiply specular with color of light.
Browse files Browse the repository at this point in the history
  • Loading branch information
apistol78 committed Jun 10, 2024
1 parent 37f205f commit f10fac4
Showing 1 changed file with 51 additions and 14 deletions.
65 changes: 51 additions & 14 deletions data/Source/System/World/Light/Shaders/Forward/Light.xdi
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
<id>{4F10C0E3-F820-457F-AB7D-CFDF2AA3C69A}</id>
<comment/>
<position>
<first>1679</first>
<second>295</second>
<first>2027</first>
<second>339</second>
</position>
<name>Specular</name>
</item>
Expand Down Expand Up @@ -751,8 +751,8 @@
<id>{8E1BE353-CFEF-CB40-8E56-C13D9D0F9801}</id>
<comment/>
<position>
<first>1407</first>
<second>277</second>
<first>1801</first>
<second>317</second>
</position>
<swizzle>xyz</swizzle>
</item>
Expand Down Expand Up @@ -1847,6 +1847,23 @@ Eye direction
</position>
<name>L_ViewPosition</name>
</item>
<item type="traktor.render.Variable" version="2,traktor.render.Node:1">
<id>{34543026-20D4-3946-8281-46E9353053F7}</id>
<comment/>
<position>
<first>1326</first>
<second>379</second>
</position>
<name>L_Color</name>
</item>
<item type="traktor.render.Mul" version="traktor.render.Node:1">
<id>{4798059C-8ECC-E34E-AF56-37BF49C0B516}</id>
<comment/>
<position>
<first>1518</first>
<second>325</second>
</position>
</item>
</nodes>
<edges>
<item type="traktor.render.Edge" version="1">
Expand Down Expand Up @@ -3239,16 +3256,6 @@ Eye direction
<id>{31FFA9B7-3CC6-5F48-B1ED-D69380BE139A}</id>
</destination>
</item>
<item type="traktor.render.Edge" version="1">
<source>
<node ref="/object/nodes/item[143]"/>
<id>{26124FFB-5851-A149-800A-2611E58573AD}</id>
</source>
<destination>
<node ref="/object/nodes/item[70]"/>
<id>{F2E22CA6-DFF3-4B20-A70A-0D7A44EACD8C}</id>
</destination>
</item>
<item type="traktor.render.Edge" version="1">
<source>
<node ref="/object/nodes/item[145]"/>
Expand Down Expand Up @@ -3289,6 +3296,36 @@ Eye direction
<id>{11585EBC-914D-4E6D-A10D-D01694FF9840}</id>
</destination>
</item>
<item type="traktor.render.Edge" version="1">
<source>
<node ref="/object/nodes/item[148]"/>
<id>{84BF3C26-64A7-4032-B775-1D369052B243}</id>
</source>
<destination>
<node ref="/object/nodes/item[149]"/>
<id>{D2D716D6-C4A1-471F-894A-D718515F6281}</id>
</destination>
</item>
<item type="traktor.render.Edge" version="1">
<source>
<node ref="/object/nodes/item[143]"/>
<id>{26124FFB-5851-A149-800A-2611E58573AD}</id>
</source>
<destination>
<node ref="/object/nodes/item[149]"/>
<id>{69997292-C813-490C-910C-620B9AD3A2BB}</id>
</destination>
</item>
<item type="traktor.render.Edge" version="1">
<source>
<node ref="/object/nodes/item[149]"/>
<id>{9E839249-E9B9-4736-8BDD-A95A1C892B42}</id>
</source>
<destination>
<node ref="/object/nodes/item[70]"/>
<id>{F2E22CA6-DFF3-4B20-A70A-0D7A44EACD8C}</id>
</destination>
</item>
</edges>
<groups>
<item type="traktor.render.Group">
Expand Down

0 comments on commit f10fac4

Please sign in to comment.