; hair

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

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

[Present]
post $active = 0
run = CommandListCreditInfo

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

[TextureOverridehairBlend]
hash = f16498bf
handling = skip
vb2 = ResourcehairBlend
if DRAW_TYPE == 1
	vb0 = ResourcehairPosition
	draw = 3278,0
endif
$active = 1

[TextureOverridehairTexcoord]
hash = 9ada013d
vb1 = ResourcehairTexcoord

[TextureOverridehairVertexLimitRaise]
hash = a00df230
override_vertex_count = 3278
override_byte_stride = 92

[TextureOverridehairIB]
hash = da11fd85
handling = skip
drawindexed = auto

[TextureOverridehairA]
hash = da11fd85
match_first_index = 0
run = CommandListSkinTexture
ib = ResourcehairAIB

[TextureOverridehairADiffuse]
hash = 25f3ae9b
this = ResourcehairADiffuse

ps-t4 = ResourcehairANormalMap

[TextureOverrideNekomata.HairA.Diffuse.1024]
hash = aed3d8bd
this = ResourcehairADiffuse

ps-t4 = ResourcehairANormalMap

[TextureOverridehairAMaterialMap]
hash = 0b10f1b1
this = ResourcehairAMaterialMap

[TextureOverridehairALightMap]
hash = 6347aaef
this = ResourcehairALightMap

[TextureOverridehairB]
hash = da11fd85
match_first_index = 9156
run = CommandListSkinTexture
ib = ResourcehairBIB

[TextureOverridehairBDiffuse]
hash = 207b8e63
this = ResourcehairBDiffuse

ps-t4 = ResourcehairBNormalMap

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

ps-t4 = ResourcehairBNormalMap

[TextureOverridehairBMaterialMap]
hash = fc53fc6f
this = ResourcehairBMaterialMap

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

[TextureOverridehairBLightMap]
hash = b3286755
this = ResourcehairBLightMap

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

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

[ResourcehairPosition]
type = Buffer
stride = 40
filename = hairPosition.buf

[ResourcehairBlend]
type = Buffer
stride = 32
filename = hairBlend.buf

[ResourcehairTexcoord]
type = Buffer
stride = 20
filename = hairTexcoord.buf

[ResourcehairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = hairA.ib

[ResourcehairBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = hairB.ib

[ResourcehairADiffuse]
filename = hairADiffuse.dds

[ResourcehairANormalMap]
filename = hairANormalMap.dds

[ResourcehairAMaterialMap]
filename = hairAMaterialMap.dds

[ResourcehairALightMap]
filename = hairALightMap.dds

[ResourcehairBDiffuse]
filename = hairBDiffuse.dds

[ResourcehairBNormalMap
filename = hairBNormalMap.dds

[ResourcehairBMaterialMap]
filename = hairBMaterialMap.dds

[ResourcehairBLightMap]
filename = hairBLightMap.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