Post by Kenta Uzumaki on Mar 17, 2013 14:36:01 GMT
Need help finding out what is wrong with this
My material file
My material file
material Terrain/CaveofSacrificeCeiling
{
receive_shadows on
technique
{
pass
{
lighting off
texture_unit
{
texture cos_texture.png
scale 0.05 0.05
}
}
}
}
material Terrain/Cave_of_Sacrificeterrain
{
receive_shadows on
technique
{
pass
{
lighting off
texture_unit
{
texture cos_texture.png
scale 0.05 0.05
}
}
pass
{
lighting off
scene_blend alpha_blend
depth_func equal
texture_unit
{
texture caveofsacrificeterrainmask1.png
alpha_op_ex source1 src_texture src_texture
colour_op_ex source2 src_texture src_texture
}
texture_unit
{
texture cos_texture.png
scale 0.10 0.10
colour_op_ex blend_diffuse_alpha src_texture src_current
}
}
pass
{
lighting off
scene_blend alpha_blend
depth_func equal
texture_unit
{
texture caveofsacrificeterrainmask2.png
alpha_op_ex source1 src_texture src_texture
colour_op_ex source2 src_texture src_texture
}
texture_unit
{
texture cos2_texture.png
scale 0.10 0.10
colour_op_ex blend_diffuse_alpha src_texture src_current
}
}
}
}