Skip to content

RENDERER: Modern renderer on macOS.#1102

Merged
tcsabina merged 16 commits intoQW-Group:masterfrom
qw-ctf:modern-on-macos
Feb 25, 2026
Merged

RENDERER: Modern renderer on macOS.#1102
tcsabina merged 16 commits intoQW-Group:masterfrom
qw-ctf:modern-on-macos

Conversation

@dsvensson
Copy link
Copy Markdown
Collaborator

@dsvensson dsvensson commented Feb 18, 2026

The main issue of upstream modern renderer not working on macOS was:

  • OpenGL 4.1 core not probed, and macOS only supports 4.1 core, or 2.1 with extensions (basically 3.x isch).
  • Looking for OpenGL extensions that are actually part of core, and thus not found as extensions, can check version in addition to probing for extension.
  • Have to use uniform buffers as storage buffers are not available.
  • Can't use layout(..) in shaders.
  • Minor keyword renames in shaders, some keywords used are really old.
  • No compute shader support.
  • No multidrawindirect support, have to use multiple drawelementsindirect instead.
  • GL functions not properly unloaded between renderer changes.

Don't know what to expect in terms of performance on a MacBook M3, but getting ~2500 FPS in fullscreen on DM4, and ~1500 on Qube so it's good enough. The main benefit is that all the rendering fixes are now available on all supported OSes, such as transparency, lit water etc.

@tcsabina tcsabina merged commit 9f56321 into QW-Group:master Feb 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants