Replies: 3 comments
|
Raylib's rlgl layer doesn't seem to properly support EBO indexed rendering, even though the functions exist. You could try vertex arrays with duplicated vertices (to draw the square as two separate triangles) instead of EBOs. |
0 replies
|
I understand that this is a bit late but turn the indices into unsigned short |
0 replies
|
I can't seem to get |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone,
I'm trying to work with OpenGL through raylib, but whenever I use an EBO it doesn't work at all. For example, I wrote a small test based on the tutorial from https://learnopengl.com/
I'm trying to draw a square made of two triangles indexed with an EBO, but nothing shows up.
I've included the code below.
Does anyone have an idea why the square isn’t rendering?
All reactions