An OpenXR API Layer to mirror what you see in VR to OBS. (Currently DX11 support only)
OpenXR Layer API template was used as the basis for this and can be found here: https://github.com/mbucchia/OpenXR-Layer-Template
Note: For smooth recording in OBS run as Admin: https://obsproject.com/forum/threads/obs-studio-24-0-3-gpu-priority-fix-testing.111669/
Get the latest release from the releases section on the right.
Extract the files to a folder in Program Files e.g. C:\Program Files\OpenXR-OBSMirror\
You may need to unblock the files by right click > properties > check unblock
If you have isntalled a previous version you should uninstall that first.
To install the OpenXR Layer right click on Install-Layer.ps1 and select "Run with PowerShell"
To uninstall OpenXR Layer right click on Uninstall-Layer.ps1 and select "Run with PowerShell"
Copy the directories data and obs-plugins from the OBS_Plugin dir to your OBS install dir e.g. C:\Program Files\obs-studio\
The plugin should appear in the OBS sources list: