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
Article to the tutorial 025 about transform feedback particle system is up!

It took me forever, but here it is:

025.) Transform Feedback Particle System

Honestly, this is the longest article I have ever written, that's why it took me far longer than I've expected. But here it is, so enjoy .

My next tutorial will definitely be something simpler, so that I don't have to write such long articles .

All the best for the new year 2021!

I would like to wish you all the best for the new year 2021! May your wishes and dreams come true . I hope that this year I will keep on bringing lots of new programming content. I'm pretty satisfied with what I have delivered last year, I hope I will keep similar regularity this year .

In the meantime, I have merged the final / polished version of the 25th tutorial about transform feedback particle system to the master branch. I have also added CMake support for that one.

Tutorial 025 about transform feedback particle system added!

After quite some time, I have managed to finish the 25th tutorial of my OpenGL 4 series . It's about transform feedback and how can it be used to program particle system. Find it here:

025.) Transform Feedback Particle System

It took me a while, but I really put a lot of effort into this one, there are lots of features and things to learn . Article is not done yet as usual, it will be added later. The code is in GitHub (on dev branch), however it's not yet polished properly, I will do so in the coming days .

And to all my fellow readers - I wish you merry and joyful Christmas .

Next tutorial soon!

Next weekend, I will publish next and last tutorial of this year . It's been quite some time since last news, but that's just how it is before Christmas - everything just goes so fast! But I'm not chilling, I've been working a bit on my tutorials and I unified style of documentation and indentation (4 spaces instead of tab) throughout the whole project.

I also plan to update my tutorials to use VS 2019 till the end of the year. And what will come next year? I suppose that Visual Studio 2021 will come out so I will add support for that as well and I hope I can deliver ~10 tutorials next year, I have many ideas in my head, it just takes some time and effort to write a good tutorial .

So stay tuned and check next weekend!

Article to the tutorial 024 about uniform buffer objects has been added!

After (only ) two weeks, I have managed to write an article to my latest tutorial about uniform buffer objects! Check it out:

024.) Uniform Buffer Object

This one is pretty long, but don't get discouraged! It's a very good knowledge useful for your 3D graphics career .

Tutorial 024 about uniform buffer objects added!

One more month has passed and I bring you a very cool tutorial this time! It's about Uniform Buffer Objects . They exist to help us re-use uniform data among several shader programs, so that we have to set them only once and then use when needed. The tutorial can be found here:

024.) Uniform Buffer Object

I hope you'll enjoy it and also learn something new . You can add new point lights with Space key and reset them with 'R' key .

Article is not yet done, but I suppose I should write it until the end of this month .

CMake support finalization

As I had a free day this week, I have finally decided to review and finalize CMake support of my OpenGL4 tutorials. If you pull now the latest changes, the tutorials can now be built using CMake both on Windows and Unix based systems!

I'm not 100% happy with the CMake solution, especially for Windows, but for now it's at least something and most importantly it works, so it's better than nothing . I might still upgrade the CMake build in the future, but at least I wanted to have all tutorials covered.

I have also successfully built the tutorials on my Linux Ubuntu 18.04 virtual machine. I couldn't run them however, but it's because virtual Linux doesn't support OpenGL 4.4 Context. I need to find a machine with Linux natively to try it out. But I guess if they compile without any issues, I really hope they will run too . The documentation and how-tos can be found in my repository.

Megabyte Softworks OpenGL4 Tutorials GitHub Repository

Article to OpenGL4 tutorial 023 added!

So after 3 weeks, I have written the article to my 23rd OpenGL4 tutorial about point lights, you can read it here:

023.) Point Lights

Regarding further tutorials, I have started working on 24th one, topic of which I will reveal soon, so stay tuned .

Tutorial 023 - Point Lights - has been added!

I'm sorry that it took me ~2 months to bring another tutorial, but it's finally out! It's about point lights and you can find here:

023.) Point Lights

It took me a bit longer because I had lots of activities almost every weekend (because it was holiday) and so I did not have many free weekends. Even if I did, I was glad to just be at home and to rest .

As usual, article will be added later .

Article to tutorial 022 added!

Three weeks later, I have added article to the 22nd article of my OpenGL4 series about cylinder and sphere . Check it out below:

022.) Cylinder And Sphere

Next tutorial I have already decided to be about point lights, other topics that will come sooner or later are particle systems, metaballs, keyframe / skeletal animation and much more .

Tutorial 022 - Cylinder And Sphere - has been added!

