O'Reilly logo

OpenGL ES 2 for Android by Kevin Brothaler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3Compiling Shaders and Drawing to the Screen

This chapter will continue the work that we started in the last chapter. As our game plan for this chapter, we’ll first load and compile the shaders that we’ve defined, and then we’ll link them together into an OpenGL program. We’ll then be able to use this shader program to draw our air hockey table to the screen.

Let’s open AirHockey1, the project we started in the previous chapter, and pick up from where we left off.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required