Masking shader

So, I’m fortunate to be working with Nifflas at KnapNok Games. Recently he asked me for a simple shader that takes two textures and masks one with the other, with an input controlling the placement of the mask along one axis.

See Nifflas’ vine here for a glimpse of the effect that resulted. Or try it out below – mouse X position controls the effect.

Read more »

Binary glitch-tool

I’ve programmed a small tool for messing up binary files. It runs in Python 2.7, and thanks to a small correction from Matthias, it’s known to work on both Windows and OSX.

What it does is very simply to flip individual bits inside binary files. That’s of interest to me in connection with compressed movie files; you can get some lovely compression artifacts by messing with the data directly. Here’s a quick before and after:

Read more »