One more month has passed and I bring you another tutorial. This time it's about generating meshes for further two primitives - cylinder and sphere! You can find the tutorial here:

022.) Cylinder And Sphere

I've put a lot of effort into this one, as I've created a simple solar system in this one . You can play around a lot in this one and you can control many things, see for yourself . I got inspired to do something like this by SpaceX first human flight mission, that took place exactly yesterday (at the time of writing this news), so that's why I created a bit more unusual scenery and environment .

As usual, article will be added later, because writing an article is sometimes even more difficult than writing the code itself .

Article to tutorial 021 finally added!

Finally I have finished writing the article for specular highlight calculation! I have re-used ancient texts from OpenGL3 tutorial series and refined them a bit . Have a look here:

021.) Specular Highlight

Next tutorial is already in progress and will teach you, how can we render cylinder and sphere .

Tutorial 021 about specular highlight added!

After two and half months, I am bringing you another tutorial, this one is about specular highlight! Check it out here:

021.) Specular Highlight

It took me a bit longer than usual, but I was really overwhelmed last months. Anyway I hope you will enjoy it . I will add article a bit later.

Because of the corona virus outbreak, the company I work for has decided to do a two-week complete shutdown as a prevention measure. For me that means I will work on tutorials basically full time now for two weeks, so I plan to finish the support for CMake completely, add support for VS2019 and some minor refactor of older tutorials. I will keep you updated!

Article to tutorial 020 finally added!

Article to the fog tutorial is online, check it out here:

020.) Fog

Took me just a week longer than my estimation (last weekend), but it's quicker than last time! Hey, and also stay tuned for the new tutorial, this time I won't say any timeframe, but soonish .

Tutorial 020 about fog has been added!

So as I promised, I'm delivering another tutorial this weekend. Well, it's already after weekend , but in Slovakia, we do have a prolonged weekend as today is a national holiday, so it still counts, right ?

This one is about how to implement fog. I've just re-used scene from the last time, but added a snowy skybox as it's currently winter . You can find it here:

020.) Fog

As usual, I will write article a bit later, hopefully next weekend .

Wishing all the best for you in 2020!

Dear readers of my webpage,

I just wanted to tell you that you're awesome and wanted to wish you all the best in the new year 2020 !

As regards tutorials, I have almost finished my 20th tutorial and will upload it on the coming weekend, so check again on Sunday or so .

Article to OpenGL4 tutorial 019 about Assimp model loading has been added!

I have finished writing an article for my latest tutorial, you can find at tutorial's page:

019.) Assimp Model Loading

I hope you will enjoy it! I've already started working on next tutorial, topic of which I won't reveal yet .

OpenGL4 Tutorial 19 about loading models using Assimp added!

Hello guys! . So after 6 long weeks, I come with another tutorial! And finally I have implemented reading models using Assimp library. Check it out here:

019.) Assimp Model Loading

It took me a while to finish it, but the problem was adding Assimp to all of this was a bit more difficult then I have expected. At the moment, I haven't done CMake version yet, only this VS2017 version and it seems to work, I'm just not very happy with the way I have solved it, but at least it works (on my machine at least ). One simply has to download prerequisities after cloning repository by launching the added script download_prerequisities.bat (it updates submodules and also downloads pre-built Assimp libraries, as they're quite huge to reside in repository). Soon I will also add CMake version and maybe later I will make a better solution for this VS2017.

Anyway I didn't want to prolong this forever, so enjoy the current version for now at least .

Article to OpenGL4 tutorial 018 has been finally added!

Hello guys! It's been a while since any update and it's because I've been super busy in the summer - there was just lots of events happening that I have attended lately (family visits and 3 weddings) and every weekend I've been travelling to somewhere else, so I wasn't stabilized in order to write an article. But finally, I did it during this weekend and you can find it here :

018.) Heightmap Pt. 3 - Multiple Layers

As mentioned before, my next tutorial will finally be about loading 3D models from files, so stay tuned!

Tutorial 018 about multilayered heightmap has been added!

Another week went by and again I bring something new! This time, it's the last tutorial about heightmaps for a while and it teaches you how to use multiple layers within a heightmap and how to transition smoothly between them! Check it out here:

018.) Heightmap Pt. 3 - Multiple Layers

The article will be written a bit later as usual . My next tutorial will finally be about loading 3D models from files, so stay tuned! I hope I finish article next weekend and then within two weeks new tutorial .

All the best for the upcoming week fellow readers !