OpenGL C++ Shaders Tutorial

preview_player
Показать описание
In this video I show how to load a simple vertex and fragment shader with C++, OpenGL and Glew.

I wrote a simple Shader util C++ class for loading the shaders.

The project is added to my patreon, you can get it or free:

The Glew and GLFW is not included, please follow the previous tutorials on how to add this to your project.

See my social profiles here

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

I spent no joke 3 MONTHS trying to et shaders to work how i wanted them to and thanks to you it worked

tbmj
Автор

What version of GL do you use because it doesn't worked for me due to GL...

manucousin
Автор

For anyone else having trouble with this try defining the vertices counter clockwise. Wouldn't render on my machine clockwise.

sinfuldebauchery
Автор

if i use fragment shader, do i have to enable(GL_LIGHTING) anymore?

lanchanoinguyen
Автор

I took the tutorial on setting up OpenGL, and managed to do that successfully. However, when I "#include <GL/glew.h>" - I get a fatal error - it cannot find the file. How can I fix this so I can begin the shader tutorial? Thanks.

parkerplatt
Автор

Hey, one short question - is it possible to render more triangles or even "more complex" shapes with that scripts? Nice video otherwise.

MRYachim
Автор

Can you please share complete Opengl playlist ?Not able to find

rashmitadash
Автор

where is the shader util file exactly??

ShayHowardBennett
Автор

"you can get it or free" (in the description)
dont you mean "for free"?
good video!

MrKlopapierLP
Автор

Hi Jay AnAm i love your channel but you make tutorials for a lot of programs so we get less blender or unity videos

abramsanimations
Автор

It's a good tutorial overall, but the fact that you declared a variable named "result" and it's not the result of the function it's declared in really wasted me lots of time.

acreativeprogrammer
welcome to shbcf.ru