shader
Graph Paper Shader
Now that we have an application shell and we are rendering a basic scene, let’s get down to rendering our sheet of graph paper! There are several approaches we can take to rendering a grid onto a mesh. One of the most simple would be to create a texture in an image editor and skin it onto our mesh. Tried and true, this method would work great! But… I have no interest in opening an image editor to create a grid texture.
Text Gem: Introduction
For a while now I’ve been interested in graphics programming. Rendering 3d objects to build worlds has always been fascinating to me, though I’ve never had time to properly learn how graphics programming works. I’ve also been interested in learning how to design and build games! In order to build games, we need to represent the world that a player is moving through. Using ASCII characters and grids is a very simple way to represent a world, and the simplicity allows for quickly trying different mechanics.