Exploring Dot Products in Unity
· ☕ 2 min read
Dot Products are a really easy and fun way to compare Vectors in space. When comparing two normalized with a dot product the result will be the cosine of the angle between the two Vectors.
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.
Flight in Asteroids VR Demo
· ☕ 0 min read
A demonstration of early flight mechanics in Asteroids VR that enable complex movement and 6 degrees of freedom.
Creating and Using SSH RSA Tokens on Windows 10
· ☕ 2 min read
I’d like to be able to connect to my servers without having to continuously enter my users password. We’re going to accomplish that by making use of an SSH Security Token.
Learning How To Use Step and Smoothstep in Shaders
· ☕ 1 min read
A number of people have commented that we should be using step or smoothstep instead of some of the branching if/else blocks we’ve used in other videos (branches in shaders tend to perform worse than other functions).
A Circle Shader in Shader Graph - Ripple in Shader Graph - Part 1
· ☕ 2 min read
Lets learn Shader Graph by building our ripple shader entirely within Shader Graph. The goal of this series is to reproduce the ripple shader we’ve been working on and compare/contrast the process of building the same shader in both tools that Unity makes available to you.
Point and Ripple - Ripple Shader - Part 2
· ☕ 2 min read
Welcome back! Let’s expand our Ripple Shader so it’s a bit easier to control and set the groundwork for some of the upcoming features we’ll want to build for it.
Shadertoy: Reduced Image Color Quality
· ☕ 1 min read
A Shadertoy shader that reduces the available colors to draw with. This demo reduces the normal range of colors per channel from 256 down to just 8 by using effectively separating each colors floating point value into different categories.
Live Coding a 3D Voxel Cube in Unity
· ☕ 2 min read
Lets build a basic colored voxel “chunk” from start to finish! We’ll focus on constructing three main components: a Chunk which stores data about the world, A ChunkGenerator which fills the Chunk with initial information (it builds the world) and a MeshGenerator that converts our Chunk into a Mesh you can see.