[BotW] Fix tree draw distance, add grass density/draw distance option

Also fix a typo in the Remove Fog description.
This commit is contained in:
Crementif 2022-01-19 01:42:23 +01:00
parent a84bc72d26
commit 30b88f72a0
No known key found for this signature in database
GPG key ID: 12BB8BD3EA30651E
3 changed files with 53 additions and 12 deletions

View file

@ -3,6 +3,7 @@ moduleMatches = 0x6267BFD0
.origin = codecave .origin = codecave
; Actor draw distance
actorMultiplier: actorMultiplier:
.float $actor .float $actor
@ -16,13 +17,13 @@ blr
0x03857F5C = bla _setActorDrawDistanceMultiplier 0x03857F5C = bla _setActorDrawDistanceMultiplier
; Object draw distance
objectMultiplier: objectMultiplier:
.float $object .float $object
objectDivider: objectDivider:
.float 1.0 - ($object - 1.0) .float 1.0 - ($object - 1.0)
_setObjectDrawDistance: _setObjectDrawDistance:
lis r12, objectMultiplier@ha lis r12, objectMultiplier@ha
lfs f0, objectMultiplier@l(r12) lfs f0, objectMultiplier@l(r12)
@ -44,7 +45,12 @@ blr
; Tree billboard draw distance ; Tree billboard draw distance
const_treeDrawDistance:
.float $tree
; either one of these actually do stuff 0x033CB548 = lis r7, const_treeDrawDistance@ha
;0x102E94D8 = .float $tree ; messes with the grass LODs? Might be expandable. 0x033CB550 = lfs f12, const_treeDrawDistance@l(r7)
0x102BC438 = .float $tree
; Grass blades draw distance
0x1030A774 = .float $grass

View file

@ -8,7 +8,8 @@ version = 6
[Default] [Default]
$actor = 1.0 $actor = 1.0
$object = 1.0 $object = 1.0
$tree = 1.0 $tree = 0.5
$grass = 1000.0
$textureLODBias:int = 0 $textureLODBias:int = 0
@ -85,33 +86,67 @@ $object = 1.5
[Preset] [Preset]
name = Potato name = Potato
category = Trees (2D Billboards) category = Trees (2D Billboards)
$tree = 1.5 $tree = 0.5*1.5
[Preset] [Preset]
name = Low name = Low
category = Trees (2D Billboards) category = Trees (2D Billboards)
$tree = 1.25 $tree = 0.5*1.25
[Preset] [Preset]
name = Medium (Default) name = Medium (Default)
category = Trees (2D Billboards) category = Trees (2D Billboards)
default = 1 default = 1
$tree = 1.0 $tree = 0.5*1.0
[Preset] [Preset]
name = High name = High
category = Trees (2D Billboards) category = Trees (2D Billboards)
$tree = 0.66 $tree = 0.5*0.75
[Preset] [Preset]
name = Ultra name = Ultra
category = Trees (2D Billboards) category = Trees (2D Billboards)
$tree = 0.33 $tree = 0.5*0.5
[Preset] [Preset]
name = Extreme name = Extreme
category = Trees (2D Billboards) category = Trees (2D Billboards)
$tree = 0.05 $tree = 0.5*0.25
# Grass Blades Draw Distance
[Preset]
name = Potato
category = Grass Blades Density
$grass = 1000*2.0
[Preset]
name = Low
category = Grass Blades Density
$grass = 1000*1.5
[Preset]
name = Medium (Default)
category = Grass Blades Density
default = 1
$grass = 1000*1.0
[Preset]
name = High
category = Grass Blades Density
$grass = 1000*0.9
[Preset]
name = Ultra (experimental)
category = Grass Blades Density
$grass = 1000*0.7
[Preset]
name = Extreme (experimental)
category = Grass Blades Density
$grass = 1000*0.5
# Texture LOD Bias # Texture LOD Bias

View file

@ -2,7 +2,7 @@
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
name = Remove (Distant) Fog, Haze and Clouds name = Remove (Distant) Fog, Haze and Clouds
path = "The Legend of Zelda: Breath of the Wild/Mods/Remove Distant Fog" path = "The Legend of Zelda: Breath of the Wild/Mods/Remove Distant Fog"
description = Allows you to remove or customize each type of fog in the game.|NPC fog will conflict with the remove cel-shading graphic packs.||Made by Skalfate." description = Allows you to remove or customize each type of fog in the game.|NPC fog will conflict with the remove cel-shading graphic packs.||Made by Skalfate.
version = 6 version = 6
[Default] [Default]