SpartanEngine

SpartanEngine

实时渲染技术创新的开源平台

SpartanEngine是一个专注实时渲染研究的开源游戏引擎项目。它集成了Vulkan渲染器、物理模拟和多线程等先进技术,为开发者提供了探索和创新的平台。该项目拥有活跃的社区,提供丰富的学习资源和行业交流机会。尽管不适用于商业开发,SpartanEngine在推动游戏引擎技术进步方面具有重要价值。

Spartan Engine游戏引擎开源项目实时渲染社区贡献Github
<img align="center" padding="2" src="https://raw.githubusercontent.com/PanosK92/SpartanEngine/master/data/textures/banner.bmp"/> <p>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.</p>
  • <img align="left" width="32" src="https://i.pinimg.com/736x/99/65/5e/99655e9fe24eb0a7ea38de683cedb735.jpg"/>For occasional updates regarding the project's development, you can follow me on <a href="https://twitter.com/panoskarabelas1?ref_src=twsrc%5Etfw">X</a>.

  • <img align="left" width="32" height="32" src="https://www.freeiconspng.com/thumbs/discord-icon/discord-icon-7.png">For a community like no other, join our group of 400+ members on discord.

  • <img align="left" width="32" height="32" src="https://www.freeiconspng.com/uploads/git-github-hub-icon-25.png">For issues and anything directly related to the project, feel free to open an issue.

  • <img align="left" width="32" height="32" src="https://cdn3d.iconscout.com/3d/premium/thumb/ai-5143193-4312366.png?f=webp">My AI replica is always around, click here for live assistance.

  • <img align="left" width="32" height="32" src="https://i0.wp.com/opensource.org/wp-content/uploads/2023/01/cropped-cropped-OSI_Horizontal_Logo_0-e1674081292667.png">Please adhere to the <a href="https://en.wikipedia.org/wiki/MIT_License">MIT license</a>. You're free to copy the code, provided you include the original license.

Status

build_status Discord

Media

Video: Livestream of FSR 2 integrationVideo: The engine and the community
Image1Image2

Worlds

<img src="https://raw.githubusercontent.com/PanosK92/SpartanEngine/master/.github/images/world_forest.png"/> <img align="left" width="450" src="https://raw.githubusercontent.com/PanosK92/SpartanEngine/master/.github/images/world_selection_4.png"/>

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
<br clear="left"/>

SponzaForest
<img src="https://raw.githubusercontent.com/PanosK92/SpartanEngine/master/.github/images/world_sponza.png"/><br>The Sponza building, found in Dubrovnik, is showcased here with a true-to-life scale.<img src="https://raw.githubusercontent.com/PanosK92/SpartanEngine/master/.github/images/world_forest.png"/><br>A height map-generated forest featuring water bodies amidst tens of thousands of trees and plants, all set in a walkable terrain.
CarDoom
<img src="https://raw.githubusercontent.com/PanosK92/SpartanEngine/master/.github/images/world_car.png"/><br>A drivable car implemented with a highly realistic tire friction formula, simulation of gearbox, anti-roll bar, and more<img src="https://raw.githubusercontent.com/PanosK92/SpartanEngine/master/.github/images/world_doom.png"/><br>This is a simple scene with the soundtrack from E1M1
BistroMinecraft
<img src="https://raw.githubusercontent.com/PanosK92/SpartanEngine/master/.github/images/world_bistro.jpg"/><br>Amazon Lumberyard Bistro<img src="https://raw.githubusercontent.com/PanosK92/SpartanEngine/master/.github/images/world_minecraft.jpg"/><br>A good old minecraft world

Features

Rendering

  • 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.

General

  • 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.

Wiki

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.

Interesting facts

  • 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.

Use cases

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.

  • Godot uses Spartan's TAA, see here
  • Jesse Guerrero, a contributor, wrote a book on beginning programming, showcasing Spartan's code, Discord community and the leadership within it.

编辑推荐精选

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
商汤小浣熊

商汤小浣熊

最强AI数据分析助手

小浣熊家族Raccoon,您的AI智能助手,致力于通过先进的人工智能技术,为用户提供高效、便捷的智能服务。无论是日常咨询还是专业问题解答,小浣熊都能以快速、准确的响应满足您的需求,让您的生活更加智能便捷。

imini AI

imini AI

像人一样思考的AI智能体

imini 是一款超级AI智能体,能根据人类指令,自主思考、自主完成、并且交付结果的AI智能体。

Keevx

Keevx

AI数字人视频创作平台

Keevx 一款开箱即用的AI数字人视频创作平台,广泛适用于电商广告、企业培训与社媒宣传,让全球企业与个人创作者无需拍摄剪辑,就能快速生成多语言、高质量的专业视频。

即梦AI

即梦AI

一站式AI创作平台

提供 AI 驱动的图片、视频生成及数字人等功能,助力创意创作

扣子-AI办公

扣子-AI办公

AI办公助手,复杂任务高效处理

AI办公助手,复杂任务高效处理。办公效率低?扣子空间AI助手支持播客生成、PPT制作、网页开发及报告写作,覆盖科研、商业、舆情等领域的专家Agent 7x24小时响应,生活工作无缝切换,提升50%效率!

下拉加载更多