Experimental Looking Glass development for Godot 4 (MIT)

Most of this project was written with LLM tools. Codex and similar models generated and edited the code, tests, benchmarks and documentation. I chose the experiments, ran them, and checked the physical display myself. The numbers below come from those runs. When an experiment did not help, that is written down too.

This is experimental development: version 0.1.0-experimental. It is an early Godot 4 light-field project, still changing, with measured results and known gaps.

Repository: GitHub - theromis/godot-looking-glass: Godot 4 light-field integration: GPU view synthesis, quilt rendering, measured experiments and optional engine patches Β· GitHub

What is in the repository:

  • Off-axis cameras in one World3D, 1–48 views.
  • A GPU quilt preview that runs with no Looking Glass attached.
  • Experimental depth reprojection, so fewer real cameras can fill a larger quilt.
  • On macOS Apple Silicon, an experimental native Metal path through Looking Glass Bridge.

The desktop preview runs on Godot 4.5+ with Vulkan. Physical output was tested only on Godot 4.8, native Metal, Apple M4, with Bridge installed separately. Windows and Linux hardware output are not done.

On a connected 1440Γ—2560 panel, a simple scene writes the quilt straight into one persistent Bridge Metal texture. One two-minute run submitted 6640 updates, 55.3 calls per second. That is SDK submission calls, not a confirmed panel refresh rate. I did see stable motion on the display during that run.

A third-person scene on the same panel is playable in this experimental setup. In one measured run, a reduced β€œfast” preset went from about 4.3 to 25.9 Godot frames per second. After the desktop 3D view was suppressed and the display was given priority, quilt submissions sat around 27–30 per second, and the motion looked smoother. Writing the quilt directly into the SDK texture did not beat the worker path on that scene: both stayed near 28.5 calls per second.

Still open in this experiment:

  • Depth synthesis breaks on disocclusions, thin occluders and transparency.
  • Native Metal passes all 16 regression checks only with GODOT_MTL_SYNC_MODE=none. The default barrier mode still fails three image checks.
  • The macOS package is ad-hoc signed, not notarized. A separate preview-only zip has no native binaries.
  • No Unity plugin code and no Bridge runtime are in the repository.

I would like notes from people rendering many cameras in Godot, and from Looking Glass owners who can try another GPU or another panel. The README checklist separates finished experiments from open work.

1 Like