|
Title: gl_VertexID and GLES2, Android Post by: PompiPompi on October 30, 2012, 11:38:54 PM It says on the documentation "somewhere" that gl_VertexID is available on GLES1.5 and GLES3.3
However, I am using GLES2 for Android. So is this some sort of extension thing? It's available on GLES1.5 but not GLES2.0? Title: Re: gl_VertexID and GLES2, Android Post by: Polly on October 31, 2012, 12:22:35 AM Looks like you're confusing OpenGL version numbers with ES version numbers ( ES 1.5 and 3.3 don't exist ).
http://www.khronos.org/opengles/sdk/docs/manglsl/xhtml/gl_VertexID.xml You could always pass this value as a vertex attribute yourself though. |