Skip to content

Fix overbright bugs - #1404

Merged
illwieckz merged 2 commits into
masterfrom
illwieckz/obb
Oct 31, 2024
Merged

Fix overbright bugs#1404
illwieckz merged 2 commits into
masterfrom
illwieckz/obb

Conversation

@illwieckz

@illwieckz illwieckz commented Oct 30, 2024

Copy link
Copy Markdown
Member
  • renderer: cancel overbright on added lightmap

It fixes the perseus glass_02 door.

The code was slightly rewritten too.

  • renderer: disable GLSL overbright on fullbright lightmode globally instead of doing it per-texture

It fixes rendering fullbright lightmap stages when light mode is not fullbright,
like the starchart512 hologram in procyon map.

Fix Unvanquished/Unvanquished#3161 and #1405:

It fixes the glass_02 door in perseus map.

The code was slightly rewritten too.
…stead of doing it per-texture

It fixes rendering fullbright lightmap stages when light mode is not fullbright,
like the starchart512 hologram in procyon map.
@illwieckz

Copy link
Copy Markdown
Member Author

Perseus:

unvanquished_2024-10-30_054726_000

Procyon:

unvanquished_2024-10-30_075957_000

Comment thread src/engine/renderer/tr_shader.cpp

@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.

LGTM.

@slipher

slipher commented Oct 31, 2024

Copy link
Copy Markdown
Member

Thoughts on #1406?

@illwieckz

Copy link
Copy Markdown
Member Author

Thoughts on #1406?

To be investigated after 0.55.1.

@illwieckz
illwieckz merged commit b8873df into master Oct 31, 2024
@illwieckz
illwieckz deleted the illwieckz/obb branch October 31, 2024 06:08
@VReaperV VReaperV linked an issue Oct 31, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bad translucent texture in procyon Some glass texture in perseus is not lit

3 participants