I'm trying to render a basic plane and I'm having a pretty bad time. I render the square ant it draws, but it also seems to draw a giant half-cube on top of it.
Is there any obvious mistake I'm making that might be responsible for this?
I'm trying to render a basic plane and I'm having a pretty bad time. I render the square ant it draws, but it also seems to draw a giant half-cube on top of it.
Is there any obvious mistake I'm making that might be responsible for this?
@frob
Thanks for the advice. I'm very quickly learning that debugging rendering code is very different to other kinds of debugging. I'm working on this for a hobby project, so I'm enjoying the challenge and the smug sense of self-satisfaction that comes with owning your own engine.
I found the bug and believe it or not, it was my own carelessness. Turns out I was passing the wrong number of indices into my "GLES20.glDrawArrays" call.