; crab

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

[Present]
post $active = 0
run = CommandListCreditInfo

[TextureOverridecrabPosition]
hash = 716eff48
vb0 = ResourcecrabPosition

[TextureOverridecrabBlend]
hash = 8bb1c21b
vb1 = ResourcecrabBlend
handling = skip
draw = 201691,0 
$active = 1
[TextureOverridecrabTexcoord]
hash = b98ac63a
vb1 = ResourcecrabTexcoord

[TextureOverridecrabVertexLimitRaise]
hash = d8f04c0d

[TextureOverridecrabIB]
hash = 94eb90bb
handling = skip
drawindexed = auto

[TextureOverridecrabHead]
hash = 94eb90bb
match_first_index = 0
ib = ResourcecrabHeadIB
ps-t0 = ResourcecrabHeadDiffuse
ps-t1 = ResourcecrabHeadLightMap
ps-t2 = ResourcecrabHeadShadow

[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 + 25.0
	$creditinfo = 1
endif


[ResourcecrabPosition]
type = Buffer
stride = 40
filename = crabPosition.buf

[ResourcecrabBlend]
type = Buffer
stride = 32
filename = crabBlend.buf

[ResourcecrabTexcoord]
type = Buffer
stride = 12
filename = crabTexcoord.buf

[ResourcecrabHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = crabHead.ib

[ResourcecrabHeadDiffuse]
filename = crabHeadDiffuse.dds

[ResourcecrabHeadLightMap]
filename = crabHeadLightMap.dds

[ResourcecrabHeadShadow]
filename = crabHeadShadow.dds
[ResourceCreditInfo]
type = Buffer
data = ""

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