Replies: 1 comment
-
|
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. |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions