Skip to content

Fix cursor not rendering right in main menu - #1592

Merged
slipher merged 2 commits into
DaemonEngine:masterfrom
slipher:overbrightq3-fixup
Mar 13, 2025
Merged

Fix cursor not rendering right in main menu#1592
slipher merged 2 commits into
DaemonEngine:masterfrom
slipher:overbrightq3-fixup

Conversation

@slipher

@slipher slipher commented Mar 11, 2025

Copy link
Copy Markdown
Member

Some 2D shaders are automatically assigned CGEN_IDENTITY_LIGHTING. This causes a bug of the cursor being black in the main menu (where tr.identityLighting is 0) and the wrong color if r_overbrightQ3 is used while in a map. Fix by making it behave as CGEN_IDENTITY during 2D rendering.

Fixes #1590.

Some 2D shaders are automatically assigned CGEN_IDENTITY_LIGHTING. This
causes a bug of the cursor being black in the main menu (where
tr.identityLighting is 0) and the wrong color if r_overbrightQ3 is used
while in a map. Fix by making it behave as CGEN_IDENTITY during 2D
rendering.

Fixes DaemonEngine#1590.

@VReaperV VReaperV left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That fixes the issue on my end. LGTM.

There's an up-to-date one in R_InitImages().
@slipher

slipher commented Mar 12, 2025

Copy link
Copy Markdown
Member Author

Added a 2nd commit that cleans up another outdated comment about overbright.

@slipher
slipher merged commit d68d79d into DaemonEngine:master Mar 13, 2025
@slipher
slipher deleted the overbrightq3-fixup branch March 13, 2025 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The cursor is black on master

3 participants