I’m just starting to learn OpenGL ES2 for Android, and have come across a weird problem where sometimes a weird jut will be rendered from my objects (see pic). This doesn’t always happen, which is strange, so I’m wondering if anyone has any experience with this sort of thing and how to fix it.
Share
The problem here was that I was calling GLES20.glDrawArrays(type, first, count) with an incorrect count. Setting the variable correctly fixed it.