LÖVR2LÖVE Bridge
The bridge now supports Shared Memory mode alongside UDP streaming, allowing VR pose data to be transferred instantly between LÖVR and Love2D on the same machine.
Benefits of Shared Memory
- Lower latency: Instant data transfer without network delays.
- More reliable: No packet loss or delays.
- Simpler setup: No IP or port configuration needed on the same PC.
Usage
- Run the LÖVR sender in Shared Memory mode (default).
- Start your Love2D receiver—it will detect shared memory automatically.
- Switch modes with the TAB key: Shared Memory (default, fast, local) or UDP (optional, networked).
UDP Setup Example:
udp:setsockname("*", 12345) -- listen on all interfaces
udp:settimeout(0) -- non-blocking
Launch LÖVR first, then the Love2D game. Stereoscopic rendering works normally for dual-eye VR effects.