During my game development study I became more and more interested in how certain graphical effects are created. Unfortunately, that part wasn’t included in my courses. I’ve already been trying to start with OpenGL / DirextX for two years now, but I always got stuck with some error that I didn’t understand and didn’t know how to look up using Google.
A few weeks ago I finally got the time to try it again and managed to get OpenGL working with C++. So the past weeks I wrote a small render engine to understand OpenGL better and how the render pipeline works in general.
It is currently possible to load an .obj file in the render engine, create a material for this object with a certain diffuse color, specular color and a specular strength. Using a combination of vertex and fragment shaders the shadows and lightning for each model gets calculated.
Find the source of the engine here: github.com/ArcoMul/Rrenderer
And some screenshots of my own demo:
The next points I want to focus on are:
- Movable lights
- Multiple light
- Easy movement of objects.