In our previous post we wrote the shaders that will be required to display our first quad using OpenGL on our iOS device. Our next step would be to compile and link the shaders so they are ready to be used within our program. In order to use our shaders we need a handle to the shader and … Continue reading Compile and Link Shaders
vertex shader
Writing Simple Shader to Display Colored Quad
This post continues where the "Setting Up Xcode OpenGL Template and Creating Game Loop Class" in the series left off Before we begin to display our quad on the device we need to write a vertex shader and fragment shader. For this post we will begin by writing a simple vertex shader that accepts the … Continue reading Writing Simple Shader to Display Colored Quad