September 24, 2022

Surface Normals

I think this is what I want because it gives the surface a top and bottom and a left a right for the lighting to shade. The red is the darkest on the right because where the value of x is the highest.


August 3, 2022

Sprite Sheets in Metal Shader

I got it working to render the textures for the weapons from a sprite sheet rather than from a separate texture for each animation frame.


October 16, 2021

Rendering a Bunch of Cubes

In some ways this wasn't as hard as I thought it would be. I simply put a bunch of cubes on the screen!


October 5, 2021

Moving the Cube

The big adjustment here was separating the model from the location of the object. This meant I translated the location of the object on the CPU but translated the object itself on GPU.