This page looks best with JavaScript enabled

Transformation Matrices and Vertex Shaders

 ·   ·  ☕ 1 min read

3D Rotational Matrices? What do they do? How do you use them? And more importantly what cool stuff can we make with them? In this video we’ll look at applying some matrices to objects using a custom vertex shader.

We’ll look at using rotational matrices to transform our object along the X, Y and Z axis as well as allowing our mesh to be shifted by an offset or skewed.

The idea for this comes partially from the 12 Principles of Design by Disney and the ultimate goal is to be able to create many of the effects demonstrated here ( with this shader we’re creating.

Want to learn some more about Transformation Matrices? Wikipedia has a page discussing many of the common ones:

Getting started with Shaders in Unity? Start here:

Summer Slow Jams? Summer Slow Jams! More info here:


Sam Wronski
Sam Wronski
Maker of things and professional software engineer. Lets make something awesome together!