mirror of
https://github.com/InstanceBrick/nightcap.git
synced 2026-10-23 16:01:04 +02:00
9a1ccbb5cebea7bb578bfb198d2a3246734e6a40
perf(runtime, asset, jni): lock-free JNI resolution, in-memory ETC1 transcode caching, and spin guard optimization (#89)
Mocktail VR
Experimental VR support for Mocktail. Linux x86_64, WiVRn or SteamVR/ALVR.
Build
git clone --branch vr --recurse-submodules https://github.com/komaruworld/mocktail.git
cd mocktail
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DMOCKTAIL_ENABLE_VR=ON
cmake --build build -j4
Build dependencies are listed in the main README.
Run
Start WiVRn or SteamVR/ALVR and connect your headset first.
./build/mocktail --vr
The runtime is detected automatically. To pick one manually:
MOCKTAIL_VR_RUNTIME=wivrn ./build/mocktail --vr
# or
MOCKTAIL_VR_RUNTIME=alvr MOCKTAIL_GRAPHICS_BACKEND=direct-vulkan ./build/mocktail --vr
If you previously set XR_RUNTIME_JSON, unset it before switching runtimes.
Use --no-vr for desktop mode.
Description
GitHub pull mirror of InstanceBrick/nightcap. GitHub repository ID: 1422594800.
https://github.com/InstanceBrick/nightcap
Readme
Apache-2.0
23 MiB
0 Stars
1 Watchers
0 Forks
Releases
1
Languages
C++
83.5%
Shell
6.1%
Python
5.1%
C
2.9%
CMake
1.4%
Other
0.8%