Creating a Stepped Gradient Shader in Unity
· ☕ 2 min read
Let’s build a stepped gradient in Unity! This is a form of gradient with hard transitions between the different keyframes in the gradient which creates clear blocks of color like you might see on a flag or logo.
A World Space Grid Snapped Shader
· ☕ 2 min read
Expanding upon our exploration of a shader that snaps vertices to a grid. This time we’re moving things into world space!
What Happens When You Snap Vertices To A Grid?
· ☕ 3 min read
In this video I get to play with madness. We’ll be exploring what happens if you try to “pixelate” a 3D mesh using a vertex shader.
Exploring a Trochoidal Wave Shader
· ☕ 1 min read
Let’s try to craft some trochoidal waves - a type of fluid simulation that is both fairly simple and also looks pretty good for creating basic waves in an ocean or other fluid.
Embedding Shadertoy in Hugo Websites - Custom Hugo Shortcodes
· ☕ 2 min read
Hugo Shortcodes are a way to use short snippets in your Hugo site that embed custom parameterized objects. Some built-in shortcodes can embed GitHub Gist code snippets, YouTube videos or Twitter posts.
Writing a Snow Covered Shader
· ☕ 1 min read
Lets write a custom snow covered surface shader in Unity that can procedurally generate snow and place it on top of any object in our scene.
Writing Our Own Diffuse Lighting Shader
· ☕ 4 min read
Lets explore how to build diffuse lighting onto our meshes. This is intended as somewhat of an introduction to some of the magic behind shaders.
Turning Circular Pixels Into Diamond Pixels
· ☕ 2 min read
In previous videos we’ve built a pixel shader that renders circles instead of the traditional squares. You can rotate the pixels so that the circles can be oriented at any angle to one another.
Making Our Pixels Round - Circle Pixel Shader - Part 3
· ☕ 1 min read
In the past two episodes we’ve created a pixelating shader that divides an image into a lower resolution grid of pixels and a second shader which renders a circle inside of a 1x1 area.
Lets Draw A Circle - Circle Pixel Shader - Part 2
· ☕ 1 min read
Last time we built a grid of pixels for our circular pixel shader. In this video, part 2, we’re going to be figuring out how to draw a circle.

Shadertoy: Grid Shader
· ☕ 1 min read
A Shadertoy shader creating a grid. This makes it possible to create an infintely scalable grid pattern that is fairly light-weight.
Building a Custom Node in Unity's Shader Graph
· ☕ 2 min read
With the introduction of Shader Graph Unity also added support for Custom Nodes you can build yourself by creating custom CodeFunctionNode.