OpenGL/C++ 3D Tutorial 10 - Vertex and Fragment shaders

preview_player
Показать описание
Support:
- Udemy courses coming soon!

Links:

-C++ Tutorials:
-SFML:
-SFML Sidescroller:
-SFML Open World RPG:
-SFML Simple Games and Apps:
-SFML Games in ONE VIDEO:
-Livestreams:

#gamedeveloper #2dGames #programming
Рекомендации по теме
Комментарии
Автор

To be honest, I've never understood OpenGL until I watch your serie. Great job, thank you so much!

hokhyt
Автор

It's amazing when you watch other youtube videos on OpenGL and you understand it, but then you take a step back for a while, and then when you come back to it, you've forgot a lot but I thought a bit and then remembered nearly everything, the feeling is amazing :D Keep it up!

_daniel.w
Автор

This is hard, had to watch twice, but brilliant, I almost surrendered today, as I finished a long openGL tutorial, and followed along, but didn't understand anything. Linking with you was exhausting aswell since I had no motivation, but now that I've seen it twice, i'm starting to get it!. You are brilliant and so are these videos! Great teacher.

francpujolar
Автор

It would really help troubleshoot stuff faster if we had the source code for each tutorial. Your series is great overall though. Your style is great and you really know how to teach well.

garyphelps
Автор

wow it feels so good when you run it and there is no error

jamieLtaker
Автор

The reason why everything in the opengl api starts with the letters "gl" is because it's a C-api, originally. And C does / did, not support namespaces so back then it was better to set a preword before the function name, anything developed in C++ should rather use namespaces.

valizeth
Автор

If you are receiving the error: version '440' not supported make sure to use the version of opengl that your graphics card supports, which should have been selected in the making a window tutorial.

livinghomunculus
Автор

I'm enjoying your tutorial, just a suggestion: use bigger font size (it would really help your excellent explanation and dedication). Thanks for your tutorial!

AlejandroMoreno-pjtw
Автор

Excellent introduction, learning a lot so far. Thanks!

wagsman
Автор

I was watching the tutorial, and when I had to run it I got these errors:


Vertex shader failed to compile with the following errors:
ERROR: 0:15: error(#172) Too many arguments constructor
ERROR: error(#273) 1 compilation errors. No code generated

Could someone help me with this, I've looked through the code, and I don't see any problems, it might be that there are too many words/characters that the string cannot take in within the vertex file, but I'm not sure.

featherless
Автор

It worked ! I found out that I have two graphic card ! I desactivated the first one because the second one : NVIDIA GeFORCE supports opengl 4.5 ! LOL all this time I was using the poor HD graphics

ziyedhamrouni
Автор

Thank you, it took me a while but I think I understand it a little bit :) thanks!

joelincz
Автор

It said that my shaders could not compile I did it exactly like the tutorial and redid it is there a way to fix this?

difference
Автор

the in_file variable name is getting an error saying "incomplete type is not allowed". it is not creating the variable and i dont know what to do

jamieLtaker
Автор

I use tdm gcc as a compiler... I can't seem to print anything to the command prompt, the window shows up fine but when I 'try to get errors' by changing the glsl file the window just crashes and I don't get any info on the error...

heliumhydride
Автор

I got an error for having two main functions. This was because I forgot to change when creating the fragment shader :)

robertt
Автор

I got an error:
Vertex info

0(9) : error C1013: function "main" is already defined at 0(11)

And I don't know what I did wrong. Would anyone help?

Edit (Solved): I wrote "GLuint fragmentShader = glCreateShader(GL_VERTEX_SHADER);", and it should be "GL_FRAGMENT_SHADER".

miloz
Автор

instead of creating the loadSuccess variable, why not use the preexisting "success" variable?

nathanaelvetters
Автор

How do you get passed the #version is not a preprocessor directive error?

aaronnichols
Автор

Du är ju svensk för fan, hade jag helt missat.




Väldigt bra engelska för att vara svensk, hade gissat på amerikan.

valizeth