Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenGLES2.0 Unknown error while drawing billboard with an element buffer
#2
Hi Joachim

there's some code we can't seehere but I can see one thing wrong...if your drawing a billboard, from an element list, you mybe don't have 6 vertices, you have 4? though my examples don't remove the repeats.

Also you need to make sure you bind the array and the element buffers. you seem to be unbinding them after you set them up.

let me know if this gets you further?
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's 



Reply


Messages In This Thread
RE: OpenGLES2.0 Unknown error while drawing billboard with an element buffer - by Brian Beuken - 03-06-2019, 03:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)