1 Star 0 Fork 1

yu_cao / FlexEngine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Flex Engine

MIT licensed

Flex Engine is a personal game engine I began work on in February 2017. I use it as a playground for learning about real-time technniques. I try to keep master reasonably stable, and therefore update it infrequently. See development for the latest changes.

Notable Features

  • Vulkan and OpenGL backends
  • Signed-distance field font generation & rendering
  • Physically based shading model
  • Image based lighting
  • Screen-space ambient occlusion
  • Stable cascaded shadow mapping
  • Conditional checksum-based shader compilation
  • Scene editor with serialization
  • Profiling tools
  • In-game scripting language

Basic implementation of Cascaded Shadow Mapping

Profiler overlay showing a breakdown the CPU-time of a single frame

Some of the editor windows

Screen-Space Ambient Occlusion (SSAO)

GBuffer (top-left to bottom-right): position, albedo, normal, final image, depth, metallic, AO, roughness

See more screenshots here

Building Flex (Windows-only)

If you want to build Flex Engine on your own system, follow these steps. You an always download the latest release binaries here if that's what you're after.

Requirements:

  • Visual Studio 2015 (or later)
  • GENie

Steps

  1. Recursively clone the repository to get all submodules
  2. Ensure GENie is either on your PATH, or genie.exe is in the scripts/ directory
  3. Run scripts/generate-vs-*-files.bat (this simply runs the command genie vs2015 or genie vs2017)
  4. Open build/FlexEngine.sln
  5. Build and run!

Dependencies

Flex Engine uses the following open-source libraries:

  • Bullet - Collision detection & rigid body simulation
  • FreeType - Font loading
  • glad - OpenGL profile loading
  • glfw - Window creation, input handling
  • glm - Math operations
  • ImGui - User interface
  • OpenAL - Audio loading and playback
  • stb - Image loading
  • cgltf - Mesh loading

License

Flex engine is released as open source under The MIT License. See license.md for details.

Acknowledgements

A huge thank you must be given to the following individuals and organizations for their incredibly useful resources:

Blog

Stay (somewhat) up to date about this project on my blog at ajweeks.com/blog

# The MIT License (MIT) Copyright (c) 2018 AJ Weeks Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

A personal game engine 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/fuck-your-mother/FlexEngine.git
git@gitee.com:fuck-your-mother/FlexEngine.git
fuck-your-mother
FlexEngine
FlexEngine
master

搜索帮助