Pyre is a lightweight graphics engine built with OpenGL, GLFW, GLAD, and GLM, inspired by the concepts and techniques taught in the LearnOpenGL book.
It aims to provide a clear, modular, and educational implementation of modern rendering techniques, making it a great project for learning and experimenting with real-time graphics.
- Core Rendering: Built on modern OpenGL with GLFW for window/input handling, GLAD for function loading, and GLM for math operations.
- Lighting System: Supports Phong lighting with ambient, diffuse, and specular components.
- Textures: Implements diffuse mapping for realistic surface rendering.
- Extensible Architecture: Designed for continuous development and expansion (e.g., normal mapping, PBR, shadow mapping).
- Educational: Built step by step following LearnOpenGL, making the codebase beginner-friendly for anyone diving into graphics programming.
Clone the repository:
git clone https://github.com/Open-Source-Chandigarh/pyre.git
cd pyreOpen the project in Visual Studio:
Double-click the Pyre.sln file.
Select Build > Build Solution or press Ctrl+Shift+B.
Make sure the configuration is set to Debug or Release as needed.
Run the main.cpp from within Visual Studio (press F5 to start debugging or Ctrl+F5 to run without debugging).
A demo scene will run more scenes will be added as development continues.
Contributions, bug reports, and suggestions are welcome! If you’d like to contribute, please read the CONTRIBUTING.md.
This project is being developed alongside the LearnOpenGL guide, serving as a practical, code-based implementation of its concepts.
LearnOpenGL by Joey de Vries – The primary resource inspiring this engine.
OpenGL, GLFW, GLAD, GLM – Core libraries powering the engine.
This project is licensed under the MIT License – see the LICENSE file for details.