0
Completed

Node to set saturation of a texture

Visualizer 10 years ago updated by Freya Holmér (Developer) 10 years ago 5
Hi

Just before purchasing Shader Forge in the AssetSotre for Unity.
-Is it possible to build a node to adjust the saturation of a 2D texture till it is only black and white? Finally that you have a slider to set this in the Unity inspector for that shader...
-Is it possible to build a node to adjust the contrast of a 2D texture? Finally that you have a slider to set this in the Unity inspector for that shader...

Thanks for a quick answer
Visualizer

Answer

+1
Answer
Completed
Connect a slider to this for a desaturation slider: http://acegikmo.com/shaderforge/nodes/?search=Desa...
If you want to control contrast, you can do that using the remap range node:
+1
Answer
Completed
Connect a slider to this for a desaturation slider: http://acegikmo.com/shaderforge/nodes/?search=Desa...
If you want to control contrast, you can do that using the remap range node:
Hi and thanks for the answer
 
Is that contrast circuit also working in RGB mode?
And at least, could you please also show the desaturation circuit?

Visualizer
Yes, it works in RGB too!
Desaturation is very easy. Just plug in a 0-1 slider into the Des input of a desaturate node, and whichever texture / color you want to desaturate into Col
Hi

I started to purchase Shader Froge in the AssetStore at MEZ 8:55. But the AssetStore was crashed and had a hangup. I must restart Unity 4 to come in again to the AssetStore to begin with the deal with 50% discount. But now it cost the double. .. Well 80$ its to much to me 40$ was ok...
Ask Unity support and see if they may help you out getting the discount back :)