; Lynette

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

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

[TextureOverrideLynettePosition]
hash = 98eb2db4
match_priority = 1
if $\p\Master\swapvar==1
	vb0 = ResourceLynettePosition
endif

	
[TextureOverrideLynetteBlend]
hash = 42addacd
match_priority = 1
if $\p\Master\swapvar==1
	vb1 = ResourceLynetteBlend
	handling = skip
	draw = 26067,0
endif

	
[TextureOverrideLynetteTexcoord]
hash = f828b5be
match_priority = 1
if $\p\Master\swapvar==1
	vb1 = ResourceLynetteTexcoord
endif

	
[TextureOverrideLynetteVertexLimitRaise]
hash = bb7a73b6
match_priority = 1
if $\p\Master\swapvar==1
endif

	
[TextureOverrideLynetteIB]
hash = 39d89255
match_priority = 1
if $\p\Master\swapvar==1
	;hash = 010cf88a
	handling = skip
	drawindexed = auto
endif

	
[TextureOverrideLynetteHead]
hash = 39d89255
match_priority = 1
if $\p\Master\swapvar==1
	;hash = 010cf88a
	match_first_index = 0
	ib = ResourceLynetteHeadIB
	ps-t0 = ResourceLynetteHeadDiffuse
	ps-t1 = ResourceLynetteHeadLightMap
endif

	
[TextureOverrideLynetteBody]
hash = 39d89255
match_priority = 1
if $\p\Master\swapvar==1
	;hash = 010cf88a
	match_first_index = 16257
	ib = ResourceLynetteBodyIB
	ps-t0 = ResourceLynetteBodyDiffuse
	ps-t1 = ResourceLynetteBodyLightMap
	ps-t2 = ResourceLynetteBodyShadow
	run = CommandList\global\ORFix\ORFix
endif

	
	
[TextureOverrideLynetteDress]
hash = 39d89255
match_priority = 1
if $\p\Master\swapvar==1
	;hash = 010cf88a
	match_first_index = 65223
	ib = ResourceLynetteDressIB
	ps-t0 = ResourceLynetteDressDiffuse
	ps-t1 = ResourceLynetteDressLightMap
endif

	
[TextureOverrideLynetteExtra]
hash = 39d89255
match_priority = 1
if $\p\Master\swapvar==1
	;hash = 010cf88a
	match_first_index = 68358
	ib = ResourceLynetteExtraIB
	ps-t0 = ResourceLynetteExtraDiffuse
	ps-t1 = ResourceLynetteExtraLightMap
	ps-t2 = ResourceLynetteExtraShadow
	run = CommandList\global\ORFix\ORFix
endif

	
	
; CommandList -----------------------
	
; Resources -------------------------
	
[ResourceLynettePosition]
type = Buffer
stride = 40
filename = LynettePosition.buf

[ResourceLynetteBlend]
type = Buffer
stride = 32
filename = LynetteBlend.buf

[ResourceLynetteTexcoord]
type = Buffer
stride = 20
filename = LynetteTexcoord.buf

[ResourceLynetteHeadIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = LynetteHead.ib

[ResourceLynetteBodyIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = LynetteBody.ib

[ResourceLynetteDressIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = LynetteDress.ib

[ResourceLynetteExtraIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = LynetteExtra.ib

[ResourceLynetteHeadDiffuse]
filename = LynetteHeadDiffuse.dds

[ResourceLynetteHeadLightMap]
filename = LynetteHeadLightMap.dds

[ResourceLynetteBodyDiffuse]
filename = LynetteBodyDiffuse.dds

[ResourceLynetteBodyLightMap]
filename = LynetteBodyLightMap.dds

[ResourceLynetteBodyShadow]
filename = LynetteBodyShadow.dds

[ResourceLynetteDressDiffuse]
filename = LynetteDressDiffuse.dds

[ResourceLynetteDressLightMap]
filename = LynetteDressLightMap.dds

[ResourceLynetteExtraDiffuse]
filename = LynetteExtraDiffuse.dds

[ResourceLynetteExtraLightMap]
filename = LynetteExtraLightMap.dds

[ResourceLynetteExtraShadow]
filename = LynetteExtraShadow.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

; 4.1 Character Fix 
[TextureOverride41FixVertexLimitRaise0]
hash = 329f5c91
match_priority = 1
if $\p\Master\swapvar==1
match_priority = 1
endif

