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 |
|---|---|
| Category | Graphics & rendering |
| Module | renderer |
| Also registered in | renderer |
| Renderer | rd-vanilla, rd-vulkan |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | documented |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | No |
| Default | 1 |
| Value type | bool |
| Restart | Yes; the value is latched. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Disabled. | codemp/rd-vanilla/tr_init.cpp:718 |
1 |
Enabled. | codemp/rd-vanilla/tr_init.cpp:718 |
Flags
CVAR_ARCHIVE_ND— saved to configuration without marking the cvar as user-createdCVAR_LATCH— latched until the relevant subsystem or map is restarted
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
1 |
renderer |
rd-vanilla |
always |
1 |
renderer |
rd-vulkan |
always |
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
ead8e3618248in OpenJK (content authored2015-07-25, integrated2015-07-25) - TaystJK integration evidence:
5ef5d7214371 - Upstream registration evidence: codemp/rd-vanilla/tr_init.cpp:1575
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The identifier’s single-prefix squash feature group explicitly credits openjk. Dated commit evidence identifies later registration changes relative to the origin snapshot.
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 | 5ef5d7214371Merge 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 | c9c6ab99fdd2Merge 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 | 913e3cc57ec7Merge 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 | 43b393062090Merge 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 | a2acfb6b9129Merge 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 | d7d7ce3234e6Added vanilla clone for code compare |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vulkan/tr_init.cpp |
medium |
2025-04-15 |
rend2 | c98ecf977bd3 · PR #217Rend2 update (#217) |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vanilla/tr_init.cpp |
medium |
Evidence
- registration: codemp/rd-vanilla/tr_init.cpp:1641 (Cvar_Get)
- registration: codemp/rd-vulkan/tr_init.cpp:792 (Cvar_Get)
- behavior: codemp/rd-vanilla/tr_init.cpp:718