|
|
Apple-only C++23 graphics and physics engine. Main app uses Metal. Scene/editor code is still mixed between newer Metal work and older Vulkan-era code.
features:
- ECS-style scene and components
- forward PBR rendering
- image-based lighting and skybox
- XPBD rigid body and cloth physics
- Dear ImGui debug UI
- glTF scene loading
- macOS
- iOS
Needs:
- CMake 3.30+
vcpkgslangconPATH
Example:
export VCPKG_ROOT=/path/to/vcpkg
cmake -S . -B build \
-DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" \
-DVCPKG_INSTALLED_DIR="$PWD/build/vcpkg_installed" \
-DVCPKG_TARGET_TRIPLET=arm64-osx
cmake --build build --target ScrapEngine./build/ScrapEngine.app/Contents/MacOS/ScrapEngine \
--ibl path/to/sky.hdr \
path/to/scene.gltfRun --help for the rest of the flags.
src/app/app, scene, components, platform codesrc/gpu/metal/Metal renderer, IBL, presentationsrc/physics/XPBD physicssrc/launcher/launcher and CLIshaders/shader sourcesassets/bundled assets
- This project started from SauceEngine but has been rewritten a lot.
src/editor/and some Vulkan-era files are still in the repo, but they are not the main path right now.
See LICENSE if present.

