Skip to content

Anisotropic filtering: a launcher choice of 2x to 16x for NVN games, checked in Breath of the Wild - #2418

Open
dontpokethebear3893 wants to merge 3 commits into
seedds:mainfrom
dontpokethebear3893:upstream/botw-anisotropic-filtering
Open

dontpokethebear3893 wants to merge 3 commits into
seedds:mainfrom
dontpokethebear3893:upstream/botw-anisotropic-filtering

Conversation

@dontpokethebear3893

@dontpokethebear3893 dontpokethebear3893 commented Nov 12, 2026 •

Copy link
Copy Markdown

What and why

Breath of the Wild's material samplers ask for 1x anisotropy (one asks for 2x). Ground, paths and walls seen at a slant blur a few metres from the camera, and the larger the picture (4K, 5K), the more it shows. This adds an Anisotropic filtering choice to the launcher (Game): Game's own (the default), 2x, 4x, 8x, 16x.

  • The renderer (nvn_mtl.m): DM_ANISO=2..16 is a floor for the anisotropy of the samplers that pick a mip level with linear filtering: a linear magnification filter, a linear minification filter with mip selection, and more than one level. Comparison (shadow) samplers, min / max reduction samplers and samplers held to one level keep the game's value. off changes nothing. The same idea as the anisotropy option of Cemu's graphic packs for the Wii U version.
  • The launcher: one settings.tsv row, shown for every NVN game. Only Breath of the Wild was run with it (see Not checked).

Conflict with #2419 (Shadow resolution): both add a line at the same place in the game's README, in settings.tsv, and in docs/settings.md (the contents line and a new section). Whichever goes in second keeps both sides; I will rebase it.

Front ends

Front-ends: none (one more choice row in launcher.json, nothing new in the schema).

Checked

Docs

  • docs/settings.md (Anisotropic filtering), the switch in docs/env_switches.tsv, and a note in the game's README (dm/games/01007EF00011E000/README.md); docs_symptoms.py was run and changes nothing
  • A chain tool changed: n/a
  • No game files, keys or data extracted from a game in the change or the attachments

🤖 Generated with Claude Code

…e game's mipmapped linear samplers get at least 2x to 16x

Breath of the Wild's material samplers ask for 1x (one for 2x), so ground and walls seen at a slant blur a few metres out, most visibly at 4K and above. DM_ANISO=2..16 raises the anisotropy of samplers with a linear magnification filter, a linear minification filter with mip selection and more than one level; comparison (shadow) samplers, min / max reductions and samplers held to one level keep the game's. off (the default) changes nothing. As the anisotropy option of Cemu's graphic packs for the Wii U version.

t_aniso checks which samplers the registry raises.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions github-actions Bot added nvn NVN on Metal and its tests (dm/gfx/nvn, dm/gfx/tests) docs Documentation game: 01007EF00011E000 The Legend of Zelda: Breath of the Wild labels Nov 12, 2026
tedkoniszewski and others added 2 commits November 12, 2026 15:29
Brings the branch up to date with main (fixes for the t_save_sync cloud
device check and the clang-tidy fixture findings, among others) and
resolves the conflicts with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation game: 01007EF00011E000 The Legend of Zelda: Breath of the Wild nvn NVN on Metal and its tests (dm/gfx/nvn, dm/gfx/tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant