1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-19 11:56:01 +08:00

Saturation node added

This commit is contained in:
Digvijaysinh Gohil
2024-03-12 15:01:30 +05:30
parent 6b62f15a7d
commit 578a78df0b
4 changed files with 81 additions and 0 deletions

View File

@ -12,6 +12,7 @@ Delete the contents of **_addons/ShaderLib_** folder from your project. Make sur
<h4><a href="/documentation/Nodes/Artistic/Adjustment/ContrastNode.md">&emsp;&emsp;Contrast node</a></h4>
<h4><a href="/documentation/Nodes/Artistic/Adjustment/HueNode.md">&emsp;&emsp;Hue node</a></h4>
<h4><a href="/documentation/Nodes/Artistic/Adjustment/ReplaceColorNode.md">&emsp;&emsp;Replace Color node</a></h4>
<h4><a href="/documentation/Nodes/Artistic/Adjustment/SaturationNode.md">&emsp;&emsp;Saturation node</a></h4>
<h2>Geometry nodes</h2>

View File

@ -0,0 +1,15 @@
# Saturation node
Adjusts the saturation of input <b><i>in</i></b> by the amount of input <b><i>saturation</i></b>. A Saturation value of 1 will return the input unaltered. A Saturation value of 0 will return the input completely desaturated.
<hr>
**Inputs**
|Name|Type|Binding|Description|
|---|---|---|---|
|in|vec3|none|Input value|
|saturation|float|none|Saturation value|
**Outputs**
|Name|Type|Binding|Description|
|---|---|---|---|
|out|vec3|None|Output value|
___