Try This Retro Effect! Instant Dither in After Effects)

Motion graphics
5 followers
Dec 1, 2025
All you need is to place this magical pattern over your footage at a threshold effect and
it's Divot.
It's that simple.
But there is a whole world of nuance and different effects that we can create with it once we
understand how it works and how to apply some small tweaks to get the most out of it.
All in After Effects, no plugins necessary, retro effects, captivating glitches and a
free project file.
It's all here.
What is Divot?
Dithering is a way to increase the quality of an image with a limited amount of colours.
And we do that by introducing noise.
So let's start with just black and white.
This image is greyscale.
It is using 255 different shades of grey to show this image.
But let's say we're using a display that only has two colours, where pixels can only be
off or on, black or white.
A threshold effect in After Effects replicates this.
Here it's deciding if a pixel is black or white by whether it's darker or lighter than
50% grey.
That is the threshold.
And we can change that by adjusting this slider.
Some more of the greys are pushed either black or white, but we don't have a lot of information
about the image.
We don't have any shading whatsoever.
But let's zoom in to take a closer look.
And now let's add some noise.
We'll add the noise effect above the threshold and increase it.
Now we get some more information.
We've created the illusion of a gradient, still only using black or white pixels.
And we get this cool, grungy, kind of photocopy print effect.
That's because the border of that threshold is now noisy and chaotic.
We can see here with this level of noise, the very dark areas, they still stay black.
The very light areas, they still stay white.
But in the middle on the edge here, we have this chaotic soup of dark and light values
from the noise.
And the threshold forces them to be either black or white and gives us this speckled
illusion of grey values shading between the two.
Normally we think of noise as destroying our images, but it can save them.
This is also why adding noise can reduce banding in images, because it smooths out those harsh
borders using the same amount of colours.
So this is dithering, but it is not quite that cool retro effect with those patterns.
That is ordered dithering.
And it works exactly the same way.
But instead of adding random noise to get a randomly speckled gradient, it creates a
gradient made with a determined arrangement of pixels.
And this is beautifully simple by using a pattern.
This is the Bayer 8x8 pattern, which contains a mix of greyscale values, like the random
noise, but arranged in a specific sequence.
So to apply that to our footage, let's delete those effects, the noise, the threshold, and
I'm going to drag in an image of that pattern.
Now I've repeated this so it fills a 4K screen, but if we zoom in close, we can see it is
that same 8x8 pattern, just repeated.
Now let's turn that pattern's blending mode to overlay.
Now all we need to do is add a new adjustment layer to add all of our effects on, and we'll
name that effects, because we always label our layers, then we just add a threshold,
and there we are.
It's crunching those grey pixels into black and white, and the sequence in which those
pixels are arranged give us this wonderful pattern.
Now this is just applied to a still image, but we can put whatever footage we need underneath
that pattern, and the same will happen.
It blew my mind when I learned that that pattern is all that is needed.
And we can of course adjust the level of that threshold as well, to get the darkness we
want, but also just animating this property I think looks pretty great on its own.
Now this effect looks great at the moment, particularly when we are zoomed in.
I've in fact scaled down that footage to show it off even nicer.
And when we zoom out, it can still look pretty good.
But the further we get out, because that dithering is happening at the exact pixel level, YouTube
will probably be smearing all of that lovely pattern detail.
I'll scale up the eye, and depending on the compression, we'll probably lose a lot of
that effect.
And most of the time we want to be using dither at a pretty large scale, similar to this,
so we really see and feel that effect.
And we don't want to be stressing about any compression, so we need to scale it up.
The pattern itself needs to be bigger, but when we scale up this dither pattern, it doesn't
quite work.
This is because the pixels in our pattern are now bigger than the pixels in the resolution
of our composition.
So for the ordered dithering to work, we need our pattern and our comp's resolution to be
aligned.
And we can do that by lowering the resolution of the comp, and linking that to the scale
of our dither pattern.
We'll do that with some very simple expressions.
Again, this is all set up for you in that project file, but there are a few really neat
tricks that I think are very useful to know.
First, let's scale back down our dither pattern to 100, and we'll put that in a pre-comp with
CTRL-SHIFT-C, and let's call it dither pattern.
That way we can easily swap out our pattern later.
And we're going to turn its visibility off for the moment, let's zoom back out, and let's
add an effect to pixelate our image.
So on our effects adjustment layer, let's turn off the threshold effect for the moment
as well.
And we are going to add the effect mosaic above everything.
This gives us a pixelated look where we can customize the amount of blocks, which will
be our pixels.
And we want these to always be square.
So let's add an expression to both of these blocks.
For horizontal blocks first, we are going to ALT or OPT click the stopwatch, that will
open up its expression window, and we can type in the expression thisComp.width.
And that will give us the value of this composition's width, which is 1920.
And for vertical blocks, again, ALT or OPT click the stopwatch, and this time, you guessed
it, we'll type in thisComp.height.
So now it is showing our comp's full resolution.
And we can't really notice the pixelating effect at all, but we can now link these values
to the scale of our pattern using a slider.
So let's add the effect slider control.
Now this is just a blank slider, it does nothing right now, but it is an adjustable number
for us to link to.
So let's actually rename that to ditherScale, because we always label our slider controls.
And we want to make the value of these blocks in Mosaic smaller than 1920 by 1080, but maintain
that same ratio as the width and height of our comp.
So we are going to divide these by our slider value.
Let's just put that to 2 at the moment.
And all we need to do is at the end of these expressions, type a forward slash, which means
divide by, then select the expression pickwhip, and drag it over to that ditherScale slider
control and release.
That references it in the expression, so now it is taking the comp's width and dividing
it by the slider value, which is 2, so it's halving it to 960.
Let's do the same with that other expression, forward slash, pickwhip our slider.
And now we can decrease the resolution just using this slider.
Fantastic.
Now all we need to do is link our ditherPatternScale to this slider as well.
Let's give it a nice even number for the moment, 20.
Let's open up our ditherPatternScale with S on our keyboard, and we'll make sure it's
at 100, and we're going to alt or option click the stopwatch, open the expression window,
and we're actually just going to select our effects adjustment layer again, just to keep
this visible in our effects control panel, and we'll go back to that scale expression,
and this time we want its scale to increase.
So we want to multiply it by the value of this slider.
So at the end of it, we're going to add an asterisk, which means multiply, and then use
the expression pickwhip and select this slider again.
Now it is linked, we can turn that ditherPattern back on.
So if the scale is at five, let's say, our pattern scale is 500, and our mosaic's blocks
are one fifth of the comp's resolution.
Happy days.
Let's turn our threshold back on, and also we want to change the quality and sampling
of this ditherPattern layer.
So we'll do that by clicking this box a couple of times until we get this stepped line, which
will keep it nice and sharp and pixelated when it is scaled up.
And After Effects isn't trying to be clever and blur it, which will mess up our effect.
So now they are scaled no matter the value of this slider, except when it's at zero,
because we'd be dividing by zero, which is actually illegal.
So now we've got beautiful all the dithering at any scale.
Now if you are tempted to adjust the slider, not the actual numbers here, we will get all
sorts of decimal places, which can kind of mess it up as well.
So if you think you'll be tempted, we can add an expression to our slider, alt option
click, math.round, and then pickwhip the slider again.
And you might find when scrubbing through that some of the numbers don't look quite
right.
Here nine doesn't look great and eight not much better.
All we need to do is check sharp colors on the mosaic and that sorts it all out.
Now our setup is done, ordered dithering at any scale.
But there are even more interesting things that we can do with this effect.
It is also important to know that when rendering this setup here in the render queue, you do
need to make sure that your settings are changed from the default, which is best settings
and change them to current settings.
Best settings will undo this previous change we made earlier and try to scale up our pattern
more smoothly and it will mess with the whole effect.
I may or may not have lost a whole day trying to figure that out.
And there are some irregularities in the pension fund that mean some very slight misalignment
of pixels that you might notice at higher scales if you look very, very closely.
But for 99.9996% of the time, you'll get away with it.
And before we get into more patterns and techniques, I do want to highlight some incredible motion
design work.
This is a title sequence by Connor Roy Shaw, who designed these frames for his major project
in my course Design Breakthrough Art for Motion.
And I just love how he's used composition and repetition to create an amazing sense
of scale and depth here.
The last section of the course is focused on one major project that takes you through
the whole process from analysing a brief, coming up with ideas, finding references,
mood boarding, storyboarding, creating final designs and putting together a killer pitch
document for a client.
I go through every step of me doing that in just about real time with these designs and
Connor did an absolutely brilliant job.
He's also available for freelance work and I'll be sharing more incredible student work
just like his.
I do have three courses available where I take you through the exact process that I've
learned from years in the industry to save you that time.
There's a beginner animation, advanced animation and a pure design course where I go in depth
on the most essential skills and techniques to excel in motion design and create incredible
work.
They're all on benmaria.com.
So click that link in the description to get involved.
Wow.
Now the Bayer 8x8 is not the only ordered dither pattern.
There is also the Bayer 4x4 and 2x2 which give a smaller combination of possible patterns.
Now I've made 4K versions of those patterns too.
So let's drop those both in our dithered pattern precomp and we can turn these on and off to
get slightly different dither patterns.
So definitely shout out to Bryce Bayer.
I hardly know him.
We can also create a horizontal dither using a pattern like this.
Let's drop that one in there too.
And that also becomes a vertical pattern when you rotate it 90 degrees.
And besides the Bayer 8x8, my other favorite kind of dithering is the kind I use in the
brilliant game Return of the Obra Dinn, which you can do simply by using blue noise as a
pattern.
Here's what it looks like up close.
This is kind of similar to the random noise we used at the start, but it has less random
clusters of black and white.
It is less chaotic.
It is more even.
And as a result, we get a result that kind of feels in between ordered Bayer dithering
and that chaotic noise dithering.
This is very cool.
I really like this a lot.
Now there are other types like Floyd Steinberg, Jarvis Judas and Ninkei, Stuckey and Burks,
but you can't replicate those easily by overlaying a pattern like these ones.
Those require math and programming and science, neither of which the state of New South Wales
legally allows me to practice.
And with some extra source, here are some fun ways we can use all of that to get some
different effects.
First, let's add some color.
Here we've got some stock footage of some clouds under our pattern and effect layer,
and we can adjust the threshold to get it something looking a little more like what
we'd like.
And to add color, all we need to do is add the effect tint.
Tint maps the black and white values to new colors, so we can map the white to, let's
Or we could make it a pure green, much more like an old computer monitor.
We could also reduce the amount of tint to knock it back a bit, make it a bit more subtle.
We could turn it all the way back up and swap the colors.
And that looks splendid too.
Tint works great here.
And besides adjusting the threshold to make the result lighter or darker, we can also
adjust the contrast and color before we add the dither to give us more refined control.
So I like to do that by adding a curves effect to the original footage.
Then we can really dial in that look.
And we're not restricted to just coloring in that black and white dither either.
We can use the color from the footage as well.
Let's get rid of that tint effect and the threshold.
And I will drag in a nice rainbow over the top as well, so we can see more clearly how
it affects the whole visual spectrum.
And this is precisely what a rainbow looks like.
So instead of using threshold, we are going to limit our colors using the effect posterize.
And I do need to make sure our rainbow is underneath that dither pattern.
There we go.
And let's set posterize to two.
So what posterize does is really restrict the amount of colors that we output.
On two, which is the lowest we can go, we only get eight colors to work with.
We can, of course, increase that to get more colors.
And we can kind of see that this is really what dither was invented for.
With a really tight restriction of colors, we get a much clearer image than without,
especially if we increase the resolution by just lowering our dithering scale.
We can see this looks pretty good considering.
And we can turn off our dither pattern to just see how much of a difference adding dither
makes to all of this.
Of course, we really want to see the effect, so let's lower this as much as we can down
to two.
And in the clouds themselves, we aren't really only using four colors.
It may look like there's kind of a red tone here, but when we zoom in, we can see that
it is only white, cyan, blue, and black pixels.
And of course, we can adjust the color of our footage itself with effects like hue and
saturation, where we can make some adjustments, or even on the curves channel effect as well
to tweak it to get the results we want.
For layering two different colors like this, this face is just a separate precomp on top
of everything.
And inside that precomp, I have the same effects layer with the same scale, just a different
tint color.
The only thing that I've changed in this comp is for the dither pattern, I've set it to
preserve underlying transparency.
So the dither pattern is only applied to our face and not the background, so we can see
through it to the fire in our main comp.
Let's go back to our clouds for the next example, and let's take it back to black and white.
Now the next technique is to actually distort the dither pattern, and we can do that with
pretty much any effect you can think of that distorts an image.
So let's add a wave warp to our dither pattern specifically.
And now the wave warp has a subtle wave to it, maybe not so subtle, but we can decrease
the speed, maybe the height as well, and we get a slightly more unique pattern.
We can also turn that off and try turbulent displace, which already makes it much more
chaotic and get some wild results just by messing with the amount and with the size
as well.
And you can push that really far and almost lose the original image entirely, but I think
it makes some cool glitching effects in the right circumstances.
We can even try CC lens or even ripple.
All of these break the pattern to some degree, but I think the results can be interesting,
just something to consider.
Some glow effects over the top can be fun as well, but remember, glow works best when
it is subtle.
I recommend getting it to where you like and then maybe reducing it by half again.
Now another trick I discovered was actually while creating the graphics for this video,
and that is that when we have the pattern over our footage, it doesn't quite give the
full range of grey values.
Here we start at black, have a lot of grey, then hit white.
With our dither pattern, we have a lot of black, a little bit of grey and mostly white.
If you want to get more medium values in there, all you need to do is duplicate the dither
pattern so it will be more prominently seen under the effects and we get more of a spread.
You can keep duplicating that and it will get more and more grey, but then that pushes
too far the other way and to really dial it in, we can adjust the opacity of that second
dither layer to our taste.
Between 50 and 100 on this one I think works really well.
Now all of the shots from the intro are using those techniques.
For the dither title, here's what it looks like without the effects and the pattern.
It is just a stock photo of an eye scaling up, I've got some lightning footage on top
and some text with an animated gradient and glow.
Then we've got the 8x8 over the top and a tint to change the colour.
I know that this effect, most of the time, is not subtle.
It's rare that you're going to be able to use this in a subtle enough way that the dither
will not be the main show of whatever you're creating.
Because it does steal the whole show, you should consider it from the start.
Now if you do want more in the world of dither, there are two really good dither plugins as
well.
There is Retro Dither which is $50 and Pix Dither which is $20.
I've used both, both are great.
For a client project I wouldn't hesitate to buy and use either of these.
They're all really easy to use, very quick to experiment with and to create some interesting
results.
The main benefit though is that they have more options for patterns.
We can use a Floyd Steinberg here.
And both offer great options for colour palettes as well, for very specific displays.
Here's the Gameboy one from Pix Dither but we have lots of options as well.
Now Pix Dither does have more pattern options and you can adjust the red, green and blue
thresholds individually for the buyer patterns.
You can also offset the X and Y values as well which could be good to add motion to
a static image.
But with the other different patterns you have less options to adjust the scale so it
can look very fine which you can do in Retro Dither.
So if you wanted to use a specific one like a Floyd Steinberg, I'd use Retro Dither for
that.
But in general I'd recommend both.
And remember my project file with all of this setup is in the description along with the
intro and demonstrations just without the stock footage.
And enrol in my courses on baremerit.com to level up your motion design skills.
