Some Photographic Shaders

A couple weeks ago I was contacted and asked to write some filters for Starling that could be used in a mobile camera application. To be honest, I’m not sure what’s become of the app as I’ve lost contact with the developer, unfortunately. A part of the deal, however, was that I eventually open source the filters, so I’m going to go ahead and do that now.

So, to my Starling Filters repo on Github, I’ve now added seven new photographic effects:

AnselFilter is a highly configurable way of making black and white images.

BleachFilter will bleach the color out of images in a fairly interesting way.

BloomFilter a relatively standard bloom effect with adjustable color.

LomoFilter does a bit of toy camera/Lomo/Vintage color adjustment.

NoiseFilter will add a custom amount of grain/noise to an image. Animating the seed parameters can produce a nice static effect.

TiltShiftFilter will produce a decent tilt shift blur. To be effective, this filter requires multiple passes, though, so probably isn’t that useful in performance critical situations.

VignetteFilter creates a standard vignette effect with optional sepia colorizing.

I also sat down and created a filter browser demo app thing so that you can easily see how different filters will look when applied to different photos.

As usual, if anyone uses any of these filters, let me know. It’s not necessary, but I’m always interested.