r_hdr
rend2
Disable/enable rendering in HDR
At a glance
| Field | Value |
|---|---|
| Category | Graphics & rendering |
| Module | renderer |
| Also registered in | renderer |
| Renderer | rd-rend2, rd-vulkan |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | documented |
| Confidence | high |
| In-game xdocs | No |
| In-game menu | Yes — ingame_setup.menu:1840, setup.menu:1630 |
| Default | 1 |
| Value type | bool |
| Restart | Yes; the value is latched. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
0 |
Disabled. | codemp/rd-vulkan/vk_instance.cpp:365 |
1 |
Enabled. | codemp/rd-vulkan/vk_instance.cpp:365 |
Flags
CVAR_ARCHIVE— saved to the user configurationCVAR_LATCH— latched until the relevant subsystem or map is restarted
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
1 |
renderer |
rd-rend2 |
always |
1 |
renderer |
rd-vulkan |
always |
Provenance
Origin: rend2
- Ultimate-origin introduction:
be28b4edd6c7in rend2 (content authored2013-10-08, integrated2023-10-03) - TaystJK integration evidence:
c4a9c87ef0e3 - Upstream registration evidence: codemp/rd-rend2/tr_init.cpp:1504
- Attribution method:
introduction-commit-explicit-credit - Attribution confidence:
high - Notes: rend2 retains origin because content authorship and PR submission predate the project that merged the work first. The TaystJK integration evidence credits vulkan as an immediate port source, but rend2 has an earlier dated introduction and remains the ultimate origin. 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 | 2013-10-08 |
— | 2023-10-03 |
be28b4edd6c7 |
Shared integration commit |
| rend2 | 2013-10-08 |
— | 2023-10-03 |
be28b4edd6c7 |
Ultimate origin |
| TaystJK | 2021-05-25 |
— | 2021-05-25 |
c4a9c87ef0e3 |
Other project appearance |
| jaPRO | 2021-05-25 |
— | 2021-05-25 |
c4a9c87ef0e3 |
Other project appearance |
| Vulkan | 2021-05-25 |
— | 2021-05-25 |
c4a9c87ef0e3 |
Other project appearance |
| NewJK / NewMod | 2026-08-09 |
— | 2026-08-09 |
686cbf9b649b |
Other project appearance |
Immediate port-source credit: Vulkan. The earlier dated project remains the ultimate origin.
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 |
|---|---|---|---|---|
2021-05-25 |
Vulkan | c4a9c87ef0e3Added vulkan renderer |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-vulkan/tr_init.cpp |
high |
2023-10-03 |
TaystJK | 86c0756385ef · PR #12Rend2 (#12) |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/rd-rend2/tr_init.cpp |
medium |
Evidence
- registration: codemp/rd-rend2/tr_init.cpp:1539 (Cvar_Get)
- registration: codemp/rd-vulkan/tr_init.cpp:927 (Cvar_Get)
- behavior: codemp/rd-vulkan/vk_instance.cpp:365
- behavior: shared/rd-rend2/tr_backend.cpp:2063
- behavior: shared/rd-rend2/tr_backend.cpp:3030
- behavior: shared/rd-rend2/tr_backend.cpp:3218
- behavior: shared/rd-rend2/tr_bsp.cpp:922