OpenGL tests
This repository is mainly for learning modern OpenGL.
This time I chose GLFW for windowing and events instead of my usual SDL2 just for fun and learning, in the future I will be using SDL2 with GL anyway, but this is no issue
Only GLFW, GLEW and assimp needs to be installed to build this, then use make
For MSYS2 using mingw64:
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-glfw
pacman -S mingw-w64-x86_64-glew
pacman -S mingw-w64-x86_64-assimp
To run:
./configure.sh
./build.sh
./run.sh
- CMake - For building
- OpenGL - Rendering API
- GLFW - Windowing and input events
- GLEW - GL Extension loading library
- GLM - OpenGL Mathematics Library for vector and matrix operations
- stb_image - For texture loading
- assimp - For 3D model loading(waveform for now)
- ImGui - For UI
- Add attenuation to spot lights
- Implement proper UV mapping for 3D Models
- Implement sprite class, which possibly uses batch renderer
- Better renderer, indexed and non indexed draws, batching
- Reflections and refractions are upside down