Skip to content

yquake2/ref_gl4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL 4.6 Renderer Library for Yamagi Quake II

This is an OpenGL 4.6 renderer library for Yamagi Quake II.

Compilation

You'll need:

  • clang or gcc,
  • GNU Make,
  • SDL2 with sdl2-config,
  • opengl-headers
  • libpthread (unix-like systems only)

Type make to compile the library. If the compilation is successfull, the library can be found under release/ref_gl4.dll (Windows) or release/ref_gl4.so (unixoid systems).

Usage

Copy the library next to your Yamagi Quake II executable. You can select OpenGL 4.6 through the video menu.

Why Should I Use This?

If your hardware supports it, then generally, the updated and more efficient OpenGL calls will provide much better performance. Additionally, the GL4 renderer has several enhancements.

  • Multithreaded rendering over rendering images and particles
  • Optimised calls, structure and buffer enhancements
  • Shader UBO efficiency enhancements

Generally, you'll find the performance over the last version is around 100% better due to these changes. There will be no stutters, micro-stutters or frame drops of any kind. I tested it on a 10 year old mid-level laptop and still got over 250fps whereas before it used to dip down to the 50's with explosions and lots of particles.

Below are examples:

Before: Screenshot 2025-08-14 002602

After: Screenshot 2025-08-14 002703

If you have run into issues, please attach output logs with OS/driver version and device name to the bug report. List of currently tested devices for the reference.

About

Optional OpenGL 4.6 renderer library

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •