<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.planetside.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Multiply_Complement_Colour</id>
	<title>Multiply Complement Colour - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.planetside.co.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Multiply_Complement_Colour"/>
	<link rel="alternate" type="text/html" href="https://www.planetside.co.uk/wiki/index.php?title=Multiply_Complement_Colour&amp;action=history"/>
	<updated>2026-04-25T12:57:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://www.planetside.co.uk/wiki/index.php?title=Multiply_Complement_Colour&amp;diff=16310&amp;oldid=prev</id>
		<title>Redmaw: Fixed typo.</title>
		<link rel="alternate" type="text/html" href="https://www.planetside.co.uk/wiki/index.php?title=Multiply_Complement_Colour&amp;diff=16310&amp;oldid=prev"/>
		<updated>2022-04-20T03:40:24Z</updated>

		<summary type="html">&lt;p&gt;Fixed typo.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:40, 20 April 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The multiplication is component-wise, for example with a colour:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The multiplication is component-wise, for example with a colour:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Main Input.red '''multiplied by the complement''' Input 2.red &amp;lt;br /n&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Main Input.red '''multiplied by the complement &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of&lt;/ins&gt;''' Input 2.red &amp;lt;br /n&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Main Input.green '''multiplied by the complement''' Input 2.green &amp;lt;br /n&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Main Input.green '''multiplied by the complement &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of&lt;/ins&gt;''' Input 2.green &amp;lt;br /n&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Main Input.blue '''multiplied by the complement''' Input 2.blue &amp;lt;br /n&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Main Input.blue '''multiplied by the complement &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of&lt;/ins&gt;''' Input 2.blue &amp;lt;br /n&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Redmaw</name></author>
		
	</entry>
	<entry>
		<id>https://www.planetside.co.uk/wiki/index.php?title=Multiply_Complement_Colour&amp;diff=16289&amp;oldid=prev</id>
		<title>Redmaw: Updated descriptions and added example images.</title>
		<link rel="alternate" type="text/html" href="https://www.planetside.co.uk/wiki/index.php?title=Multiply_Complement_Colour&amp;diff=16289&amp;oldid=prev"/>
		<updated>2022-04-14T00:07:33Z</updated>

		<summary type="html">&lt;p&gt;Updated descriptions and added example images.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right; border-style:solid; padding:20px&amp;quot;&amp;gt;&amp;lt;categorytree mode=pages hideroot=off&amp;gt;Multiply&amp;lt;/categorytree&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MultiplyComplementColour_00_GUI.JPG|none|470px|Multiply Complement Colour]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The Multiply Complement family of nodes allow you to multiply the colour/scalar coming into the Main Input by the complement of the color/scalar coming into Input 2. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complement of a component value can be derived by subtracting the component value from the maximum possible value.  For example, the pixel values in a greyscale image range from 0 - 255.  The complement of a pixel value of 100 is 155.  Likewise the complement of a pixel value of 0 is 255, and a pixel value of 255 is 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The multiplication is component-wise, for example with a colour:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
Main Input.red '''multiplied by the complement''' Input 2.red &amp;lt;br /n&amp;gt;&lt;br /&gt;
Main Input.green '''multiplied by the complement''' Input 2.green &amp;lt;br /n&amp;gt;&lt;br /&gt;
Main Input.blue '''multiplied by the complement''' Input 2.blue &amp;lt;br /n&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the examples below, this image is used by the Image Map shader assigned to the Multiply complement colour’s Main input:&lt;br /&gt;
&lt;br /&gt;
[[File:Colours_RGBYCMBGW.png|none|200px|Colour source image used for examples below.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example illustrates the effect of assigning greyscale colour values to Input 2 of the Multiply complement colour node.  The complement of black is white, so there is no change to the value assigned to the Main input, whereas the complement of white is black, which results in black as the output. Grey values between white and black darken the values assigned to the Main input.&lt;br /&gt;
[[File:MultiplyComplementColour_01_Tiles.jpg|none|800px|The effect of the Multiply Complement Colour node when greyscale values are used for Input 2.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example shows the effect of assigning red, green, or blue values to Input 2 of the Multiply complement colour node.  Where the component values from the Main input and Input 2 are the same, black is the result.&lt;br /&gt;
[[File:MultiplyComplementColour_02_Tiles.jpg|none|800px|The effect of the Multiply Complement Colour node when red, green, or blue is used for Input 2.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example shows the effect of assigning secondary colours, yellow, magenta, or cyan to Input 2 of the Multiply complement colour node.  Where the component values from the Main input and Input 2 are the same, black is the result.&lt;br /&gt;
[[File:MultiplyComplementColour_03_Tiles.jpg|none|800px|The effect of the Multiply Complement Colour node when yellow, magenta, or cyan is used for Input 2.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the examples below, this image is used by the Image Map shader assigned to the Multiply complement colour’s Main input&lt;br /&gt;
[[File:Colours_Greyscale.jpg|none|200px|Greyscale source image used for examples below.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example illustrates the effect of assigning greyscale colour values to Input 2 of the Multiply complement colour node.  The complement of black is white, so there is no change to the value assigned to the Main input, whereas the complement of white is black, which results in black as the output. Grey values between white and black darken the values assigned to the Main input.&lt;br /&gt;
[[File:MultiplyComplementColour_04_GreyScale_Tiles.jpg|none|800px|The effect of the Multiply Complement Colour node when greyscale values are used for Input 2.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example shows the effect of assigning red, green, or blue values to Input 2 of the Multiply complement colour node.  Where the component values from the Main input and Input 2 are the same, black is the result.&lt;br /&gt;
[[File:MultiplyComplementColour_05_GreyScale_Tiles.jpg|none|800px|The effect of the Multiply Complement Colour node when red, green, or blue is used for Input 2.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example shows the effect of assigning secondary colours, yellow, magenta, or cyan to Input 2 of the Multiply complement colour node.  Where the component values from the Main input and Input 2 are the same, black is the result.&lt;br /&gt;
[[File:MultiplyComplementColour_06_GreyScale_Tiles.jpg|none|800px|The effect of the Multiply Complement Colour node when yellow, magenta, or cyan is used for Input 2.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Settings:'''&lt;br /&gt;
&lt;br /&gt;
*'''Name:''' This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Multiply Complement Colour nodes in a project.&lt;br /&gt;
*'''Enable:''' When checked, the node is active and the multiplication operation will take place. When unchecked the values assigned to its Main Input, if any, are passed through, otherwise a value of 0 is passed through.&lt;br /&gt;
*'''Input 2:''' The component values from the shader or function nodes assigned to this setting are multiplied with those from the Main Input. When nothing is assigned, the Main Input values, if any, are passed through. If the Main Input is unassigned, the output from the node is 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /n&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Multiply]]&lt;/div&gt;</summary>
		<author><name>Redmaw</name></author>
		
	</entry>
</feed>