openclonk/planet/Decoration.ocd/Clonk.ocd/AltSkins.ocd/Ogre.material

33 lines
722 B
Plaintext

material Clonk_Ogre
{
receive_shadows on
technique
{
pass
{
scene_blend alpha_blend
ambient 1 1 1 1
diffuse 1 1 1 1
specular 0.000000 0.000000 0.000000 1.000000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit Clonk
{
texture Ogre.png
tex_address_mode wrap
filtering trilinear
//colour_op_ex blend_current_alpha src_current src_texture
// Don't blend alpha, to make sure we have full intensity at the base/overlay border region
//alpha_op_ex add src_current src_texture
}
//texture_unit Light
//{
// apply lighting
// colour_op_ex modulate src_current src_diffuse
// alpha_op_ex modulate src_current src_diffuse
//}
}
}
}