# Intro to Matchbox Shaders

**URL:** <https://forum.logik.tv/t/intro-to-matchbox-shaders/6595>\
**Category:** Matchbox\
**Tags:** matchbox\
**Created:** [August 24, 2022, 5:21am UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595 "2022-08-24T05:21:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Graziella](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/graziella/32/4564_2.png) [@Graziella](https://forum.logik.tv/u/Graziella)\
**Post date:** [August 24, 2022, 5:21am UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595/1 "2022-08-24T05:21:26Z")

</div>

Also for anyone interested these videos break down the process of scripting GLSL for matchbox shaders wonderfully

[![](https://img.youtube.com/vi/3UJl791ltkI/maxresdefault.jpg "Matchbox -- Part 1: The Shading Pipeline") ](https://www.youtube.com/watch?v=3UJl791ltkI)

And this website is really fun! It has a gallery of prebuilt GLSL shaders that run in real time. If you click on any and hit ‘show code’ on the top left corner you can adjust some variables and immediately see how that math translate in the picture while it runs and adjust in the background.

[https://glslsandbox.com/](https://glslsandbox.com/)

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [August 24, 2022, 1:00pm UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595/2 "2022-08-24T13:00:23Z")

</div>

Whoa! I had totally missed these videos. There’s a 7 part series from @joelosis and @julik… thank you so much for sharing!

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/b/b759a2bfea51da0d7bab1b56e02edd4b6f7f03c4.jpeg "Matchbox -- Part 1: The Shading Pipeline") ](https://www.youtube.com/watch?v=3UJl791ltkI)

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/4/439e672d115abc69ac88f535d8efadcdc103a1b1.jpeg "Matchbox -- Part 2: Your First Line Of GLSL") ](https://www.youtube.com/watch?v=9VEx6Slkx_s)

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/8/8db67be39fe79c1ce4423f03d702b60f06bb0c6b.jpeg "Matchbox -- Part 3: The XML Sidecar") ](https://www.youtube.com/watch?v=cZ_YEjWaNDM)

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/e/e69b5d2c5df34cb4009acdbd50d5fc141826db3d.jpeg "Matchbox -- Part 4: Sampling Inputs") ](https://www.youtube.com/watch?v=0tbfUUeFc-k)

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/e/e56da59ab18744004631336a7ef839b38943ca9c.jpeg "Matchbox -- Part 5: The Imminent Comeback") ](https://www.youtube.com/watch?v=H8rkKp_MzAs)

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/2/21c40bdcab86b7b629d01ebe80995d5206265239.jpeg "Matchbox -- Part 6: The Box Blur") ](https://www.youtube.com/watch?v=WYuRyw0SnsE)

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/c/cc05d4a972b05b5147fc9a541e3c1799e4eddfbe.jpeg "Matchbox – Part 7: Speeding The Blur Up") ](https://www.youtube.com/watch?v=qWGbVgiVgM8)

---

<div class="post-metadata">

**Author:** ![KuleshovEffect](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/kuleshoveffect/32/4928_2.png) [@KuleshovEffect](https://forum.logik.tv/u/KuleshovEffect)\
**Post date:** [August 24, 2022, 6:33pm UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595/3 "2022-08-24T18:33:53Z")

</div>

I’d like to add Shader Toy to this thread:

> **[Shadertoy BETA](https://www.shadertoy.com/)**
>
> Build shaders, share them, and learn from the best community.

This is where Ivar got several of his shaders!

Same idea as GLSL Sandbox - people upload shaders they’ve created, and you can tinker with the code as it runs live in your browser.

-Ted

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [August 24, 2022, 6:39pm UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595/4 "2022-08-24T18:39:44Z")

</div>

@daniel_morris

---

<div class="post-metadata">

**Author:** ![KuleshovEffect](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/kuleshoveffect/32/4928_2.png) [@KuleshovEffect](https://forum.logik.tv/u/KuleshovEffect)\
**Post date:** [September 1, 2022, 9:46pm UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595/5 "2022-09-01T21:46:48Z")

</div>

If you’d rather read than watch videos:

> **[The Book of Shaders](https://thebookofshaders.com/01/)**
>
> Gentle step-by-step guide through the abstract and complex universe of Fragment Shaders.

This site has basic code examples that are interactive.

---

<div class="post-metadata">

**Author:** ![Stefan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/stefan/32/631_2.png) [@Stefan](https://forum.logik.tv/u/Stefan)\
**Post date:** [September 2, 2022, 7:12pm UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595/6 "2022-09-02T19:12:52Z")

</div>

Nice one, thanks @KuleshovEffect!

---

<div class="post-metadata">

**Author:** ![Graziella](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/graziella/32/4564_2.png) [@Graziella](https://forum.logik.tv/u/Graziella)\
**Post date:** [November 6, 2022, 3:32am UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595/7 "2022-11-06T03:32:41Z")

</div>

Found another old tutorial that goes over the concept of creating matchboxes using code found online!

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/d/d274686057e2a8bc69c4545c2116afd5d9110bbb.jpeg "MATCHBOXFINAL\_AMIX\_1280x800.m4v") ](https://www.youtube.com/watch?v=BDTJ_5Xl3F4)

---

<div class="post-metadata">

**Author:** ![Graziella](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/graziella/32/4564_2.png) [@Graziella](https://forum.logik.tv/u/Graziella)\
**Post date:** [January 6, 2023, 7:11pm UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595/8 "2023-01-06T19:11:37Z")

</div>

Just found this old video of legendary @ivar who I wish I had the honor of meeting  
He mentioned how he got started with Flame’s matchbox creation. And he actually references the Fishbowl videos that we are sharing here!  
“The easiest way to make a matchbox is to go to the Shadertoy website and look for a simple blur shader (gaussian blur, box blur). Most of the shaders you can download. And you only have to do an “A” “B” difference and see what you have to change to get what you want inside of Flame. That is what I did to get started” - Ivar Beer

https://player.vimeo.com/video/195004492?h=5d74c7a111&app_id=122963

---

<div class="post-metadata">

**Author:** ![Stefan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/stefan/32/631_2.png) [@Stefan](https://forum.logik.tv/u/Stefan)\
**Post date:** [January 17, 2023, 7:28pm UTC](https://forum.logik.tv/t/intro-to-matchbox-shaders/6595/9 "2023-01-17T19:28:18Z")

</div>

Years ago I played a bit with this stuff, super fun way to learn more about functions in a visual way:

_Shadershop is an interface for programming GPU shaders in the mode of a direct manipulation image editor like Photoshop. It is an experiment in leveraging the programmer’s spatial reasoning the way that coding today leverages the programmer’s symbolic reasoning._

[http://tobyschachman.com/Shadershop/](http://tobyschachman.com/Shadershop/)
