; leg

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

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

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverridelegBlend]
hash = f5efd8b1
handling = skip
vb2 = ResourcelegBlend
if DRAW_TYPE == 1
	vb0 = ResourcelegPosition
	draw = 3412,0
endif
$active = 1

[TextureOverridelegTexcoord]
hash = 2a4f8c9e
vb1 = ResourcelegTexcoord

[TextureOverridelegVertexLimitRaise]
hash = 99132d05
override_vertex_count = 3412
override_byte_stride = 96

[TextureOverridelegIB]
hash = 74688145
handling = skip
drawindexed = auto

[TextureOverridelegA]
hash = 74688145
match_first_index = 0
run = CommandListSkinTexture
ib = ResourcelegAIB

[TextureOverridelegADiffuse]
hash = 207b8e63
this = ResourcelegADiffuse

ps-t4 = ResourcelegANormalMap

[TextureOverrideNekomata.HairB.Diffuse.1024]
hash = 60687646
this = ResourcelegADiffuse

ps-t4 = ResourcelegANormalMap

[TextureOverridelegAMaterialMap]
hash = fc53fc6f
this = ResourcelegAMaterialMap

[TextureOverrideNekomata.HairB.LightMap.1024]
hash = 4f3f7df0
this = ResourcelegAMaterialMap

[TextureOverridelegALightMap]
hash = b3286755
this = ResourcelegALightMap

[TextureOverrideNekomata.HairB.MaterialMap.1024]
hash = a5529690
this = ResourcelegALightMap

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

[ResourcelegPosition]
type = Buffer
stride = 40
filename = legPosition.buf

[ResourcelegBlend]
type = Buffer
stride = 32
filename = legBlend.buf

[ResourcelegTexcoord]
type = Buffer
stride = 24
filename = legTexcoord.buf

[ResourcelegAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = legA.ib

[ResourcelegADiffuse]
filename = legADiffuse.dds

[ResourcelegANormalMap]
filename = legANormalMap.dds

[ResourcelegAMaterialMap]
filename = legAMaterialMap.dds

[ResourcelegALightMap]
filename = legALightMap.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by ming chen"

; .ini generated by XXMI (XX-Model-Importer)
; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues