Spartan Engine is a cutting-edge, open-source game engine focused on real-time solutions and research. What began as a portfolio project has evolved into a vibrant hub for learning and innovation. While not designed for commercial game development, it offers a unique space where developers can explore, contribute, and connect. Our thriving Discord community of over 400 members provides networking opportunities with industry professionals, recognition for contributors, and access to extensive learning resources. Join us in pushing the boundaries of game engine technology, whether you're here to learn, innovate, or be part of something extraordinary.
-
For occasional updates regarding the project's development, you can follow me on X.
-
For a community like no other, join our group of 400+ members on discord.
-
For issues and anything directly related to the project, feel free to open an issue.
-
My AI replica is always around, click here for live assistance.
-
Please adhere to the MIT license. You're free to copy the code, provided you include the original license.
Video: Livestream of FSR 2 integration | Video: The engine and the community |
---|---|
![]() |
![]() |
Upon launching the engine, you'll be greeted with a selection of default worlds to load. Each world is physics-enabled, allowing you to walk around, pick objects using your mouse, and even drive a car. These worlds are designed to offer a diverse and enjoyable experience
- Cutting edge Vulkan renderer.
- 128-byte push constant buffer for lightning fast CPU to GPU data transfer.
- On the fly single dispatch GPU-based mip generation for render targets (FidelityFX SPD).
- On the fly compression and mip generation for material textures (FidelityFX Compressonator).
- Fully bindless design (materials, lights, even the samplers).
- Fast dual paraboloid point lights.
- Vulkan (main) and DirectX 12 (wip) backends with universal HLSL shaders.
- Unified deferred rendering with transparency (BSDF with same render path).
- Atmospheric scattering, real-time filtering and image-based lighting.
- Screen space shadows from Bend Studio's Days Gone.
- Screen space global illumination.
- Screen space reflections (FidelityFX SSSR).
- Variable rate shading.
- Dynamic resolution scaling.
- Upscaling (FidelityFX FSR 3.1).
- Temporal anti-aliasing.
- Advanced shadow features with penumbra and colored translucency.
- Physical light units (intensity from lumens and color from kelvin).
- Frustum & occlusion culling (software and hardware hybrid).
- Physically based camera.
- Volumetric fog.
- HDR10 output.
- Post-process effects like fxaa, bloom, motion-blur, depth of field, chromatic aberration etc.
- One-click project generation for easy setup.
- Universal input support, keyboard & mouse, controllers (tested a PS5 controller) and steering wheels.
- Comprehensive physics features.
- CPU & GPU profiling.
- XML support for data handling.
- Thread pool that can consume any workload.
- Entity-component, event systems and most things you'll expect to find in a modern engine.
- Wide file format support: 10+ for fonts, 20+ for audio, 30+ for images, and 40+ for models.
The wiki can answer most of your questions, here are some of it's contents:
Questions can also be answered by my AI replica, Panos.
- This engine started as a way to learn and enrich my portfolio while I was a university student, circa 2014, represeting over a decade of non-stop development.
- It's one of the most rewarding projects in terms of the perks you receive should you become a contributor, more here.
Are you utilizing any components from the Spartan Engine, or has it inspired aspects of your work? If yes, then reach out to me, I'd love to showcase your project.