RomzD
January 5, 2009, 3:02pm
1
Hi there,
Something that might interest you… all the Photoshop blending modes as GLSL macros + RGB to HSL (hue, saturation, luminance), contrast, desaturation.
Everything is here: http://blog.mouaif.org/2009/01/05/photoshop-math-with-glsl-shaders/
Of course it’s open to discussion and I know for sure … optimization!
Hope it could help.
–
Romz
sqrt_1
January 5, 2009, 8:10pm
2
That could prove useful. Thanks!
glPetr
January 5, 2009, 11:36pm
3
Big thanks, very much appreciated!
RomzD
January 8, 2009, 1:22pm
4
I’m sorry but in a last minute change I made a mistake in the code, and I also had some issues on specific hardware due to conditional returns, but now it’s fixed and if you already have the .glsl file you should re-download it (same link).
And good news, now it’s also in [b]HLSL[/b] .
RomzD
January 21, 2009, 4:15pm
6
Hi,
Just added a gamma correction filter. Just like the Exposure/gamma or Levels/midtone in photoshop.
Details and code here:
http://blog.mouaif.org/2009/01/22/photoshop-gamma-correction-shader/
_NK47
January 22, 2009, 1:45am
7
thanks! grabbed both HLSL and GLSL version. that will be useful.
RomzD
January 27, 2009, 3:39pm
8
system
Closed
October 19, 2021, 7:33pm
9
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.