Shaders I want to write


So I’m still stuck in my research
I customized my shaders as much as I wish but I still get this bloom effect that I wish to replace by a simple smooth line ^^
My nerves and my brain will really appreciate any help

Zolt (1.8 KB)


Hey CtrlZ,

Two notes…

  1. ISF is based on GLSL, which is just one part of OpenGL; here are two links for pages that have listings of some of the common functions and variables that are built into GLSL:

  1. Here is a quick shader I made that just draws a basic line from one point to another point,


Ok, I think we’ll be making this one a standard FX in the future, but here is the soft flip with a variable angle,
(I took out the bits for doing the color adjustment to the flipped image, and added in options for switching the flip h & v instead… lots of fun possibilities in this one though)


Thank You David
Now I have stuff to read for at least one week ! ahah :slight_smile:

the two dot point line gave me a new Idea !!


Btw this a solution I made which as some horizontal problem for some value ?!
And the color selection is for the background not the line … (1.9 KB)


Can we hi-jack your thread with ideas for possible shaders?

I think there’s room in the world for a shader that would auto-generate a small overlay above any video, featuring the distilled palette of whatever video was being shown.

You’re from New York (more or less… ) so this could be one option…

Other palette ‘generators’ :
gonesasquatchin: “ $5 FLAT COLORED CHARACTER SKETCHES WOW Hello I am poksu and I will draw your cute character for $5!!! I will draw dragons and animals, but please consider the fact that I am way...
 Each palette I post was created by me, by hand using photoshop. I do not own the original photos or gifs I use to create the palettes, unless otherwise stated. Natural Palettes was created as a resource for artist, and as a calming place for...

TV Week Breaking Bad, S5: Ep. 9 - Blood Money Cinematography: Michael Slovis

I love the idea of being able to easily add such overlays, or scale / composite them…
And my lo-fi attempts to recreate just through using heavy pixelisation haven’t been that successful…

What kind of color distilling science / magic is needed?


Maybe a bit trickier in shader land than with paper and scissors -
but have a scroll through and check out some of this guy’s endless invention and creativity…
Maybe someone’ll get some shader inspiration from how he milks such limited parameters in new ways…


This thread is totally meant for people to share ideas for shaders they’d like to see exist; also hoping it provides some inspiration for other people to write some of their own!


Someone asked about triangle based FX on the FB group, here is the first thing I put together on that front…


I’ve yet to create a general purpose shader for this, but my friend Fish2000 brought up this LiveLeak blurry fill background style, and I made a tutorial on how to set this up in VDMX using multiple layers…

Doing this as an FX is a bit tricky because within ISF, filters can’t change the size of an image… but I’ve got some thoughts on how to make something cool and useful from this idea.


It needs a little more tweaking, but after that Triangle Wrap FX, I started working on a more general purpose shape wrapping filter, which lead to this version where you can morph between some basic shapes…


Along the lines of the shape wrapping / repeating styles, I’ve started on this new feedback effect,


I’ve had the idea for a “broken LCD panel” glitch FX ever since seeing this tweet,

Here is my first pass at it, which includes glitched pixels (with a few different styles of glitch), water damage and bad signal noise… it’d be nice to add in a broken glass layer / dead pixels to this as well.


Nice one - like it a lot! Would be nice (imho for all colour fx) to have an option for monochrome / black&white mode


I love this! I am using it too, doing tests and variations within vdmx. I think adding or substituting the “noise seed” option for an image entry "would give much control over the break input pattern.


Yeah I was thinking of making an optional image input to use as a mask for the different types of glitches in the screen – or instead making a variation of the FX that is based on image inputs so that it doesn’t get super cluttered along with the other input controls (swapping in some specific options for adjusting the input image, similar to the way layer mask settings). And the part that generates the existing noise patterns will also make for a nice generator at some point… and the ‘water damage’ might make a good tint / hue shift FX on its own.


Maybe I missed something, but has anyone already created a pixel sorter style ISF shader? This is such a cool effect!


Re Pixel Sorter, this was actually a recent question / topic on the VDMX Facebook group here,

If you aren’t on Facebook, the long story short is…
The author of the thread asked about sorting shaders and linked to this from shadertoy to see if it could be adapted,

And my reply to that was

  1. As the author of the shader linked to noted in the comments of his code, “Overall this is very nasty and has no business being a glsl shader” – this really is quite true, the algorithm behind a pixel sort is especially not well suited to the way that GLSL renders
  2. With a few tweaks I was able to get the shader that was linked to working locally in the ISF Editor; the shader was written against OpenGL 4, and there were just a few small modifications that need to be made. (future versions of the ISF spec are slated to work with different versions of OpenGL nicely, but the current release goes against OpenGL 2).
  3. However, to adapt the linked to pixel sort shader further into an FX, it would also need to keep in mind the idea that the incoming image might be changing, and thereby constantly changing the data that needs to be sorted…
  4. This is a smearing FX that is sorting-inspired that I had started a while back,

Aaaaaand as a follow up to that I had started doing another variation of a “live” pixel sort style effect, where you watch it recursively sort the pixels… there are a few design details (do things sort within their row, column, or should they wrap, which attributes should be considered by the sort, how are new pixels faded in, etc) that I still need to flush out a little more.


another fx that I would like to translate to isf is the famousDatamosh I use this one of Tom Butterworth, but I find it too heavy at times and I have to use it with caution. I do not know if it is possible to achieve something that is similar and manageable with isf.


thanks for the answer, and for shedding light on pixel sorting in isf and glsl, it would be interesting to see what you end up with with the shader you are working on.