; Yelan

; Constants -------------------------

; Overrides -------------------------

[TextureOverrideYelanPosition]
hash = c58c76f9
vb0 = ResourceYelanPosition

[TextureOverrideYelanBlend]
hash = f6e01e3c
vb1 = ResourceYelanBlend
handling = skip
draw = 47876,0 

[TextureOverrideYelanTexcoord]
hash = 428b836c
vb1 = ResourceYelanTexcoord

[TextureOverrideYelanVertexLimitRaise]
hash = d17ac213

[TextureOverrideYelanIB]
hash = 82e14ea2
;hash = 82e14ea2
handling = skip
drawindexed = auto

[TextureOverrideYelanHead]
hash = 82e14ea2
;hash = 82e14ea2
match_first_index = 0
ib = ResourceYelanHeadIB
ps-t0 = ResourceYelanHeadDiffuse
ps-t1 = ResourceYelanHeadLightMap

run = CommandList\global\ORFix\NNFix
[TextureOverrideYelanBody]
hash = 82e14ea2
;hash = 82e14ea2
match_first_index = 20913
ib = ResourceYelanBodyIB
ps-t0 = ResourceYelanBodyDiffuse
ps-t1 = ResourceYelanBodyLightMap

run = CommandList\global\ORFix\NNFix
[TextureOverrideYelanDress]
hash = 82e14ea2
;hash = 82e14ea2
match_first_index = 51759
ib = ResourceYelanDressIB
ps-t0 = ResourceYelanDressDiffuse
ps-t1 = ResourceYelanDressLightMap

run = CommandList\global\ORFix\NNFix
[TextureOverrideYelanExtra]
hash = 82e14ea2
;hash = 82e14ea2
match_first_index = 54042
ib = ResourceYelanExtraIB
ps-t0 = ResourceYelanExtraDiffuse
ps-t1 = ResourceYelanExtraLightMap

run = CommandList\global\ORFix\NNFix
[TextureOverrideYelanFaceHeadDiffuse]
hash = d3c0b54a
ps-t0 = ResourceYelanFaceHeadDiffuse


; CommandList -----------------------

; Resources -------------------------

[ResourceYelanPosition]
type = Buffer
stride = 40
filename = YelanPosition.buf

[ResourceYelanBlend]
type = Buffer
stride = 32
filename = YelanBlend.buf

[ResourceYelanTexcoord]
type = Buffer
stride = 20
filename = YelanTexcoord.buf

[ResourceYelanHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = YelanHead.ib

[ResourceYelanBodyIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = YelanBody.ib

[ResourceYelanDressIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = YelanDress.ib

[ResourceYelanExtraIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = YelanExtra.ib

[ResourceYelanHeadDiffuse]
filename = YelanHeadDiffuse.dds

[ResourceYelanHeadLightMap]
filename = YelanHeadLightMap.dds

[ResourceYelanBodyDiffuse]
filename = YelanBodyDiffuse.dds

[ResourceYelanBodyLightMap]
filename = YelanBodyLightMap.dds

[ResourceYelanDressDiffuse]
filename = YelanDressDiffuse.dds

[ResourceYelanDressLightMap]
filename = YelanDressLightMap.dds

[ResourceYelanExtraDiffuse]
filename = YelanExtraDiffuse.dds

[ResourceYelanExtraLightMap]
filename = YelanExtraLightMap.dds

[ResourceYelanFaceHeadDiffuse]
filename = YelanFaceHeadDiffuse.dds


; .ini generated by GIMI (Genshin-Impact-Model-Importer)
; If you have any issues or find any bugs, please open a ticket at https://github.com/SilentNightSound/GI-Model-Importer/issues or contact SilentNightSound#7430 on discord

; 4.1 Character Fix 
[TextureOverride41FixVertexLimitRaise0]
hash = d17ac213
