; ******************************** Texture stage 0 definitions
; Template syntax:
;   blend - <SourceBlend>, <DestBlend>
;   color - <ColorOp>, <ColorArg1>, <ColorArg2>
;   alpha - <AlphaOp>, <AlphaArg1>, <AlphaArg2>
; Naming convention uses DirecX defined names

; Default Shader - defines the most common render-states to render an texture
[default]
blend	 	= D3DBLEND_SRCALPHA, D3DBLEND_INVSRCALPHA
color		= D3DTOP_MODULATE, D3DTA_TEXTURE, D3DTA_DIFFUSE
alpha		= D3DTOP_SELECTARG1, D3DTA_TEXTURE, D3DTA_CURRENT

; Menu, Font&others - main difference - AlphaOp setted up as modulate
[std_aop]
inherit		= default
alpha		= D3DTOP_MODULATE, D3DTA_TEXTURE, D3DTA_DIFFUSE

[gamma_flash]
inherit		= std_aop
blend	 	= D3DBLEND_ONE, D3DBLEND_INVSRCCOLOR

[gamma_fade]
inherit		= std_aop
blend	 	= D3DBLEND_ZERO, D3DBLEND_INVSRCCOLOR

[flares]
inherit		= default
blend		= D3DBLEND_ONE, D3DBLEND_INVSRCCOLOR

[vengine]
inherit		= default
blend		= D3DBLEND_SRCCOLOR, D3DBLEND_ONE

[shadow_vol]
; Since destcolor=SRCBLEND * SRC_COLOR + DESTBLEND * DEST_COLOR,
; this should result in the tri color being completely dropped
inherit		= default
blend		= D3DBLEND_ZERO, D3DBLEND_ONE
