; Sucrose

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

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

[TextureOverrideSucrosePosition]
hash = b655c335
vb0 = ResourceSucrosePosition

[TextureOverrideSucroseBlend]
hash = 52230792
vb1 = ResourceSucroseBlend
handling = skip
draw = 16566,0 

[TextureOverrideSucroseTexcoord]
hash = c43b5b80
vb1 = ResourceSucroseTexcoord

[TextureOverrideSucroseVertexLimitRaise]
hash = 75e2c70c

[TextureOverrideSucroseIB]
hash = 06e86a68
;hash = 06e86a68
handling = skip
drawindexed = auto

[TextureOverrideSucroseHead]
hash = 06e86a68
;hash = 06e86a68
match_first_index = 0
ib = ResourceSucroseHeadIB
ps-t0 = ResourceSucroseHeadDiffuse
ps-t1 = ResourceSucroseHeadLightMap

run = CommandList\global\ORFix\NNFix
[TextureOverrideSucroseBody]
hash = 06e86a68
;hash = 06e86a68
match_first_index = 9036
ib = ResourceSucroseBodyIB
ps-t0 = ResourceSucroseBodyDiffuse
ps-t1 = ResourceSucroseBodyLightMap

run = CommandList\global\ORFix\NNFix
[TextureOverrideSucroseFaceHeadDiffuse]
hash = e6a6b6d7
ps-t0 = ResourceSucroseFaceHeadDiffuse


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

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

[ResourceSucrosePosition]
type = Buffer
stride = 40
filename = SucrosePosition.buf

[ResourceSucroseBlend]
type = Buffer
stride = 32
filename = SucroseBlend.buf

[ResourceSucroseTexcoord]
type = Buffer
stride = 12
filename = SucroseTexcoord.buf

[ResourceSucroseHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SucroseHead.ib

[ResourceSucroseBodyIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SucroseBody.ib

[ResourceSucroseHeadDiffuse]
filename = SucroseHeadDiffuse.dds

[ResourceSucroseHeadLightMap]
filename = SucroseHeadLightMap.dds

[ResourceSucroseBodyDiffuse]
filename = SucroseBodyDiffuse.dds

[ResourceSucroseBodyLightMap]
filename = SucroseBodyLightMap.dds

[ResourceSucroseFaceHeadDiffuse]
filename = SucroseFaceHeadDiffuse.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 = 75e2c70c
match_priority = 1
