Spartan Engine

强调实时尖端解决方案的游戏引擎。「A game engine with an emphasis on real-time cutting-edge solutions」

Github stars Tracking Chart

Spartan Engine

For questions, suggestions, help and any kind of general discussion join the discord server.

Embracing the open source ethos and respecting the MIT license is greatly appreciated. This means that you can copy all the code you want as long as you include a copy of the original license.

Download

Platform, API, Status, Quality, Binaries, :+1:
:-:, :-:, :-:, :-:, :-:, :-:, , , Build status, Codacy Badge, Download,
, , Build status, Experimental, Download,

Media




Features (v0.3)

  • 10+ font file formats support (FreeType)
  • 20+ audio file formats support (FMOD)
  • 30+ image file formats support (FreeImage)
  • 40+ model file formats support (Assimp)
  • Deferred rendering with transparency.
  • Vulkan and DirectX 11.
  • Bloom (Based on a study of Resident Evil 2's RE Engine)
  • Custom mip chain generation (Higher texture fidelity using Lanczos3 scaling)
  • Lights (Directional, point and spot lights)
  • Shadows (Cascaded and omnidirectional shadow mapping with vogel filtering)
  • Font rendering
  • Frustum culling
  • Per-Pixel motion blur
  • Physically based rendering
  • Post-process effects (Tone-Mapping, FXAA, Sharpening, Dithering, Chromatic aberration etc.)
  • SSAO (Screen space ambient occlusion)
  • SSR (Screen space reflections)
  • SSS (Screen space shadows)
  • TAA (Temporal anti-aliasing based on Uncharted 4)
  • Physics (Rigid bodies, Constraints, Colliders)
  • Entity-component system
  • Event system
  • Input (Keyboard, Mouse, Xbox controller)
  • Debug rendering (Transform gizmo, scene grid, bounding boxes, colliders, raycasts, g-buffer visualization etc)
  • Thread pool
  • Engine rendered platform agnostic editor
  • Profiling (CPU & GPU)
  • C/C++ (Using AngelScript)
  • XML files
  • Windows 10 and a modern/dedicated GPU (The target is high-end machines, old setups or mobile devices are not officially supported)
  • Easy to build (Single click project generation which includes editor and runtime)

Roadmap

v0.31 (WIP)

Feature, Completion, Notes
:-, :-, :-
Volumetric Lighting, 100%, -
Screen space contact shadows, 100%, -
Parallax Mapping, 100%, -
Shader Editor, 100%, Real-time shader editing tool.
Shadows, 98%, Enable point & spot light shadows.
Vulkan, 90%, Don't port it, re-architect the engine instead.

v0.32
  • C# scripting (Replace AngelScript).
v0.33
  • Ray traced shadows.
  • Ray traced reflections.
v0.34
  • DirectX 12.
v0.35
  • Skeletal Animation.
v0.36
  • Eye Adaptation.
  • Depth-of-field (Based on Doom approach).
  • Subsurface Scattering.
Future
  • Atmospheric Scattering.
  • Dynamic resolution scaling.
  • Global Illumination.
  • Export on Windows.
  • UI components.
  • Make editor more stylish.

Documentation

Dependencies

License

  • Licensed under the MIT license, see LICENSE.txt for details.

Main metrics

Overview
Name With OwnerPanosK92/SpartanEngine
Primary LanguageC++
Program languageHLSL (Language Count: 7)
Platform
License:MIT License
所有者活动
Created At2016-06-18 03:27:49
Pushed At2025-06-09 18:43:32
Last Commit At2025-06-09 19:39:30
Release Count452
Last Release Name2025.06.09.18.43 (Posted on )
First Release Name2025.01.16.13.21 (Posted on )
用户参与
Stargazers Count2.5k
Watchers Count71
Fork Count208
Commits Count6.3k
Has Issues Enabled
Issues Count97
Issue Open Count19
Pull Requests Count58
Pull Requests Open Count2
Pull Requests Close Count12
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private