; Yelan

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

[TextureOverrideYelanPosition]
hash = c58c76f9
vb0 = ResourceYelanPosition

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

[TextureOverrideYelanTexcoord]
hash = 428b836c
vb1 = ResourceYelanTexcoord

[TextureOverrideYelanVertexLimitRaise]
hash = 589fed34

[TextureOverrideYelanIB]
hash = ba35247d
handling = skip
drawindexed = auto

[TextureOverrideYelanHead]
hash = ba35247d
match_first_index = 0
ib = ResourceYelanHeadIB
ps-t0 = ResourceYelanHeadDiffuse
if ps-t1 == 943068897
;    ps-t1 = ResourceYelanDash
else if ps-t1 != 857068213
    ps-t1 = ResourceYelanHeadLightMap
endif

[TextureOverrideYelanBody]
hash = ba35247d
match_first_index = 20913
ib = ResourceYelanBodyIB
ps-t0 = ResourceYelanBodyDiffuse
if ps-t1 == 943068897
;    ps-t1 = ResourceYelanDash
else if ps-t1 != 857068213
    ps-t1 = ResourceYelanBodyLightMap
endif

[TextureOverrideYelanDress]
hash = ba35247d
match_first_index = 51759
ib = ResourceYelanDressIB
ps-t0 = ResourceYelanDressDiffuse
if ps-t1 == 943068897
;    ps-t1 = ResourceYelanDash
else if ps-t1 != 857068213
    ps-t1 = ResourceYelanDressLightMap
endif

[TextureOverrideYelanExtra]
hash = ba35247d
match_first_index = 54042
ib = ResourceYelanExtraIB
ps-t0 = ResourceYelanExtraDiffuse
if ps-t1 == 943068897
    ps-t1 = ResourceYelanDash
else if ps-t1 != 857068213
    ps-t1 = ResourceYelanExtraLightMap
endif

[TextureOverrideYelanFaceHeadDiffuse]
hash = d3c0b54a
ps-t0 = ResourceYelanFaceHeadDiffuse



[TextureOverrideYelanDash]
hash = 383616e1
filter_index = 943068897
ResourceYelanDash = ps-t1

[TextureOverrideYelanDash2]
hash = 3315d2b5
filter_index = 857068213


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

[ResourceYelanDash]

[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

[ResourceYelanHeadMetalMap]
filename = YelanHeadMetalMap.dds

[ResourceYelanHeadShadowRamp]
filename = YelanHeadShadowRamp.jpg

[ResourceYelanBodyDiffuse]
filename = YelanBodyDiffuse.dds

[ResourceYelanBodyLightMap]
filename = YelanBodyLightMap.dds

[ResourceYelanBodyMetalMap]
filename = YelanBodyMetalMap.dds

[ResourceYelanBodyShadowRamp]
filename = YelanBodyShadowRamp.jpg

[ResourceYelanDressDiffuse]
filename = YelanDressDiffuse.dds

[ResourceYelanDressLightMap]
filename = YelanDressLightMap.dds

[ResourceYelanDressMetalMap]
filename = YelanDressMetalMap.dds

[ResourceYelanDressShadowRamp]
filename = YelanDressShadowRamp.jpg

[ResourceYelanExtraDiffuse]
filename = YelanExtraDiffuse.dds

[ResourceYelanExtraLightMap]
filename = YelanExtraLightMap.dds

[ResourceYelanExtraMetalMap]
filename = YelanExtraMetalMap.dds

[ResourceYelanExtraShadowRamp]
filename = YelanExtraShadowRamp.jpg

[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