Skip to content

Comments

Better Brightness Values#18

Merged
rrtt217 merged 4 commits intorrtt217:masterfrom
XgarhontX:master
Feb 18, 2026
Merged

Better Brightness Values#18
rrtt217 merged 4 commits intorrtt217:masterfrom
XgarhontX:master

Conversation

@XgarhontX
Copy link
Collaborator

MixinIrisExclusiveUniforms.java

  • On shader compile, get and cache GLWF reported values.
  • PER_FRAME -> PER_TICK

HDRModConfig.java

  • Windows GLFW reported values are broken:
[23:37:08] [Render thread/INFO] (hdr_mod) GLFW Reported Min: 0.0
[23:37:08] [Render thread/INFO] (hdr_mod) GLFW Reported Peak: 0.0
[23:37:08] [Render thread/INFO] (hdr_mod) GLFW Reported Paper: 80.0
  • Therefore, Windows now defaults to 203 Paper and 1000 Peak.

HDR Mod en_us.json

  • Renamed for clarity.
  • Better newlines.
  • Specify Linux only features.
  • TODO: other lang

Copy link
Owner

@rrtt217 rrtt217 left a comment

Choose a reason for hiding this comment

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

Default config/lang file seems good for me, but I disagree with glfw values caching part.

@rrtt217
Copy link
Owner

rrtt217 commented Feb 18, 2026

If your changes actually greatly boosts performance, use PER_TICK update and add a counter to refresh glfw cached value every x ticks.

@rrtt217 rrtt217 merged commit bfd7f6d into rrtt217:master Feb 18, 2026
1 check passed
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.

2 participants