r_forceSun
rend2
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls r_forceSun in the renderer module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Default | 0 |
| Value type | float |
| Restart | No latch flag is registered. |
| Manually settable | Yes |
| Cheat protected | Yes |
| Network scope | client-only: Local to the client/UI/renderer. |
| Category | Gameplay & combat |
| Module | renderer |
| Renderer | rd-rend2 |
| Derivation | code-trace |
| Confidence | high |
| Added | 2023-10-03 in 86c075638 (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_CHEAT: requires cheats
Provenance
Origin: rend2
- Ultimate-origin introduction:
be28b4edd6c7in rend2 (content authored2013-10-08, integrated2023-10-03) - TaystJK integration evidence:
86c0756385ef - Origin pull request: #12
- Upstream registration evidence: codemp/rd-rend2/tr_init.cpp:1541
- Attribution method:
introduction-commit-explicit-credit - Attribution confidence:
high
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 | 2023-10-03 |
2023-09-30 | 2023-10-03 |
86c0756385ef |
Other project appearance |
| jaPRO | 2023-10-03 |
— | 2023-10-03 |
86c0756385ef |
Other project appearance |
| NewJK / NewMod | 2026-08-09 |
— | 2026-08-09 |
686cbf9b649b |
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 |
|---|---|---|---|---|
2024-02-03 |
TaystJK | 0c789787f79c · PR #110Rend2 updates (#110) |
Changed an exact bound cvar-variable reference. shared/rd-rend2/tr_local.h, shared/rd-rend2/tr_main.cpp, shared/rd-rend2/tr_scene.cpp |
medium |
Evidence
- registration: codemp/rd-rend2/tr_init.cpp:1576 (Cvar_Get)
- behavior: shared/rd-rend2/tr_main.cpp:2916
- behavior: shared/rd-rend2/tr_scene.cpp:379
- behavior: shared/rd-rend2/tr_scene.cpp:391
- behavior: shared/rd-rend2/tr_scene.cpp:364
- behavior: shared/rd-rend2/tr_scene.cpp:374
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.