; NatlanNPC1FF

; Constants -------------------------
[Constants]
global $had_blend = 0
global $has_blend = 0

[Present]
if $had_blend == 1
    $has_blend = 1
else
    $has_blend = 0
endif
$had_blend = 0

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

[TextureOverrideNatlanNPC1FFPosition]
if $has_blend == 1
hash = 820dcbcb
vb0 = ResourceNatlanNPC1FFPosition
endif

[TextureOverrideNatlanNPC1FFBlend]
$had_blend = 1
hash = 47a290b2
vb1 = ResourceNatlanNPC1FFBlend
handling = skip
draw = 54455,0 

[TextureOverrideNatlanNPC1FFTexcoord]
if $has_blend == 1
hash = b73fb2cd
vb1 = ResourceNatlanNPC1FFTexcoord
endif

[TextureOverrideNatlanNPC1FFVertexLimitRaise]
if $has_blend == 1
hash = 2261c50b
endif

[TextureOverrideNatlanNPC1FFIB]
if $has_blend == 1
hash = af3abe86
handling = skip
drawindexed = auto
endif

[TextureOverrideNatlanNPC1FFHead]
if $has_blend == 1
hash = af3abe86
match_first_index = 0
ib = ResourceNatlanNPC1FFHeadIB
ps-t0 = ResourceNatlanNPC1FFHeadDiffuse
ps-t1 = ResourceNatlanNPC1FFHeadLightMap
run = CommandList\global\ORFix\NNFix
endif

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

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

[ResourceNatlanNPC1FFPosition]
type = Buffer
stride = 40
filename = NatlanNPC1FFPosition.buf

[ResourceNatlanNPC1FFBlend]
type = Buffer
stride = 32
filename = NatlanNPC1FFBlend.buf

[ResourceNatlanNPC1FFTexcoord]
type = Buffer
stride = 12
filename = NatlanNPC1FFTexcoord.buf

[ResourceNatlanNPC1FFHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NatlanNPC1FFHead.ib

[ResourceNatlanNPC1FFHeadDiffuse]
filename = NatlanNPC1FFHeadDiffuse.dds

[ResourceNatlanNPC1FFHeadLightMap]
filename = NatlanNPC1FFHeadLightMap.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