; Sparkle

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

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

[TextureOverrideSparkleHeadPosition]
hash = c2cce86e
handling = skip
vb0 = ResourceSparkleHeadPosition
vb2 = ResourceSparkleHeadBlend
draw = 3384,0

[TextureOverrideSparkleHeadTexcoord]
hash = ba665bec
vb1 = ResourceSparkleHeadTexcoord

[TextureOverrideSparkleHeadVertexLimitRaise]
hash = b2bc717f

[TextureOverrideSparkleBodyPosition]
hash = 71da7564
handling = skip
vb0 = ResourceSparkleBodyPosition
vb2 = ResourceSparkleBodyBlend
draw = 26005,0

[TextureOverrideSparkleBodyTexcoord]
hash = d51f3972
vb1 = ResourceSparkleBodyTexcoord

[TextureOverrideSparkleBodyVertexLimitRaise]
hash = c22dc904

[TextureOverrideSparkleHairPosition]
hash = 5b9af3ba
handling = skip
vb0 = ResourceSparkleHairPosition
vb2 = ResourceSparkleHairBlend
draw = 2576,0

[TextureOverrideSparkleHairTexcoord]
hash = 660a2d38
vb1 = ResourceSparkleHairTexcoord

[TextureOverrideSparkleHairVertexLimitRaise]
hash = 2ffc74a7

[TextureOverrideSparkleHeadIB]
hash = d569b4d9
handling = skip

[TextureOverrideSparkleHeadA]
hash = d569b4d9
match_first_index = 0
ib = ResourceSparkleHeadAIB
drawindexed = auto

[TextureOverrideSparkleHeadADiffuse]
hash = 6594fbb2
this = ResourceSparkleHeadADiffuse

[TextureOverrideSparkleHeadALightMap]
hash = bb5905b2
this = ResourceSparkleHeadALightMap

[TextureOverrideSparkleHeadAShadow]
hash = 2da564b0
this = ResourceSparkleHeadAShadow

[TextureOverrideSparkleHeadAt3]
hash = 33ba7848
this = ResourceSparkleHeadAt3

[TextureOverrideSparkleHeadB]
hash = d569b4d9
match_first_index = 12552
ib = ResourceSparkleHeadBIB
drawindexed = auto

[TextureOverrideSparkleHeadBDiffuse]
hash = 2da564b0
this = ResourceSparkleHeadBDiffuse

[TextureOverrideSparkleHeadBLightMap]
hash = bb5905b2
this = ResourceSparkleHeadBLightMap

[TextureOverrideSparkleHeadBShadow]
hash = 33ba7848
this = ResourceSparkleHeadBShadow

[TextureOverrideSparkleBodyIB]
hash = 68121fd3
handling = skip

[TextureOverrideSparkleBodyA]
hash = 68121fd3
match_first_index = 0
ib = ResourceSparkleBodyAIB
ps-t0 = ResourceSparkleBodyADiffuse
ps-t1 = ResourceSparkleBodyALightMap
drawindexed = auto

[TextureOverrideSparkleBodyB]
hash = 68121fd3
match_first_index = 67665
ib = ResourceSparkleBodyBIB
ps-t0 = ResourceSparkleBodyBDiffuse
ps-t1 = ResourceSparkleBodyBLightMap
drawindexed = auto

[TextureOverrideSparkleBodyC]
hash = 68121fd3
match_first_index = 79635
ib = ResourceSparkleBodyCIB
ps-t0 = ResourceSparkleBodyCDiffuse
ps-t1 = ResourceSparkleBodyCLightMap
run = CustomShaderTransparency

[CustomShaderTransparency]
blend = ADD BLEND_FACTOR INV_BLEND_FACTOR
blend_factor[0] = 0.5
blend_factor[1] = 0.5
blend_factor[2] = 0.5
blend_factor[3] = 1
handling = skip
drawindexed = auto

[TextureOverrideSparkleHairIB]
hash = 10ee0ac5
handling = skip
drawindexed = auto

[TextureOverrideSparkleHairA]
hash = 10ee0ac5
match_first_index = 0
ib = ResourceSparkleHairAIB

[TextureOverrideSparkleHairADiffuse]
hash = a4f91fac
this = ResourceSparkleHairADiffuse

[TextureOverrideSparkleHairALightMap]
hash = df96b015
this = ResourceSparkleHairALightMap

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

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

[ResourceSparkleHeadPosition]
type = Buffer
stride = 40
filename = SparkleHeadPosition.buf

[ResourceSparkleHeadBlend]
type = Buffer
stride = 32
filename = SparkleHeadBlend.buf

[ResourceSparkleHeadTexcoord]
type = Buffer
stride = 8
filename = SparkleHeadTexcoord.buf

[ResourceSparkleBodyPosition]
type = Buffer
stride = 40
filename = SparkleBodyPosition.buf

[ResourceSparkleBodyBlend]
type = Buffer
stride = 32
filename = SparkleBodyBlend.buf

[ResourceSparkleBodyTexcoord]
type = Buffer
stride = 20
filename = SparkleBodyTexcoord.buf

[ResourceSparkleHairPosition]
type = Buffer
stride = 40
filename = SparkleHairPosition.buf

[ResourceSparkleHairBlend]
type = Buffer
stride = 32
filename = SparkleHairBlend.buf

[ResourceSparkleHairTexcoord]
type = Buffer
stride = 8
filename = SparkleHairTexcoord.buf

[ResourceSparkleHeadAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparkleHeadA.ib

[ResourceSparkleHeadBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparkleHeadB.ib

[ResourceSparkleBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparkleBodyA.ib

[ResourceSparkleBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparkleBodyB.ib

[ResourceSparkleBodyCIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparkleBodyC.ib

[ResourceSparkleHairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SparkleHairA.ib

[ResourceSparkleHeadADiffuse]
filename = SparkleHeadADiffuse.dds

[ResourceSparkleHeadALightMap]
filename = SparkleHeadALightMap.dds

[ResourceSparkleHeadAShadow]
filename = SparkleHeadAShadow.dds

[ResourceSparkleHeadAt3]
filename = SparkleHeadAt3.dds

[ResourceSparkleHeadBDiffuse]
filename = SparkleHeadBDiffuse.dds

[ResourceSparkleHeadBLightMap]
filename = SparkleHeadBLightMap.dds

[ResourceSparkleHeadBShadow]
filename = SparkleHeadBShadow.dds

[ResourceSparkleBodyADiffuse]
filename = SparkleBodyADiffuse.dds

[ResourceSparkleBodyALightMap]
filename = SparkleBodyALightMap.dds

[ResourceSparkleBodyBDiffuse]
filename = SparkleBodyBDiffuse.dds

[ResourceSparkleBodyBLightMap]
filename = SparkleBodyBLightMap.dds

[ResourceSparkleBodyCDiffuse]
filename = SparkleBodyCDiffuse.dds

[ResourceSparkleBodyCLightMap]
filename = SparkleBodyCLightMap.dds

[ResourceSparkleHairADiffuse]
filename = SparkleHairADiffuse.dds

[ResourceSparkleHairALightMap]
filename = SparkleHairALightMap.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