Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
The HUD minimap is drawn into its own 288x288 picture (its 192x192 pane at 1.5x). It's square, so the 16:9 check in
tex_scale_groupskips it and it stays at console size; at 4K it was stretched 2x onto the HUD. This puts it inRS_MAP, next to the world map's capture from #1137, so at 4K it's drawn at 576x576. No change at 1080p.Draw-log evidence
3840x2160 window, HUD on, upscaler off, a frame in the world on the Great Plateau.
rt 288x288/f0x3d,pass 288x288 s 1.0000. That picture is then drawn onto the HUD (host 3840x2160,s 2.0000) through the round 256x256 mask, fsd1d87dfe0c81ad63, scissor3134 1308 630 852: about 576 screen pixels from a 288-pixel picture.vp 0 0 576 576 ... pass 576x576 s 2.0000. Only that target changed group; the draw that reads it shares the image by guest address, as the world map's capture does.Notes and limits
RS_OUTpasses get, so a HUD size above 100% still enlarges the minimap somewhat.How it was tested
Windows 11, RTX 4080 SUPER, game 1.9.0, 3840x2160. Hidden runs from a scratch save on the Great Plateau, before and after, with screenshots at the same frames. Before, the minimap's contour lines and coast were 2x2-pixel steps; after, they're 1-pixel lines. Detail finer than 2 pixels in the minimap's area (the error of a 2x downsample and upsample) went from 0.92 to 1.81. Whole frames otherwise unchanged; no errors in the logs.
Checklist
testand opened againsttest