r_gammaShaders

OpenJK

Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.

Set gamma using pixel shaders inside the game window only.

At a glance

Field Value
Default 1
Value type bool
Restart Yes; the value is latched.
Manually settable Yes
Cheat protected No
Network scope client-only: Local to the client/UI/renderer.
Category Graphics & rendering
Module renderer
Renderer rd-vanilla, rd-vulkan
Derivation documented
Confidence medium
Added 2015-11-13 in 5ef5d7214 needs review (how to compare this against your build)
In-game xdocs No
In-game menu No

Values

Value Meaning Evidence
0 Disabled. codemp/rd-vanilla/tr_init.cpp:718
1 Enabled. codemp/rd-vanilla/tr_init.cpp:718

Flags

Registration-specific defaults

Default Module Renderer Compile condition
1 renderer rd-vanilla always
1 renderer rd-vulkan always

Provenance

Origin: OpenJK

Dated project introductions

Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.

Project Authored PR opened Integrated Commit Relationship
OpenJK 2015-07-25 — 2015-07-25 ead8e3618248 Ultimate origin
rend2 2015-07-25 — 2015-07-25 ead8e3618248 Shared integration commit
NewJK / NewMod 2015-07-25 — 2015-07-25 ead8e3618248 Shared integration commit
EternalJK 2015-07-25 — 2015-11-13 5ef5d7214371 Other project appearance
TaystJK 2015-07-25 — 2015-11-13 5ef5d7214371 Other project appearance
jaPRO 2015-07-25 — 2015-11-13 5ef5d7214371 Other project appearance
Vulkan 2015-07-25 — 2015-11-13 5ef5d7214371 Other project appearance

Later changes

These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.

Date Change source Commit / subject Evidence Confidence
2015-11-13 OpenJK 5ef5d7214371
Merge branch ‘master’ of https://github.com/JACoders/OpenJK
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vanilla/tr_init.cpp medium
2016-03-24 EternalJK c9c6ab99fdd2
Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vanilla/tr_init.cpp medium
2017-08-31 OpenJK 913e3cc57ec7
Merge branch ‘master’ of https://github.com/JACoders/OpenJK.git
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vanilla/tr_init.cpp medium
2017-12-29 EternalJK 43b393062090
Merge remote-tracking branch ‘upstream/master’
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vanilla/tr_init.cpp medium
2018-01-06 EternalJK a2acfb6b9129
Merge pull request #11 from Bucky21659/master
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vanilla/tr_init.cpp medium
2021-05-25 TaystJK d7d7ce3234e6
Added vanilla clone for code compare
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/rd-vulkan/tr_init.cpp medium
2021-05-25 Vulkan c4a9c87ef0e3
Added vulkan renderer
Changed an exact bound cvar-variable reference. codemp/rd-vulkan/tr_init.cpp high
2025-04-15 rend2 c98ecf977bd3 · PR #217
Rend2 update (#217)
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vanilla/tr_init.cpp medium

Evidence

Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.