Learn OpenGL ES

Learn how to develop mobile graphics using OpenGL ES 2

Category: Android Tutorials

Android Lesson Two: Ambient and Diffuse Lighting

Welcome to the second tutorial for Android. In this lesson, we’re going to learn how to implement Lambertian reflectance using shaders, otherwise known as your standard diffuse lighting. In OpenGL ES 2, we need to implement our own lighting algorithms, so we will learn how the math works and how we can apply it to … Continue reading Android Lesson Two: Ambient and Diffuse 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»