Just started to write effect that i discovered several years ago and can be achieved only in CMYK color space. Sorry for the large images …
You can also test this simple effect. Take any picture in photoshop and change the Mode to CMYK color. Put a medium/strong Gaussian blur to the Cyan, Magenta and Yellow color channels, but leave the Key (black) as it is. This is little bit different than Bloom/Glow.
This is what i’m trying to achieve. (This ones made in Photoshop)
And this is where i’m right now. (Shots from Unity)
The Photoshop handles the Key color somehow different (and much better ) than my shader, but this is the first draft of the effect.
The Black channels Contrast is out of limits, but thats next on the list
I actually like the Unity visuals better than the Photoshop version. I’m always interested in seeing stylized rendering techniques, even if it’s just a post-processing filter
A similar trick (which may be easier, math-wise) is to convert the colors to HSL or HSV, then blur the Hue and the Saturation, but leave the Lightnesss/Value alone.
Also, if this is possible, I wonder if local contrast (Local Contrast Enhancement) is as well… that would be really neat!
well it now has ContrastPower and ContrastBias so the style can be changed very efficiently.
Heres the Original Image:
And heres with some Adjusted parameters:
I’m including the script and the shader so everyone can test this. (Requires Pro!!)
Everyone can also use it anyways they liked it, just don’t comment the code! I know it is not optimized …
i have unity 3.3 can You fix the Script so it will work. when I import it i get a this Error “error CS0103: The name BlendMode' does not exist in the current context" and this "error CS1501: No overload for method Blit’ takes `3’ arguments” can you fix this i do not know how or i would do it.