shaderdef standard

//shadercode phong_pixel phong_vertex standard_ffp
shadercode standard_ffp

texturemap mat_texture0
matrix mat_texturetransform	identity
//color mat_texturefactor	ffffffff

bool mat_textureusetexture0			true
bool mat_rendernolight				true
bool mat_textureusetransform		false
bool mat_texturevertexcolor			true
bool mat_renderblendadd				false
bool mat_renderzwritedisable		false
bool mat_samplerstatefilterenable	false
bool mat_texturemodulate		false

end


//-----------------------
// flat
//-----------------------
shaderdef flat

shadercode standard_ffp

color		mat_texturefactor	ffffffff
texturemap	mat_texture0

bool mat_rendernolight			true
bool mat_textureusetexture0		true
bool mat_texturemodulate		false

end

//-----------------------
// sprite
//-----------------------
shaderdef sprite

shadercode sprite_ffp

matrix mat_texturetransform identity
texturemap mat_texture0				
color mat_texturefactor	ffffffff

bool mat_rendernolight					true
bool mat_renderblendadd					false
bool mat_textureusetexture0				true
bool mat_textureusetransform			false
bool mat_texturemodulate				false
bool mat_textureadd						false
bool mat_renderzwritedisable			false
bool mat_samplerstatefilterenable		false

bool mat_renderstencilenable			false
bool mat_renderstencilenable			false
bool mat_renderstencilwritereplace		false
bool mat_renderstencilwritezero			false
bool mat_renderblendzeroone				false
bool mat_renderalphatest				false

end

shaderdef sprite_stencil_replace

shadercode sprite_ffp

texturemap mat_texture0				

bool mat_renderzwritedisable			true
bool bool mat_renderstencilenable		true
bool mat_renderstencilwritereplace		true
bool mat_renderblendzeroone				true
bool mat_renderalphatest				true

end

shaderdef sprite_stencil_zero

shadercode sprite_ffp

texturemap mat_texture0				

bool mat_renderzwritedisable			true
bool bool mat_renderstencilenable		true
bool mat_renderstencilwritezero			true
bool mat_renderblendzeroone				true
bool mat_renderalphatest				true

end


//-----------------------
// pickup
//-----------------------
shaderdef pickup

shadercode sprite_ffp

matrix mat_texturetransform identity
texturemap mat_texture0
texturemap mat_texture1
color mat_texturefactor	ffffffff

bool mat_rendernolight			true
bool mat_renderblendadd			false
bool mat_textureusetexture0		true
bool mat_textureusetransform		false
bool mat_texturemodulate		false
bool mat_texturemodulate2x		false
bool mat_textureusetexture1		false
bool mat_texturemultiblendalpha 	false
bool mat_texturemultiblendadd		false
bool mat_texturemultimodulate		false

end

//-----------------------
// font
//-----------------------
shaderdef font

shadercode font sprite_ffp

color mat_texturefactor	ffffffff
texturemap mat_texture0

bool mat_rendernolight			true
bool mat_textureusetexture0		true
bool mat_texturemodulate		true

end
