; NatlanNPC1F

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

[TextureOverrideNatlanNPC1FPosition]
if $has_blend == 1
hash = 242b1abf
vb0 = ResourceNatlanNPC1FPosition
endif

[TextureOverrideNatlanNPC1FBlend]
$had_blend = 1
hash = 2ca0d388
vb1 = ResourceNatlanNPC1FBlend
handling = skip
draw = 54455,0 

[TextureOverrideNatlanNPC1FTexcoord]
if $has_blend == 1
hash = 02971aee
vb1 = ResourceNatlanNPC1FTexcoord
endif

[TextureOverrideNatlanNPC1FVertexLimitRaise]
if $has_blend == 1
hash = 513051b8
endif

[TextureOverrideNatlanNPC1FIB]
if $has_blend == 1
hash = 39558a5f
handling = skip
drawindexed = auto
endif

[TextureOverrideNatlanNPC1FHead]
if $has_blend == 1
hash = 39558a5f
match_first_index = 0
ib = ResourceNatlanNPC1FHeadIB
ps-t0 = ResourceNatlanNPC1FHeadDiffuse
ps-t1 = ResourceNatlanNPC1FHeadLightMap
run = CommandList\global\ORFix\NNFix
endif

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

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

[ResourceNatlanNPC1FPosition]
type = Buffer
stride = 40
filename = NatlanNPC1FPosition.buf

[ResourceNatlanNPC1FBlend]
type = Buffer
stride = 32
filename = NatlanNPC1FBlend.buf

[ResourceNatlanNPC1FTexcoord]
type = Buffer
stride = 12
filename = NatlanNPC1FTexcoord.buf

[ResourceNatlanNPC1FHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = NatlanNPC1FHead.ib

[ResourceNatlanNPC1FHeadDiffuse]
filename = NatlanNPC1FHeadDiffuse.dds

[ResourceNatlanNPC1FHeadLightMap]
filename = NatlanNPC1FHeadLightMap.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