PDA

View Full Version : New to graphics! Help! OpenGL shader practice and GLSL - what order to learn these?



numinouscranium
11-07-2017, 07:08 PM
Hello all wonderful openglers,

I have a burning question about the world of opengl and shaders. I have recently learnt about OpenGL and GLSL shaders and would like to deeply understand and master them.
The world of computer graphics however is incredibly huge and trying to do things in a way that makes sense is difficult

...as in simultaneously trying to manage the practice of maths and opengl and shaders all together.

I have an ok understanding of c++ and would like to push it further by learning opengl.

My dilemma is this...
I have seen the incredible art that shaders produce and would like to replicate it - so as to learn glsl and fragment applications completely but I also want to learn opengl at the same. I know that openl is essentially the engine on which glsl shaders run on but I wish to know the best method of studying these two. Should I simultaneously learn opengl, alongside shaders - building up the graphics pipeline from examples in books and online WHILE I practice and master fragment shader art.

OR do you suggest that I learn the opengl pipeline first and when I have learnt that - focus on the shaders. It seems books like "book of shaders" solely focus on the fragment shaders but I feel there is much more to explore in the world of opengl based art that it's not just enough to learn fragment shaders - there are amazing works from vertex shaders too.

Please could you give me your opinions and advice, thank you, I am a newbie creative coder baby in this huge world and would like to have some ideas on how to proceed!

Thank you so much,
I hope I have made myself clear
:D

OceanJeff40
11-09-2017, 08:50 PM
I am just beginning myself, and from my experience, learning vertex shaders and fragment shaders are pretty much necessary to start programming at all in opengl, so might as well pick those up first.

here's a great website, for intermediate to advanced shader stuff:

http://www.shadertoy.com

I have started a youtube channel devoted to exploring my learning experiences with opengl, and the main website that's helped me get started is here:

http://www.learnopengl.com

and here's a shameless plug for my youtube channel:

https://www.youtube.com/channel/UCzx8alrxVELz5h1dfCdkdfg?view_as=subscriber

I really am excited about shaders, because they are very similar to C programming, and they seem to be great. One video in particular, that I kind of jumped into fragment shaders is this one from my channel:

https://www.youtube.com/watch?v=cf5yrrGD33k

I hope some of this helps point you in the right direction.

Write back, thanks,

Jeff