r_hdr
rend2
Disable/enable rendering in HDR
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-rend2, rd-vulkan |
| Derivation | documented |
| Confidence | high |
| Added | 2021-05-25 in c4a9c87ef (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | Yes: ingame_setup.menu:1840, setup.menu:1630 |
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, codemp/rd-vulkan/tr_local.h, codemp/rd-vulkan/vk_instance.cpp |
high |
2023-10-03 |
TaystJK | 86c0756385ef · PR #12Rend2 (#12) |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/rd-rend2/tr_init.cpp |
medium |
2023-10-14 |
rend2 | aa48e28a7d4f · PR #26Merge pull request #26 from taysta/rend2menu |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
2024-02-03 |
TaystJK | 0c789787f79c · PR #110Rend2 updates (#110) |
Changed an exact bound cvar-variable reference. shared/rd-rend2/tr_backend.cpp, shared/rd-rend2/tr_bsp.cpp, shared/rd-rend2/tr_glsl.cpp and 3 more |
medium |
2024-02-26 |
TaystJK | cd784cbf26da · PR #157Upstream update (#157) |
Changed an exact bound cvar-variable reference. shared/rd-rend2/tr_scene.cpp |
medium |
2024-03-22 |
rend2 | 76e492e67f08 · PR #183Rend2 sync (#183) |
Changed an exact bound cvar-variable reference. shared/rd-rend2/tr_bsp.cpp, shared/rd-rend2/tr_image.cpp |
medium |
2024-05-02 |
rend2 | 8397d66511c4 · PR #192Rend2 updates (#192) |
Changed an exact bound cvar-variable reference. shared/rd-rend2/tr_bsp.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
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.