# Old Film Filter

**URL:** <https://forum.defold.com/t/old-film-filter/4465>\
**Category:** Questions\
**Created:** [January 26, 2017, 10:39pm UTC](https://forum.defold.com/t/old-film-filter/4465 "2017-01-26T22:39:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnnyezzell](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/johnnyezzell/32/1274_2.png) [@johnnyezzell](https://forum.defold.com/u/johnnyezzell)\
**Post date:** [January 26, 2017, 10:39pm UTC](https://forum.defold.com/t/old-film-filter/4465/1 "2017-01-26T22:39:36Z")

</div>

Hey Guys and Gals,

I’m making a game that could really benefit from having an old film filter. You know the random lines and dirt spots etc.

Before I even started to do it, I just wanted to see if anyone else here had tried such a thing or had any just general ideas on how they might approach it.

Thanks in advance,  
Johnny

P.S. I’ll share the script that does it when I’m done 🙂

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [January 26, 2017, 10:56pm UTC](https://forum.defold.com/t/old-film-filter/4465/2 "2017-01-26T22:56:03Z")

</div>

You should be able to find a shader that you can adapt to your needs. Maybe something like: [Article | Nutty Software](http://www.nutty.ca/?page_id=352&link=old_film)

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [January 27, 2017, 10:49am UTC](https://forum.defold.com/t/old-film-filter/4465/3 "2017-01-27T10:49:57Z")

</div>

Also, a great source of inspiration for ideas, as always, is Shadertoy.com:  
[VCR](https://www.shadertoy.com/results?query=VCR), [CRT](https://www.shadertoy.com/results?query=crt), [Film grain](https://www.shadertoy.com/results?query=film+grain)  
You should be able to modify them to suit your needs.

 ![](https://forum-defold-uploads.b-cdn.net/original/2X/0/0b3fbad98938a11cbc5d618541c776d6cc8466bc.jpg)  
(Image credit: [ryk](https://www.shadertoy.com/view/ldjGzV) )

---

<div class="post-metadata">

**Author:** ![Axel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/axel/32/11723_2.png) [@Axel](https://forum.defold.com/u/Axel)\
**Post date:** [January 27, 2017, 11:16am UTC](https://forum.defold.com/t/old-film-filter/4465/4 "2017-01-27T11:16:18Z")

</div>

This brings me to mind **Bad Trip** , a Defold runner made quite a while ago in a [Game Dev School](http://www.gamedevschool.pl/) class.

[https://play.google.com/store/apps/details?id=com.badtripdevs.badtrip&hl=en](https://play.google.com/store/apps/details?id=com.badtripdevs.badtrip&hl=en)

---

<div class="post-metadata">

**Author:** ![johnnyezzell](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/johnnyezzell/32/1274_2.png) [@johnnyezzell](https://forum.defold.com/u/johnnyezzell)\
**Post date:** [January 27, 2017, 10:04pm UTC](https://forum.defold.com/t/old-film-filter/4465/5 "2017-01-27T22:04:24Z")

</div>

Thanks guys… I appreciate all the help 🙂

---

<div class="post-metadata">

**Author:** ![Xorboo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/xorboo/32/1987_2.png) [@Xorboo](https://forum.defold.com/u/Xorboo)\
**Post date:** [January 29, 2017, 12:43am UTC](https://forum.defold.com/t/old-film-filter/4465/6 "2017-01-29T00:43:51Z")

</div>

I’m considering writing a short tutorial on using render\_targets for post-processing, but it wont be ready in the nearest future, so tell me if you need any hints on how to apply your post-process shaders to the game. There are some basics posted in [this](https://forum.defold.com/t/best-way-to-add-post-effects/3780/5) thread, they might help you for the start.  
But for the shaders itself - yeah, its mostly shadertoy, google-fu and knowledge of basic math. Old film is basically sepia (easy). vignette (easy, harder if you want image distortion), grain (easy), and moving lines (probably kinda hard to make them look good). All of this you can google as a separate shader and then combine them in one (this will reduce a bit of drawcalls, which is good).  
P.S. Hey, Defold team, how about adding a feature where you can dynamically add/remove postprocess shaders without adding a quad on the scene and a bunch of code into renderscript?

---

<div class="post-metadata">

**Author:** ![splashshadow](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/splashshadow/32/2374_2.png) [@splashshadow](https://forum.defold.com/u/splashshadow)\
**Post date:** [March 29, 2017, 7:03pm UTC](https://forum.defold.com/t/old-film-filter/4465/7 "2017-03-29T19:03:54Z")

</div>

Hi. Is you short tutorial about post-processing on the way? Thx.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [March 29, 2017, 8:55pm UTC](https://forum.defold.com/t/old-film-filter/4465/8 "2017-03-29T20:55:55Z")

</div>

Yes, @sicher has it on his todo list.
