ZFX is a small OpenGL graphics library written in C++ I made to learn some OpenGL basics. I followed the guides from learnopengl.com but I did not use all the same libraries or make the examples exactly the same.
- FreeType font rendering
- Basic lighting
- Framebuffers
- MSAA
- Loading OBJ models via tinyobjloader
- Instancing
A simple demo application (zfx_demo) is included.
Make sure the following libraries are installed:
- SDL2
- SDL2_Image
- GLEW
- GLM
- FreeType2
- OpenGL
sudo pacman -S --needed base-devel cmake glew glm freetype2 sdl3 sdl2-compat sdl2_imagegit clone https://github.com/zirkoni/ZFX.git
cd ZFX
makeThis will compile the demo program. To run it:
./build/Demo/zfx_demoYou can also clean the project:
make clean




