[SM3DW] Adding Texture LOD + Anisotropic Filtering

This commit is contained in:
Xphalnos 2024-11-16 17:16:24 +01:00
parent 46db482e22
commit 02b5516a4e
3 changed files with 82 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -218,5 +218,5 @@ $textureLODBias:int = -16
[TextureRedefine] [TextureRedefine]
formats = 0x31,0x32,0x34,0x35,0x431,0x432,0x433,0x234,0x235 formats = 0x31,0x32,0x34,0x35,0x431,0x432,0x433,0x434,0x234,0x235
overwriteRelativeLodBias = $textureLODBias overwriteRelativeLodBias = $textureLODBias