OpenGL C++ Drawing First Triangle Ep. 3

preview_player
Показать описание
#OpenG #3D #Game

Hello guys this is the third episode of our OpenGL series and in this video, we will learn how to draw a colored triangle in OpenGL using custom created vertex and fragment shaders. we will also see how to create vertex buffer on the GPU and send data to it via ''Attribut pointer" and much more.

Thank you for subscribing.

Рекомендации по теме
Комментарии
Автор

Question: Why does version 3.3 not display the triangle, but switching it to 3.1 does? Is it because you need a VAO?

itsyourenotyour
Автор

thx for watching!! leave a comment and thx for subscribing

Madsycode
Автор

Hi there, thanks for the amazing content, quick question: Say you are going to create a box and you want that box to be dynamically moved by a ribid body engine, would you draw that box as GL_STATIC_DRAW? Or do you have to draw it as GL_STREAM_DRAW? Thanks!

hernanllano