LogoLogo
  • Home
  • Projects
  • About
  • Contact

Some Photographic Shaders

Devon O. · September 13, 2014 · Actionscript, Shaders · 12 comments
46

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.

  Facebook   Pinterest   Twitter   Google+
  • Unity3D Endless Runner Part I – Curved Worlds
    July 17, 2016 · 8 comments
    A couple months back I got an overpowering hankerin' to create an endless
    18345
    61
    Read more
  • FOTB 2010 – Some Closing Thoughts and some Play Time
    October 07, 2010 · 1 comments
    2509
    8
    Read more
  • Billboard Transition Effect in Flash Player 10
    August 03, 2008 · 9 comments
    2578
    4
    Read more
12 Comments:
  1. Great Job! “CDATA” using is pretty nice

    Elias Ku · September 13, 2014
  2. I’m just too lazy to bother with all those quotes. :)

    Devon O. · September 13, 2014
  3. This is an amazing contribution to the community!
    Thank-you so much!

    Bill Brown · September 15, 2014
  4. Wow, thanks!

    Flo · September 15, 2014
  5. great job & thank you for sharing it! a big supercool up.

    vbot · September 17, 2014
  6. a big supercool up! thanks for sharing!

    vbot · September 17, 2014
  7. love them, thanks a lot!

    babeuf · September 18, 2014
  8. WOW!

    This is absolutely amazing!
    Im sure a lot of devs somewhere in an app stumbled on the possibility of adding filters to photos/images and where discouraged by the lack of AGAL knowledge (or at least that would be me).
    Thanks a lot for open sourceing this!

    Juan · September 19, 2014
  9. Simply stellar. Thanks so much for open-sourcing it!

    Kawika · December 08, 2014
  10. Absolutely awesome! Thanks so much for sharing!

    Frank · May 08, 2015
  11. Thanks for this, it’s really useful, but the noise filter doesn’t work well on mobile, producing black stripes all over the image. Any idea why?

    Francis · August 25, 2015
  12. @Francis Thank you for the feedback. I’m assuming the ‘random’ method was just not very good. I’ve just committed an update to the algo based on this blog post: http://byteblacksmith.com/improvements-to-the-canonical-one-liner-glsl-rand-for-opengl-es-2-0/ I haven’t tried it on mobile, but if you do, post back to let me know how it works out.
    -d

    Devon O. · August 29, 2015

Leave a Comment! Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Devon O. Wolfgang

AIR | Unity3D | AR/VR

Unity Certified Developer

Technical Reviewer of “The Essential Guide to Flash CS4 AIR Development” and “Starling Game Development Essentials”

Reviewer of “The Starling Handbook”

Unity Engineer at Touch Press.

Categories
  • Actionscript (95)
  • AIR (16)
  • Flash (99)
  • Games (7)
  • Liberty (13)
  • Life (53)
  • Shaders (20)
  • Unity3D (21)
Recent Comments
  • Devon O. on Unity Ripple or Shock Wave Effect
  • Feral_Pug on Unity Ripple or Shock Wave Effect
  • bavvireal on Unity3D Endless Runner Part I – Curved Worlds
  • Danielius Vargonas on Custom Post Processing with the LWRP
  • Luca G on Unity Ripple or Shock Wave Effect
Archives
  • December 2020 (1)
  • December 2019 (1)
  • September 2019 (1)
  • February 2019 (2)
  • December 2018 (1)
  • July 2018 (1)
  • June 2018 (1)
  • May 2018 (2)
  • January 2018 (1)
  • December 2017 (2)
  • October 2017 (1)
  • September 2017 (2)
  • January 2017 (1)
  • July 2016 (1)
  • December 2015 (2)
  • March 2015 (1)
  • September 2014 (1)
  • January 2014 (1)
  • August 2013 (1)
  • July 2013 (1)
  • May 2013 (1)
  • March 2013 (2)
  • December 2012 (1)
  • November 2012 (1)
  • September 2012 (3)
  • June 2012 (2)
  • May 2012 (1)
  • April 2012 (1)
  • December 2011 (2)
  • October 2011 (3)
  • September 2011 (1)
  • August 2011 (1)
  • July 2011 (1)
  • May 2011 (2)
  • April 2011 (2)
  • March 2011 (1)
  • February 2011 (1)
  • January 2011 (2)
  • December 2010 (3)
  • October 2010 (5)
  • September 2010 (1)
  • July 2010 (2)
  • May 2010 (5)
  • April 2010 (2)
  • March 2010 (7)
  • February 2010 (5)
  • January 2010 (5)
  • December 2009 (3)
  • November 2009 (1)
  • October 2009 (5)
  • September 2009 (5)
  • August 2009 (1)
  • July 2009 (1)
  • June 2009 (2)
  • May 2009 (6)
  • April 2009 (4)
  • March 2009 (2)
  • February 2009 (4)
  • January 2009 (1)
  • December 2008 (5)
  • November 2008 (2)
  • September 2008 (1)
  • August 2008 (6)
  • July 2008 (6)
  • June 2008 (9)
  • May 2008 (4)
  • April 2008 (3)
  • March 2008 (4)
  • February 2008 (9)
  • January 2008 (7)
  • December 2007 (6)
Copyright © 2017 Devon O. Wolfgang