Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SM3DW] Adding Texture LOD + Anisotropic Filtering #649

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Enhancements/SuperMario3DWorld_Anisotropic/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[Definition]
titleIds = 0005000010145D00,0005000010145C00,0005000010106100
name = Anisotropic Filtering
path = "Super Mario 3D World/Enhancements/Anisotropic Filtering"
description = Anisotropic Filtering for smoother mipmaps.
version = 4

[Preset]
name = 1x (Default)
$anisoLevel = 1

[Preset]
name = 2x
$anisoLevel = 2

[Preset]
name = 4x
$anisoLevel = 4

[Preset]
name = 8x
$anisoLevel = 8

[Preset]
name = 16x
$anisoLevel = 16

[TextureRedefine]
formats = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435
overwriteAnisotropy = $anisoLevel
51 changes: 51 additions & 0 deletions Enhancements/SuperMario3DWorld_LOD/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[Definition]
titleIds = 0005000010145D00,0005000010145C00,0005000010106100
name = Negative texture LOD bias
path = "Super Mario 3D World/Enhancements/Texture LOD"
description = Texture LOD override, possible shimmer but sharper textures. Made by Ryce-Fast.
version = 4

[Preset]
name = Default LOD
$0x431 = 0
$0x432 = 0
$0x433 = 0
$0x434 = 0

[Preset]
name = Slightly higher LOD
$0x431 = -.5
$0x432 = -.5
$0x433 = -.5
$0x434 = -.5

[Preset]
name = High LOD
$0x431 = -1
$0x432 = -1
$0x433 = -1
$0x434 = -1

[Preset]
name = Very High LOD
$0x431 = -4
$0x432 = -4
$0x433 = -4
$0x434 = -4


[TextureRedefine]
formats = 0x431
overwriteRelativeLodBias = $0x431

[TextureRedefine]
formats = 0x432
overwriteRelativeLodBias = $0x432

[TextureRedefine]
formats = 0x433
overwriteRelativeLodBias = $0x433

[TextureRedefine]
formats = 0x434
overwriteRelativeLodBias = $0x434
2 changes: 1 addition & 1 deletion src/BreathOfTheWild/Mods/DrawDistance/rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,5 @@ $textureLODBias:int = -16


[TextureRedefine]
formats = 0x31,0x32,0x34,0x35,0x431,0x432,0x433,0x234,0x235
formats = 0x31,0x32,0x34,0x35,0x431,0x432,0x433,0x434,0x234,0x235
overwriteRelativeLodBias = $textureLODBias