; JingYuan

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

[Constants]
global $active = 0
global $creditinfo = 0

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverrideJingYuanHairPosition]
hash = 31319f5f
handling = skip
vb0 = ResourceJingYuanHairPosition
vb2 = ResourceJingYuanHairBlend
draw = 5784,0
$active = 1

[TextureOverrideJingYuanHairTexcoord]
hash = f45ac261
vb1 = ResourceJingYuanHairTexcoord

[TextureOverrideJingYuanHairVertexLimitRaise]
hash = 457fc548

[TextureOverrideJingYuanHeadPosition]
hash = ee205a7b
handling = skip
vb0 = ResourceJingYuanHeadPosition
vb2 = ResourceJingYuanHeadBlend
draw = 2801,0
$active = 1

[TextureOverrideJingYuanHeadTexcoord]
hash = 7c112f46
vb1 = ResourceJingYuanHeadTexcoord

[TextureOverrideJingYuanHeadVertexLimitRaise]
hash = 061dd140

[TextureOverrideJingYuanBodyPosition]
hash = 095daf27
handling = skip
vb0 = ResourceJingYuanBodyPosition
vb2 = ResourceJingYuanBodyBlend
draw = 46650,0
$active = 1

[TextureOverrideJingYuanBodyTexcoord]
hash = 8f1a29cf
vb1 = ResourceJingYuanBodyTexcoord

[TextureOverrideJingYuanBodyVertexLimitRaise]
hash = baaa1347

[TextureOverrideJingYuanHairIB]
hash = 09c6261f
handling = skip
drawindexed = auto

[TextureOverrideJingYuanHairA]
hash = 09c6261f
match_first_index = 0
ib = ResourceJingYuanHairAIB
ps-t0 = ResourceJingYuanHairADiffuse
ps-t1 = ResourceJingYuanHairALightMap

[TextureOverrideJingYuanHeadIB]
hash = 22147cfe
handling = skip
drawindexed = auto

[TextureOverrideJingYuanHeadA]
hash = 22147cfe
match_first_index = 0
ib = ResourceJingYuanHeadAIB
ps-t0 = ResourceJingYuanHeadADiffuse
ps-t1 = ResourceJingYuanHeadALightMap
ps-t2 = ResourceJingYuanHeadAShadow
ps-t3 = ResourceJingYuanHeadAt3

[TextureOverrideJingYuanHeadB]
hash = 22147cfe
match_first_index = 12666
ib = ResourceJingYuanHeadBIB
ps-t0 = ResourceJingYuanHeadBDiffuse
ps-t1 = ResourceJingYuanHeadBLightMap
ps-t2 = ResourceJingYuanHeadBShadow

[TextureOverrideJingYuanBodyIB]
hash = 1be11c4f
handling = skip
drawindexed = auto

[TextureOverrideJingYuanBodyA]
hash = 1be11c4f
match_first_index = 0
ib = ResourceJingYuanBodyAIB
ps-t0 = ResourceJingYuanBodyADiffuse
ps-t1 = ResourceJingYuanBodyALightMap

[TextureOverrideJingYuanBodyB]
hash = 1be11c4f
match_first_index = 17772
ib = ResourceJingYuanBodyBIB
ps-t0 = ResourceJingYuanBodyBDiffuse
ps-t1 = ResourceJingYuanBodyBLightMap

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

[CommandListCreditInfo]
if $creditinfo == 0 && $active == 1
	pre Resource\ShaderFixes\help.ini\Notification = ResourceCreditInfo
	pre run = CustomShader\ShaderFixes\help.ini\FormatText
	pre $\ShaderFixes\help.ini\notification_timeout = time + 5.0
	$creditinfo = 1
endif

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

[ResourceJingYuanHairPosition]
type = Buffer
stride = 40
filename = JingYuanHairPosition.buf

[ResourceJingYuanHairBlend]
type = Buffer
stride = 32
filename = JingYuanHairBlend.buf

[ResourceJingYuanHairTexcoord]
type = Buffer
stride = 8
filename = JingYuanHairTexcoord.buf

[ResourceJingYuanHeadPosition]
type = Buffer
stride = 40
filename = JingYuanHeadPosition.buf

[ResourceJingYuanHeadBlend]
type = Buffer
stride = 32
filename = JingYuanHeadBlend.buf

[ResourceJingYuanHeadTexcoord]
type = Buffer
stride = 8
filename = JingYuanHeadTexcoord.buf

[ResourceJingYuanBodyPosition]
type = Buffer
stride = 40
filename = JingYuanBodyPosition.buf

[ResourceJingYuanBodyBlend]
type = Buffer
stride = 32
filename = JingYuanBodyBlend.buf

[ResourceJingYuanBodyTexcoord]
type = Buffer
stride = 20
filename = JingYuanBodyTexcoord.buf

[ResourceJingYuanHairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JingYuanHairA.ib

[ResourceJingYuanHeadAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JingYuanHeadA.ib

[ResourceJingYuanHeadBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JingYuanHeadB.ib

[ResourceJingYuanBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JingYuanBodyA.ib

[ResourceJingYuanBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = JingYuanBodyB.ib

[ResourceJingYuanHairADiffuse]
filename = JingYuanHairADiffuse.dds

[ResourceJingYuanHairALightMap]
filename = JingYuanHairALightMap.dds

[ResourceJingYuanHeadADiffuse]
filename = JingYuanHeadADiffuse.dds

[ResourceJingYuanHeadALightMap]
filename = JingYuanHeadALightMap.dds

[ResourceJingYuanHeadAShadow]
filename = JingYuanHeadAShadow.dds

[ResourceJingYuanHeadAt3]
filename = JingYuanHeadAt3.dds

[ResourceJingYuanHeadBDiffuse]
filename = JingYuanHeadBDiffuse.dds

[ResourceJingYuanHeadBLightMap]
filename = JingYuanHeadBLightMap.dds

[ResourceJingYuanHeadBShadow]
filename = JingYuanHeadBShadow.dds

[ResourceJingYuanBodyADiffuse]
filename = JingYuanBodyADiffuse.dds

[ResourceJingYuanBodyALightMap]
filename = JingYuanBodyALightMap.dds

[ResourceJingYuanBodyBDiffuse]
filename = JingYuanBodyBDiffuse.dds

[ResourceJingYuanBodyBLightMap]
filename = JingYuanBodyBLightMap.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by annplan"


; .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