OpenGL Engine


I am building a graphics engine with OpenGL in C++. It has a few features at the moment (e.g. textured meshes, Lighting, and Post-Processing) and I plan on adding more in the future to further my skills and understanding in C++.

Features

OBJ file loading and serialisation

After a .obj file is loaded in, the data is saved in a binary file so when it is loaded next time it can read the binary file and save loading time.


Rendering textured models

After the models and textures are loaded in, they are rendered with a shader that takes in textures to output the texture colour.


Lighting

I implemented lighting using the phong shading model. Currently I have directional lights implemented but plan to add more light types and shadows.


Post-Processing and Render Targets with HDR

After implementing render targets I am able to calculate higher light values then remap them to 0-1 to create a High Dynamic Range that is adjustable with the exposure level.
I multiple render targets set up so I can render out different textures e.g. a bright light texture to blur and add bloom to the scene.


Source Code


Contact


Send me an email and I will get back to you as soon as possible!

genecollis12@gmail.com