Elheart
Active development

Elheart

A 3D game engine written from scratch in C++, with a deferred OpenGL renderer, an ECS core, Jolt physics, a XAML interface layer, and an editor built on top of it all.

c++opengljoltflecsnoesisguifmodimgui
Videos & screenshots (6)

Working on now: Stylised Art Pass & Optimisation

  1. Sep 2025

    First Triangle

    • GLFW window & OpenGL context
    • Shader compilation pipeline
    • Vertex & index buffers
  2. Oct 2025

    First 3D Object

    • Perspective camera & view matrix
    • Depth buffer
    • First 3D primitive
  3. Oct 2025

    Deferred Rendering Pipeline

    • G-Buffer geometry pass
    • Lighting pass
    • Instanced rendering
    • PBR materials
  4. Jan 2026

    Physics & Asset Pipeline

    • Jolt Physics integration
    • CharacterVirtual controller
    • Model importing
    • Texture upload
    • Built-in primitives
  5. Feb 2026

    ECS Architecture

    • Flecs integration
    • Transform hierarchy
    • Rendering as components
    • Reflection-driven serialisation
  6. Feb 2026

    Audio & Animation

    • FMOD Studio integration
    • Mixer groups
    • Skeletal animation
    • Split mesh pipelines
  7. Feb–Mar 2026

    In-Engine Editor

    • Scene hierarchy
    • Reflection-driven inspector
    • Transform gizmos
    • Asset browser & material shelf
    • Play / pause
    • Separate game and editor builds
  8. Mar–Apr 2026

    Water, Fog & Post-Processing

    • Water surface
    • Buoyancy
    • Underwater rendering
    • Height fog
    • Bloom & colour grading
  9. Mar–May 2026

    NoesisGUI Interface Layer

    • XAML-authored interface
    • Shared render device
    • Main menu & world flow
    • Worldspace labels
    • Input focus arbitration
  10. May 2026

    Asset GUIDs, Virtual Filesystem & Packer

    • Stable GUIDs
    • Virtual filesystem
    • Packer tool
    • Material files
  11. Jun 2026

    Gameplay Systems

    • Data-driven content
    • Inventory, equipment & hotbar
    • Combat
    • Quests & dialogue
    • Navmesh & NPC AI
    • Player state machine
  12. Current

    Stylised Art Pass & Optimisation

    In progress
    • Hand-painted textures
    • Day/night cycle
    • Render scaling & graphics settings
    • Profiling
  13. Next

    Vulkan Backend

    Planned
    • Vulkan device & swapchain
    • Render pass translation
    • Explicit resource management

Elheart started as a graphics renderer, written to find out what engines like Unity are actually doing underneath. It has since grown into a full engine: its own ECS, physics, asset pipeline, UI layer, and an editor to build in.

It is a solo project, written from scratch in C++ and OpenGL. The libraries it leans on are:

  • GLFW for window creation, OpenGL context and input
  • GLAD as the OpenGL function loader
  • GLM for vectors, matrices and quaternions
  • Flecs for the entity-component-system
  • Jolt Physics for rigid bodies and the character controller
  • Recast Navigation for navmesh generation and pathfinding
  • FMOD Studio for spatial audio and mixing
  • NoesisGUI for the in-game interface, authored in XAML
  • Dear ImGui and ImGuizmo for the editor and its viewport gizmos
  • Assimp for model importing
  • stb_image for texture loading