项目
在 GitHub 查看
skaarj1989/SupernovaEngine
关于
An experimental game engine.
游戏与模拟器可以做什么
- Entity Component System (EnTT)
- Forward/Deferred Shading PBR + IBL
- Weighted Blended OIT
- Directional lights (w/ CSM)
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Supernova Engine
An experimental game engine.
Screenshots
Platforms
- Windows 10 / Visual Studio 2022
- Ubuntu 22.04 / GCC 13.1.0
Features
- Entity Component System (EnTT)
- Renderer (Vulkan w/ FrameGraph):
- Forward/Deferred Shading PBR + IBL
- Weighted Blended OIT
- Lighting and shadows (Tiled Culling):
- Directional lights (w/ CSM)
- Point lights
- Spot lights
- Decals
- Skinning
- Skybox
- Global Illumination (LPV)
- SSAO
- SSR
- Eye Adaptation
- Bloom
- Tonemapping
- FXAA
- Customizable materials (surface and postprocess)
- Custom mesh format (w/ assimp exporter)
- Physics (Jolt)
- Rigid bodies
- Character controller
- Skeletal animations (ozz-animation)
- Audio (OpenAL Soft)
- Playback/Streaming (.wav, .ogg)
- Lua scripting (sol2)
- Material Editor (imgui w/ imnodes)
Building
Requires CMake 3.26 and vcpkg
> git clone --recurse-submodules https://github.com/skaarj1989/SupernovaEngine.git
> cd SupernovaEngine
> cmake -S . -B build
vcpkg
> git clone https://github.com/microsoft/vcpkg
> ./vcpkg/bootstrap-vcpkg.bat
Add the following environment variables:
VCPKG_ROOT=path_to_vcpkg
VCPKG_DEFAULT_TRIPLET=x64-windows
Install dependencies:
> vcpkg install entt minizip robin-hood-hashing glm spdlog nlohmann-json cereal glslang spirv-cross ktx[vulkan] stb openal-soft libvorbis libogg lua argparse meshoptimizer boost-graph freetype catch2
Linux packages:
> sudo apt install libxcb-util-dev libxcb-icccm4-dev libxcb-ewmh-dev libxcb-xfixes0-dev libxcb-keysyms1-dev libxcb-randr0-dev libx11-xcb-dev
Third-party
- EnTT
- zlib
- robin-hood-hashing
- glm
- spdlog
- nlohmann-json
- cereal
- Vulkan SDK
- glad
- Vulkan Memory Allocator
- glslang
- SPIRV-Cross
- FrameGraph
- KTX-Software
- stb_image
- JoltPhysics
- ozz-animation
- OpenAL Soft
- Vorbis
- Ogg
- Lua
- sol2
- Tracy Profiler
- RenderDoc
- argparse
- assimp
- meshoptimizer
- The Boost Graph Library
- Dear ImGui
- imnodes
- ImGuiColorTextEdit
- ImPlot
- Nuklear
- IconFontCppHeaders
- RmlUi
- Catch2
Lua annotations for Visual Studio Code
- Install Lua Language Server
- Add path to annotations
- File -> Preferences -> Settings Lua.workspace.library -> Add Item
- or run:
InstallAnnotations.bat(requires yq)
Acknowledgements
- PBR Lighting based on: glTF-Sample-Viewer
- Forward vs Deferred vs Forward+ Rendering with DirectX 11
- Light Propagation Volumes
- OpenGL Cascaded Shadow Maps
- Automatic Exposure Using a Luminance Histogram
- Physically Based Bloom
License
MIT
探索相关项目
加载中…