A renderer for ioquake3 written in C++ and using bgfx to support multiple rendering APIs.
Checkout bgfx and bx to the same parent directory as ioq3-renderer-bgfx.
- Run
CompileShaders.bat
- Use ioq3-premake-msvc.
Checkout ioquake3 to the same parent directory as ioq3-renderer-bgfx.
./premake5.exe shaders
./premake5.exe gmake
cd build
make
./premake5 shaders
./premake5 gmake
cd build
make
Copy the renderer binaries from build\bin_*
to where you have a ioquake3 test build installed.
Select the renderer in-game with cl_renderer bgfx
followed by vid_restart
.
Console Variable | Description |
---|---|
r_backend | Rendering backend - OpenGL, Direct3D 9 etc. |
r_bgfx_stats | Show bgfx statistics. |
r_brightness | |
r_contrast | |
r_gamma | |
r_maxAnisotropy | Enable anisotropic filtering. |
r_msaa | Multisample anti-aliasing. 2x, 4x, 8x, or 16x. |
r_saturation |