r/GraphicsProgramming • • Mar 22 '21

Rendering 2 shapes from 2 different VBOs

Hey guys,

i am new in openGL

i am trying to render two shapes int the window, with two different Vertex Buffers.

i use glDrawArrays twice, but only one shape appears in the screen

if any can help me, i would be grateful :)

thanks

0 Upvotes

17 comments sorted by

View all comments

Show parent comments

-20

u/leech6666 Mar 22 '21

why are you still here?

11

u/[deleted] Mar 22 '21

No need to get immature. All I’m saying is this question is impossible to answer without a pastebin of your code

-8

u/leech6666 Mar 22 '21

dont worry, i fixed it on my own. bye. have a wonderful day :)