LWJGL tutorialon how to create a 3D Java game with OpenGL!\r
\r
This week we learn how to render a model using VAOs and VBOs.\r
\r
Here are the vertices that we used:\r
\r
float[] vertices = { -0.5f, 0.5f, 0f, -0.5f, -0.5f, 0f, 0.5f, -0.5f, 0f, 0.5f, -0.5f, 0f, 0.5f, 0.5f, 0f, -0.5f, 0.5f, 0f\r
};\r
\r
Full code available here: \r
LWJGL Wiki: \r
\r
\r
Support theon Patreon: \r
\r
Facebook Page: \r
Tumblr: \r
Instagram: \r
Twitter: \r
Check out my game on IndieDB:
\r
This week we learn how to render a model using VAOs and VBOs.\r
\r
Here are the vertices that we used:\r
\r
float[] vertices = { -0.5f, 0.5f, 0f, -0.5f, -0.5f, 0f, 0.5f, -0.5f, 0f, 0.5f, -0.5f, 0f, 0.5f, 0.5f, 0f, -0.5f, 0.5f, 0f\r
};\r
\r
Full code available here: \r
LWJGL Wiki: \r
\r
\r
Support theon Patreon: \r
\r
Facebook Page: \r
Tumblr: \r
Instagram: \r
Twitter: \r
Check out my game on IndieDB:
Category
📺
TV