Android OpenGL ES 2.0 Dynamic Lighting (and OBJ Parser/Loader

I’ve started porting my little 3D real-time engine to Android.
I like to keep the code as portable as possible so I tend to reduce at minum the need of libraries.
I only had to modify how I upload vertex data to the GPU because OpenGL ES 2.0 doesn’t support Vertex Array Object (VAO).
And of course I had to rewrite the shaders in GLSL 1.20 (OpenGL ES 2.0 compatible).
Here’s a simple dynamic lighting test using diffuse lighting:

This entry was posted in Android.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s