Learn OpenGL ES

Learn how to develop mobile graphics using OpenGL ES 2

How to Embed Webgl into a WordPress Post

Embedding into WordPress This information was originally part of WebGL Lesson One: Getting Started, but I thought it would be more useful if I also broke it out into a post on its own. Embedding WebGL into WordPress can be a little tricky, but if you use the right tags and the HTML editor it … Continue reading How to Embed Webgl into a WordPress Post»

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»

The Project Code Has Moved to Github!

Hi guys, It’s been ages since I last posted an update, I know. I went away during the summer and neglected the site upon coming back, and now that I’m busy with school it’s been harder than ever to find the time to find an update. Excuses, excuses, I know. 😉 In any case, many … Continue reading The Project Code Has Moved to Github!»

Open Source Cross-Platform OpenGL Frameworks for Android

Let’s say you’ve decided to develop the next viral game for Android. You now have a choice: Do you go with a pre-packaged solution, flawed and rough around the edges though it may be, or do you decide to DIY (Do It Yourself) which has the disadvantage of reinventing the wheel and spending more time … Continue reading Open Source Cross-Platform OpenGL Frameworks for Android»

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 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»