March7th transparency
钻研半天的透明,总算是搞定了,这次是3合1,分为无胖次、半脱胖次、带胖次,按y键切换,下面是对于透明的说明:
打开merged.ini文件,找到下面这一段(使用genshin_merge_mods.py合并mod的时候同样将这部分加进ini文件就可以恢复透明)
; Custom Shaders ----------------------------
[CustomShaderTransparency]
blend = ADD BLEND_FACTOR INV_BLEND_FACTOR
blend_factor[0] = 0.35
blend_factor[1] = 0.35
blend_factor[2] = 0.35
blend_factor[3] = 1
handling = skip
drawindexed = auto
其中的0.35是调控透明度的(调整时3个值一起变),范围0~1,需要注意的是数值为1的时候并不是不透明,而是显示的黑色,目前不清楚原因,如果需要不透明的,可以将ini文件中所有run = CustomShaderTransparency替换为drawindexed = auto
--------------------------------------------------------------------------------------------------------------------
Open the "merged.ini" file and locate the following paragraph (When using genshin_merge_mods. py to merge mods, adding this part to the ini file can restore transparency)
; Custom Shaders ----------------------------
[CustomShaderTransparency]
blend = ADD BLEND_ FACTOR INV_ BLEND_ FACTOR
blend_ factor[0] = 0.35
blend_ factor[1] = 0.35
blend_ factor[2] = 0.35
blend_ factor[3] = 1
handling = skip
drawindexed = auto
Among them, 0.35 is used to regulate transparency (the three values change together during adjustment), with a range of 0 to 1. It should be noted that when the value is 1, it is not opaque, but black. The reason is currently unclear. If opacity is needed, all run=CustomiShaderTransparency in the ini file should be replaced with drawindexed=auto