I’ve been busy rewriting a lot of code and functionality recently so I haven’t had much to show for the last week but I have fiddled with shaders in Unity. I’ve recently become pretty fond of the low resolution style of graphics found in Playstation 1 games, especially after trying out the short game Bernband shown below.
So a while ago me and my friend Chris Jansson created a shader in ShaderToy that would create a similar effect by sampling every x’th pixel and skipping the ones in between. I decided to recreate the shader for Unity, mostly to learn how shaders are handled there, and figured I’d make the code available. The result is the image you see at the top of this post, just a basic static scene with the shader.