1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-19 20:05:57 +08:00

Contrast node added

This commit is contained in:
Digvijaysinh Gohil
2024-03-12 12:30:05 +05:30
parent eaa074f68f
commit 151e40d0fb
4 changed files with 81 additions and 0 deletions

View File

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