Skip to content

NUKE forward lighting and shadow mapping#1670

Merged
slipher merged 6 commits intoDaemonEngine:masterfrom
slipher:nuke-forward
May 22, 2025
Merged

NUKE forward lighting and shadow mapping#1670
slipher merged 6 commits intoDaemonEngine:masterfrom
slipher:nuke-forward

Conversation

@slipher
Copy link
Copy Markdown
Member

@slipher slipher commented May 21, 2025

Fixes #747.

Shadow mapping no longer works at all. Forward lighting dynamic lights still more or less work but we don't want to maintain it.

@VReaperV
Copy link
Copy Markdown
Contributor

Good riddance to that shit.

@slipher
Copy link
Copy Markdown
Member Author

slipher commented May 21, 2025

Note to self: also delete lights/ in the dpkdir. The DPK stuff can be deleted in Unvanquished too.

@VReaperV VReaperV added A-Renderer T-NUKE-Request NUKE - vt. to remove a feature with extreme prejudice labels May 21, 2025
slipher added 6 commits May 22, 2025 03:32
refLightType_t and refLight_t are not used in IPC so they should not be
in tr_types.h.
Some forward lighting junk.
The shadow code no longer produced any effect for a player shadow with
2 <= cg_shadows <= 6, regardless of r_realtimeLightingRenderer. The code
was mostly designed for forward lighting anyway, which is being removed.
It still kinda worked but we don't want to maintain it.
Fixes DaemonEngine#747.
Copy link
Copy Markdown
Member Author

@slipher slipher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed already-done TODOs and prevented any easily-avoidable merge conflicts with 0.56. But regardless I'll have to remember to go merge this into for-0.56 as soon as it's merged into master.

Copy link
Copy Markdown
Contributor

@VReaperV VReaperV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@slipher slipher merged commit fe20e6c into DaemonEngine:master May 22, 2025
9 checks passed
@slipher slipher deleted the nuke-forward branch May 22, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Renderer T-NUKE-Request NUKE - vt. to remove a feature with extreme prejudice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nuking the obsolete deprecated legacy forward renderer?

2 participants