• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps OpenGL ES help

Jonathan1

Lurker
I am currently making an app for Android and reducing the amount of memory use is critical.

1. I need to draw a whole bunch of quads, but in OpenGL ES, GL_QUADS does not exist. This means I need to specify 6 vertices, rather than 4, per QUAD. Even with indexing this uses a significant amount of extra memory in my case. Is there anything I can do to not have to use memory for extra vertices? Shaders maybe?

2. I am new to shaders and all examples use both a vertex and fragment shader. I haven't tested anything but I was wondering if it was possible to only use a vertex shader because I dont need to use any fragment shader stuff.
 
Back
Top Bottom