Learn OpenGL ES

Learn how to develop mobile graphics using OpenGL ES 2

Tag: vertex shader

Android Lesson Four: Introducing Basic Texturing

This is the fourth tutorial in our Android series. In this lesson, we’re going to add to what we learned in lesson three and learn how to add texturing.We’ll look at how to read an image from the application resources, load this image into OpenGL ES, and display it on the screen. Follow along with me and … Continue reading Android Lesson Four: Introducing Basic Texturing»

WebGL Lesson One: Getting Started

This is the first tutorial for learning OpenGL ES 2 on the web, using WebGL. In this lesson, we’ll look at how to create a basic WebGL instance and display stuff to the screen, as well as what you need in order to view WebGL in your browser. There will also be an introduction to … Continue reading WebGL Lesson One: Getting Started»

Android Lesson Three: Moving to Per-Fragment Lighting

Welcome to the the third tutorial for Android! In this lesson, we’re going to take everything we learned in lesson two and learn how to apply the same lighting technique on a per-pixel basis. We will be able to see the difference, even when using standard diffuse lighting with simple cubes. Assumptions and prerequisites Each … Continue reading Android Lesson Three: Moving to Per-Fragment Lighting»

Android Lesson One: Getting Started

This is the first tutorial on using OpenGL ES 2 on Android. In this lesson, we’re going to go over the code step-by-step, and look at how to create an OpenGL ES 2 context and draw to the screen. We’ll also take a look at what shaders are and how they work, as well as … Continue reading Android Lesson One: Getting Started»