EasyPainter: Watercolor, Blood and Gloom Pixel Shaders

Feb 20, 2010

Click here to try the new effects in EasyPainter.

Download source code.

Original vs Zombie – can you figure out which one is which? :)

nikolami zombie

The new Blood shader works only on skin colors. To use it, you have to use the selection brush to select skin tones from the image.

Here is the Watercolor shader. It's very subtle, but I think it looks nice nevertheless. If anyone has suggestions for improvements, including a proper name for this shader, since it is really subtle - please let me know!

image watercolor

I also added a Gloom effect, the one from http://wpffx.codeplex.com

Little Tech Stuff

The "blood" is in fact the pastel texture from the Pastel effect, blended with Burn.

The watercolor is based on real tutorials on doing water color effects: it is a combination of [cheap horizontal] blur and sobel edge detection. Unfortunately, the blur has to be 2-pass to look good, and span larger area. I might improve it in the future. Anyway, the effect looks pleasing to me for now :)

  

Comments

3/1/2010 3:30:18 PM #

Anvaka

Wow, really interesting effects and project! Good work!

Just curious, would you like to have some kind of online pixel shader designer? I.e. you write HLSL code, it sends it to server, server compiles it and get it back to you within some kind of test canvas. Like Shazzam, but online?

Anvaka Ukraine | Reply

3/1/2010 7:43:21 PM #

nokola

Thanks!
I've thought about "Online Shazzam" and discussed it briefly with Walt (the Shazzam author), but I'm not sure yet how it would be better than the WPF version.
It should have some very strong benefit IMO, to warrant making an online tool.

If you'd like let's talk about that... Would be nice to hear your opinion.

nokola | Reply

3/1/2010 8:24:45 PM #

Anvaka

I think it might be better because you don't have to deploy DirectX SDK, and I'm not sure if there is a way to develop shaders under Mac OS... But maybe you are right. The demand isn't that big.

I also feel like I'm missing multiple input sources in Shazzam. Just thinking aloud Smile.

Anvaka Ukraine | Reply

3/1/2010 8:42:12 PM #

Anvaka

By multiple input sources I mean multiple samplers. Sorry for confusion.

Anvaka Ukraine | Reply

3/1/2010 11:52:51 PM #

nokola

Yes - I see your point about the DirectX SDK. btw, Shazzam has multiple sources (samplers) since last week! blog.shazzam-tool.com/.../

nokola | Reply

3/2/2010 2:38:53 PM #

Anvaka

Great news! I've missed that. Thanks!

Anvaka Ukraine | Reply

3/9/2010 6:40:43 AM #

Walt Ritscher

I plan on removing the dependency on the DirectX SDK.  That way, you can just install Shazzam and it will be ready to run.

Walt Ritscher United States | Reply

3/3/2010 12:57:55 PM #

pingback

Pingback from silverlightru.net

Все о Microsoft Silverlight   » Обновление EasyPainter

silverlightru.net | Reply

6/24/2010 2:45:59 PM #

seo mumbai

Now I can make any simple photo very different and very nice with the help of Blood shader,Watercolor shader,Gloom effect. Given photos are looking very nice and totally different from the original one, thanks for this nice sharing.

seo mumbai United States | Reply

7/28/2010 12:52:14 PM #

lettering

Is there any way to promote your services to large audience in an effective manner? The solution to this query has emerged in the form of an attractive logo that helps companies in building a brand identity in the industry and opens new door of opportunities, growth and challenges.

lettering United States | Reply

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



nokola.com | Terms | Log in

Recent

About the author

Happy & enjoying life. Software enthusiast.
The opinions I express here and on nokola.com are mine and not my employeer's (Microsoft).
This is the official blog of nokola.com. You can find Silverlight samples, coding stuff, and hopefully other interesting things here.