Book Image

OpenGL ES 3.0 Cookbook

By : Parminder Singh
Book Image

OpenGL ES 3.0 Cookbook

By: Parminder Singh

Overview of this book

<p>"Write once, use anywhere" is truly the power behind OpenGL ES and has made it an embedded industry standard. The library provides cutting-edge, easy-to-use features to build a wide range of applications in the gaming, simulation, augmented-reality, image-processing, and geospatial domains.</p> <p>The book starts by providing you with all the necessary OpenGL ES 3.0 setup guidelines on iOS and Android platforms. You'll go on to master the fundamentals of modern 3D graphics, such as drawing APIs, transformations, buffer objects, the model-view-project analogy, and much more. The book goes on to deal with advanced topics and offers a wide range of recipes on the light shading, real-time rendering techniques with static and procedure textures to create stunning visualizations and runtime effects.</p>
Table of Contents (21 chapters)
OpenGL ES 3.0 Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 1. OpenGL ES 3.0 on Android/iOS

In this chapter, we will cover the following recipes:

  • Programming shaders in OpenGL ES shading language 3.0

  • Loading and compiling a shader program

  • Linking a shader program

  • Checking errors in OpenGL ES 3.0

  • Using the per-vertex attribute to send data to a shader

  • Using uniform variables to send data to a shader

  • Programming OpenGL ES 3.0 Hello World Triangle

  • Using JNI on Android to communicate with C/C++

  • Developing an Android OpenGL ES 3.0 application

  • Developing an iOS OpenGL ES 3.0 application