Support me!
If you enjoy these webpages and you want to show your gratitude, feel free to support me in anyway!
Like Me On Facebook! Megabyte Softworks Facebook
Like Me On Facebook! Megabyte Softworks Patreon
Donate $1
Donate $2
Donate $5
Donate $10
Donate Custom Amount
23.09.2018
Third Tutorial - Adding Colors - added!

I have finally added third tutorial today! This one is about adding colors to our scene using shaders . You can get it by cloning / pulling the latest version of my tutorials repository here:

Megabyte Softworks OpenGL4 Tutorial Series Repository

Article is soon to be written, but I am in the middle of writing article to the second tutorial, that one is super long .

15.09.2018
Article added!
After like half of a year, I am reporting myself I have added full article to the first OpenGL4 tutorial and I am already writing the second one! Have a look here:

001.) Creating OpenGL4 Window

Took me again forever to do something, but I think I have a pretty good excuse - I am going to get married in October and my life last half year has been extremely busy . But I really want to write those tutorials, I have so many ideas and so few time unfortunately.

Anyway, next week, there should be an article to the second tutorial and third tutorial (probably without article), so stay tuned !
24.03.2018
Second OpenGL4 Tutorial added!
I have added second tutorial to my OpenGL 4 series! You can check it out here :

OpenGL4 Tutorial Series

This one is about creating our first shader and shader program, and rendering the first quad and triangle using them sml. As usual, tutorials can be download by cloning / pulling my OpenGL4 tutorials Github repository. The VS2017 solution should compile out of the box, but one must also clone submodules - I have added glm library as submodule.

Unfortunately I haven't written the article yet, but I should write an article for first and second tutorial during next holiday week . There I will explain everything in detail, even these git submodules, I promise .
05.03.2018
OpenGL4 Tutorial Series added!
So as promised, I have finally started working on the new OpenGL4 tutorial series, that's brand new . You can have a look at it here:

Megabyte Softworks OpenGL4 Tutorial Series Repository
18.02.2018
New Webpage!
Hello guys,

I have updated my webpage radically . Old one was really not very nice, not very beautiful, this one should be more appealing to the eye, I also have it the source code in my personal git, so the updating should be easier .

Generally, I have decided to re-evaluate what I've been doing in the last years, and I came to conclusion, that I will discontinue writing those OpenGL 3.3 tutorials, and rather I will begin writing a brand new OpenGL 4 series, going again step by step, also explaining all the fundamentals and so on. Old tutorials have many mistakes in it and I really want to start writing on a "green meadow".

Temporarily, I have disabled commenting, because it was lately full of spam, and I will upgraded discussion on my webpage, either using Disqus, or with Facebook Social Plugin.

I still preserved my old webpage, one can find it here:

http://old.mbsoftworks.sk

So stay tuned and in the next days / weeks, new content should come and the webpage should keep getting better and better .
19.02.2017
13th and 14th tutorial added!
Finally!

I have overcome my laziness, found some time and because I had free weekend with nothing to do, I reworked another two tutorials. Hopefully I will utilize this good feeling that I have now . You can find them in the git repo, as usual:

Megabyte Softworks OpenGL 4 Tutorials GitHub Repo

My plan is to really rework / review all of these tutorials, because there are many many errors and inconsistencies there and it's not easy to review everything together with articles (eats up lots of time), but I will try. I look forward to the day I write something new .

I am also playing last half year with Unity engine and I am creating one testing 2D game called Super Soldier, that I will publish here later .
04.01.2017
Happy New Year!
Finally I am back in work after holidays, so I want to wish my readers all the best in the new year .

This weekend I will have 3 free days, so at least one tutorial will be remade with SDL, I must do something, I am really lazy . Actually, if I have free time, I started learning Unity engine some time ago and I really like it, possibly I will do some tutorials or maybe a complete game how to do it.
06.10.2016
12th Tutorial Added
Hello,

I added 12th tutorial - Fog Outside - to my Git Repository.

Don't forget to set working directory in Visual Studio to "$(SolutionDir)bin\", if you want to run any of the tutorials directly from Visual Studio.

Finally, my probation period at new workplace is over which means I will have vacation days. Hopefully this will result in NEW tutorials, rather than just remaking old ones. But I would be really glad if I had all of them in VS2015, so that you guys can really easily download and build them . So stay tuned guys for more updates!
07.08.2016
Tutorial 09, 10 and 11 added!
Hello,

I added another 3 tutorials to my new GitHub repository - 09th, 10th and 11th . Check it out here as always:

Megabyte Softworks OpenGL 4 Tutorials GitHub Repo

Don't forget to set working directory in Visual Studio to "$(SolutionDir)bin\", if you want to run any of the tutorials directly from Visual Studio.

I have started working at new place and by the end of September, my trial period will be over. The new job seems to be a lot better than the previous one and I hope it will give me less stress and more time to really do something about these tutorials, it's been almost a year that I added one and that really makes me feel bad :/
16.06.2016
Tutorial 07 and 08 added!
Hello,

I added another 2 tutorials today, namely 07th and 08th to my GitHub repo . Check it out here as always:

Megabyte Softworks OpenGL 4 Tutorials GitHub Repo

