cemu_graphic_packs/Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm
getdls 64f5cadf14 Hyrule Warriors tweak draw distance
Sets all mip to 0,  increases texture detail, and fixes some broken  lods
Some extra smoke / particles
General tweaks to fix some near clipping issues
2020-05-24 15:45:35 +02:00

32 lines
1.1 KiB
NASM
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[DrawDistance_v208]
moduleMatches = 0xE159AE91
.origin = codecave
##object clip
#0x100DD068 = .float 1.5 #0.5
0x100DD06C = .float 1.5 #3.0
#0x025F0554 = nop #same as setting 0x100DD06C to 0. Fix this when instruction supported.
#0x025F02F4 = nop #
#stage clip
0x100DFEC4 = .float 1.5
#0x100DFEC8 = .float 3.0
##stage clip update
0x100DFECC = .float 2.0
0x100DFED8 = .float 2.0
0x100DFEDC = .float 2.0
0x100DFEE0 = .float 2.0
0x100FF060 = .float 0.0 # force high mip / texture lod
0x100DD8C4 = .float 9900.0 # some smoke / particles
#fov
#0x10006FD0 = .float 0.015 #fov .float 0.017453292 # DATA XREF: CActFunc::GetViewParameter((PLAYER_ID,S_VIEW_PARAM &,uint))+194o
# scatter light (fog)
#0x1001CA64 = .float 2.5 # 2.0 default, 4.0 dark
#NPC text lod
#0x1009E134 = .float -8.0 #flt_1009E134: .float -1.0 # DATA XREF: CActModuleModelCommon::fGetMipLodBias(const(void))+4Co
#0x1009E138 = .float 0.0 #flt_1009E138: .float 0.0 # DATA XREF: CActModuleModelCommon::fGetMipLodBias(const(void)):loc_22BF3FCo
##dist from link
#0x100962BC = .float 0.25 #flt_100962BC: .float 0.0