As a game developer, I'm always intrigued by how other people do things and what solutions have been developed to some problem. As well as the big ones, many smaller engines are being worked on and I find myself downloading repositories, compiling, tinkering and marveling at what's available. This is a non-exhaustive list of game engines whose source code you can freely inspect, compile, run and learn from.
NB: When I say game engine I am referring to a conglomerate of technologies that generally has an editor, a scene description, input/output, etc. If the scope is more limited we would be talking about a rendering or a physics engine.
NB2: Notice I say public source, and not open or free or anything that suggests that you can arbitrarily make use of the code. Every entry in the list has its own licensing terms, commercial options and/or conditions that you need to abide by.
Engines that are being developed by teams of individuals, generally are well established and have commercial products behind them.
Engines that are being developed generally by a single individual or at most a handful. Some are commercial products, others are often either experimental or toy pieces of tech.
These are only the graphics part of an engine but mature enough and well developed that their code is worthwhile to learn from.
Engine | Source | |
---|---|---|
Diligent Engine | https://github.com/DiligentGraphics/DiligentEngine | |
bgfx | https://github.com/bkaradzic/bgfx | |
Ogre 3D Next | https://github.com/OGRECave/ogre-next | |
Methane Kit | https://github.com/egorodet/MethaneKit | |
Magnum | https://github.com/mosra/magnum | |
Vultaik | https://github.com/FaberSanZ/Vultaik | |
Veldrid | https://github.com/mellinoe/veldrid |