Don't forget to set working directory in Visual Studio to "$(SolutionDir)bin\", if you want to run any of the tutorials directly from Visual Studio.

I really want to finish these conversions ASAP so that I can start making new tutorials and I am thinking of making Vulkan stuff, so check this website or like my facebook website .
06.06.2016
Up to 6th Tutorial Converted
Hey, I just added another 3 tutorials to the new github repository:

Megabyte Softworks OpenGL 4 Tutorials GitHub Repo

So now there are first 6 tutorials. I had to add FreeImage library, but I just added library and dll, no compiling this time like I did with SDL and glew, but for you it doesn't matter anyway, because you just download the solution and press Build All and it will (should ) work .

There is still a lot of work to be done before I convert all 29 tutorials, but I really want to take care and also repair many many reported mistakes in these tutorials reported throughout the years. Then I want to add that anniversary 30th tutorial and then start porting them to Linux, so watch closely .
25.05.2016
An Update! Is this even real life? :D
Wow, an update! From me! After such a long time

Well, I've been trying to dedicate some more time for tutorials and stuff, but I had really difficult times at my workplace, I mean there was always so much stuff to do and it led me to the change of my job after 6 years! And when you come home really late, you are tired and you really are not that eager to work more by creating tutorials. I pretty much hope that the new job, which I start in the month will be a lot better.

This week I at least started to re-work my old tutorials, as many things have changed meanwhile. I decided, that I will be keeping two version of my tutorials, one using SDL library and one using GLFW, because they are multi-platform and better than my pure Windows programming. I created a GitHub repository for that purpose and for now, I started with porting first three tutorials to SDL. So far there is only a Visual Studio 2015 project and I included both dependencies required - GLEW and SDL. You should simply clone or download the repository and the compilation will go smoothly. You can download it all here.

Megabyte Softworks OpenGL 4 Tutorials GitHub Repo

Also the code in the tutorials is re-used, like shaders, windows, also textures etc., because whenever I find a mistake in one of my tutorials, I need to change it in every single one, which is not nice. In the next days I will be commiting stuff to this repository, so pay attention to my website and I will keep you all informed.
18.01.2016
2 Months And Update :)
After 2 months, I am reporting myself again .

I have been working on some personal programming stuff and not much on tutorials these 2 months plus there have been hoilidays and new year and so on, but now I finally seem to get some free time so I am planning to create 30th tutorial - this one is going to be about Motion Blur.

After this tutorial, I will rework some all my tutorials and I will add the same version of them using probably SDL for sure and probably GLFW, so that you can choose tutorial with your favorite lib .

So stay tuned and soon I will report again!
17.11.2015
Article to 29th tutorial added
I made it! I wrote an article to the 29.) Terrain Pt.2 - Waving Grass! Go and check it out!

I hope you forgive me not writing these tutorial so often. I would like to, but there's so little time! Maybe there will come a day, where time won't be a problem anymore, but not today .

I also made a decision, that from next tutorial, I will stick to using some frameworks, either SDL or GLFW, because this pure Win32 approach is really difficult, especially for newcomers coders. So that from further tutorials, you won't need to read lots of totally graphics unrelated code .

And the next tutorial I will probably make will be Bullet Physics tutorial. I made my project called Physicsified long time ago and I promised to explain the stuff once (the code there is really a mess, being written ad-hoc). I haven't done it yet and I think that the time has come! So you can expect some interesting stuff coming .
13.10.2015
29th Tutorial Up
Finally! I finished my tutorial about covering terrain with a grass! As always, it took me longer, because I've not been that stabilized last few weeks, been going to business trips and stuff like that.

Anyway, the 29.) Terrain Pt.2 - Waving Grass is here, so check it out and hopefully you will enjoy it .

I will add corresponding article hopefully ASAP, but this one is going to be pretty long, as there is so much stuff to explain .
16.09.2015
Next Tutorial
Hi guys,

next tutorial is being finished (really, it is ) and it is about rendering a nice fields of grass over the terrain. I hope you will like it, I should really upload it during next weekend
12.08.2015
Just an update
A small update telling what is going on - I have started working on another tutorial, which will be pretty interesting, but I won't reveal the topic yet :P I will reveal it after I return from vacation next week .
14.07.2015
Article to 28th tutorial added
Hello,

Today I uploaded article to 28th tutorial - 28.) Fonts Pt. 2 - Upgraded, so enjoy .

If you have some questions, the best way to commmunicate with me is via Facebook page (almost instant reply) and e-mail (within few hours). I will probably upgrade my webpage commentaries to use Facebook Social Plugin, my old simple PHP comment system really doesn't keep the pace with any new technologies .
03.07.2015
Some news
No I didn't forget about you guys, I just have some work overload at my workplace, which kinda blocks me from working on this. But slowly but steady it's getting over and at most next week these deadline are going to be over, so I can finally finish older articles and repair some stuff.

Thank you all for still reading this not so frequently updated webpage !
09.06.2015
28th Tutorial Online!
Hello,

Today I uploaded 28th tutorial - 28.) Fonts Pt. 2 - Upgraded, which is an upgrade of 9th tutorial about freetype fonts. New tutorial runs faster, is more efficient and also supports Unicode characters, so you can print all those special characters in your language .

Article is partially written, I will try to finish it in the next few days .