Ember engine is a project that I started in order to dive into Engine/Graphics programming.
Although it lacks in features compared to commercial and other open source solutions, it serves as an excellent base
for learning and experimenting with rendering and engine concepts.
The goal is to extend this into a feature-complete graphics engine, including an editor and the basic tools needed to create a game.
- Windows
- OS X (AArch64)
Only 64-bit targets are supported.
The following libraries are used (and are already included):
- GLFW for managing platform windows.
- OpenGL (4.1) as the main graphics API (may be replaced by a modern API/RHI).
- Premake (v5.0.0-beta2) as a build system.
- Assimp for model loading.
- RapidJSON for JSON file parsing/manipulation.
Precompiled Premake binaries for Windows and OS X are also included.
A Python script is used to interact with Premake and therefore must be present in your system.
If you want to avoid installing it, you can manually run premake and build the project (see generate_project.py
).
- Download/Clone the code/repository.
- Open a terminal and change the working directory to the project root.
- Execute the project generation python script:
python ./generate_project.py
There is also a command to clean the generated solution/projects:
python ./generate_project.py clean
- Custom mathematics library
- Multiple textures (diffuse, normals, etc.)
- Shadows
- Cubemaps
- Model Loading
- Deferred Rendering
- Physically Based Rendering
- Image Based Lighting
- Blinn-Phong
- Multiple world lights
- Order Independent Transparency
- Text Rendering
- Raytracing
- Editor (ImGui)
- The ember engine logo was created by Yiannis Avgoloupis, one of the most talented artists out there.
- This project would not be possible without the constant support and motivation by my friend Panos Karabelas. Panos is also the programmer behind Spartan, one of the biggest open source graphics engines.
The MIT License (MIT)