Resource: add relative-mip VICTORY_TEXTURE_QUALITY (full|high|medium|half|low) keeping screen art whole #6
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ImTaneax--VIctory-RTX3050-4gb!6
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@adib-cyber007 on GitHub · 2026-12-02 08:40 UTC · original
adib-cyber007:pr/6-texture-quality-4gb→main· +490 −8 · 3 files · 1 commits · openPort of
trustno1-coder/VIctory-NVIDIA(8be4e038,c6355687,a4e55614,0ca3bd2e, GPL-3.0).Why
VICTORY_TEXTURE_MAX_DIM=512caps textures relative to mip level 0, so streamed textures whose view already starts at a mip ≤512 px get no further reduction.VICTORY_TEXTURE_QUALITYcuts mips relative to the level the view starts at:high: drop 1 mip on ≥2048 pxmedium: drop 1 on ≥1024 px, 2 on ≥4096 pxhalf: drop 1 on ≥256 px (~75% VRAM saved on world textures)low: drop 1 on ≥64 px, 2 on ≥512 px (~93.75% VRAM saved on ≥512 px)Screen art, loading illustrations, menus, HUD, and map art (non-power-of-two sides or uncompressed 8-bit RGBA8/BGRA8 formats) are always kept at full resolution.
want_levelandplaced_bytes_fromrespect the target cut, and a 600-frame census logs reduced copies and MB saved.Toggle
full(existingVICTORY_TEXTURE_MAX_DIM=512behavior is completely unchanged unless set).VICTORY_TEXTURE_QUALITY=halforVICTORY_TEXTURE_QUALITY=low.Verification
resource::quality::tests(parsing, thresholds, relative-to-view cuts, screen-art protection, saved-byte math) and default +--features diagnosticsbuilds passed with zero new warnings.resource: add relative-mip VICTORY_TEXTURE_QUALITY (full|high|medium|…to Resource: add relative-mip VICTORY_TEXTURE_QUALITY (full|high|medium|half|low) keeping screen art wholeView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.