feat: move editor to project / add post processing etc
This commit is contained in:
@@ -12,6 +12,9 @@ Destrum is a C++20 Vulkan rendering/game-engine playground. It contains the core
|
||||
* Skeletal animation support
|
||||
* Skybox/cubemap rendering
|
||||
* Asset cooking pipeline for engine and game assets
|
||||
* Editor library: docked viewport, play/pause/stop, undo/redo, click to select, gizmos, asset browser
|
||||
* Stable asset ids (`.meta` files) and material files (`.dmat`)
|
||||
* HDR rendering with exposure and tonemapping (ACES, Khronos PBR Neutral)
|
||||
* CMake-based build setup with third-party dependencies as submodules
|
||||
|
||||
## Repository layout
|
||||
@@ -24,6 +27,8 @@ Destrum is a C++20 Vulkan rendering/game-engine playground. It contains the core
|
||||
│ ├── src/ # Engine implementation
|
||||
│ ├── assets_src/ # Source engine assets
|
||||
│ └── third_party/# Vendored/submodule dependencies
|
||||
├── editor/ # Editor library (destrum::editor), attached to a game at startup
|
||||
├── docs/ # How the engine pieces work
|
||||
├── lightkeeper/ # Demo/game executable using Destrum
|
||||
│ ├── include/
|
||||
│ ├── src/
|
||||
@@ -119,7 +124,7 @@ cmake --install build --config Release
|
||||
|
||||
## Demo app
|
||||
|
||||
`lightkeeper` is the current demo application. It creates an SDL window, initializes the Destrum app, loads assets, sets up a scene, renders meshes, skyboxes, and a skinned animated character.
|
||||
`lightkeeper` is the current demo application. It loads its level from `lightkeeper/assets_src/scenes/main.scene` and starts in the editor. Press F5 to play, or run `lightkeeper --game` to skip the editor. See `docs/Editor.md`.
|
||||
|
||||
## Development notes
|
||||
|
||||
@@ -134,9 +139,11 @@ destrum::destrum
|
||||
Game/demo targets can link against it:
|
||||
|
||||
```cmake
|
||||
target_link_libraries(my_game PRIVATE destrum::destrum)
|
||||
target_link_libraries(my_game PRIVATE destrum::destrum destrum::editor)
|
||||
```
|
||||
|
||||
The editor is optional, a game without it links only `destrum::destrum`.
|
||||
|
||||
## License
|
||||
|
||||
Do what you want dawgs :pray:
|
||||
|
||||
Reference in New Issue
Block a user