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!
I did everything in my own little Ogre editor/demo engine (which stays very basic but very convenient and fast to make new Ogre 'demos'), so I wanted to share my shader code with you too
Hope it could help.
(I'm not sure I posting in the right place on these forums, so feel free to move it if needed.)
--
Romz
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!
I did everything in my own little Ogre editor/demo engine (which stays very basic but very convenient and fast to make new Ogre 'demos'), so I wanted to share my shader code with you too


Hope it could help.
(I'm not sure I posting in the right place on these forums, so feel free to move it if needed.)
--
Romz