http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Desaturate&feed=atom&action=historyUnity Products:Amplify Shader Editor/Desaturate - Revision history2024-03-28T15:07:49ZRevision history for this page on the wikiMediaWiki 1.40.1http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Desaturate&diff=209&oldid=prevAmplifyWiki: 1 revision imported2023-12-02T00:06:06Z<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:06, 2 December 2023</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>AmplifyWikihttp://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Desaturate&diff=208&oldid=prevampwiki>Amplify RnD Rick at 17:37, 24 October 20172017-10-24T17:37:56Z<p></p>
<p><b>New page</b></p><div>[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]<br />
== Desaturate Node ==<br />
<br />
The Desaturate node transforms the value specified into the [[#paramRGB|RGB]] property into shades of gray according to a percentage specified by the [[#paramFraction|Fraction]] property.<br />
<br />
<br />
<img class="responsive-img" src="http://wiki.amplify.pt/images/NodeDetail/DesaturateNode.jpg"><br />
<br/><font size="1">Nodes used: <br />
[[Unity_Products:Amplify_Shader_Editor/Texture_Coordinates|Texture Coordinates]],<br />
[[Unity_Products:Amplify_Shader_Editor/Float|Float]],<br />
[[Unity_Products:Amplify_Shader_Editor/Texture_Object|Texture Object]],<br />
[[Unity_Products:Amplify_Shader_Editor/Texture_Sample|Texture Sample]],<br />
[[Unity_Products:Amplify_Shader_Editor/Desaturate|Desaturate]],<br />
[[Unity_Products:Amplify_Shader_Editor/If|If]]<br />
</font><br />
<br />
{| class="wikitable" style="width: 100%;"<br />
|-<br />
! style="width: 10%;" | Node Parameter !! Description !! style="width: 10%;" | Default Value<br />
|- style="background: #e5e5e5;"<br />
| id="paramRGB" | RGB<br />
| Value to be desaturated. Only visible if the respective input port is not connected.<br />
| 0,0,0<br />
|- style="background: #e5e5e5;"<br />
| id="paramFraction" | Fraction <br />
| Amount of desaturation to be applied into the source value. Should be a value between [0 1] where 0 applies no desaturation and 1 is fully desaturated.<br />
Only visible if the respective input port is not connected.<br />
| 0<br />
|}<br />
<br />
<br />
{| class="wikitable" style="width: 100%;"<br />
|- <br />
! style="width: 10%;" | Input Port !! Description !! style="width: 10%;" | Type<br />
|- <br />
| RGB<br />
| Value to be desaturated.<br />
| Vector 3<br />
|- <br />
| Fraction<br />
| Amount of desaturation to be applied into the source value. Should be a value between [0 1] where 0 applies no desaturation and 1 is fully desaturated.<br />
| Float<br />
|}<br />
<br />
<br />
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]<br />
[[Category:Nodes]][[Category:Image Effects]]</div>ampwiki>Amplify RnD Rick