Skip to content

Commit

Permalink
[SM3DW] Add Texture LOD & Anisotropic Filtering pack (#649)
Browse files Browse the repository at this point in the history
Thanks @Ryce-Fast!
  • Loading branch information
Ryce-Fast authored Nov 23, 2024
1 parent 21b05ef commit 5aeaef0
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 1 deletion.
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

0 comments on commit 5aeaef0

Please sign in to comment.