
I've been reading this part of the wiki. It describes how to get a tree texture working if the texture had an alpha layer on it. But in my case the alpha layer is a seperate texture. I tried quite alot of the ideas in that page and altered them abit, but none of them seem to work. My end result is pretty much the same. if not worse at some times. Here are both the textures.


My material file is something like this.
Code: Select all
material 05_-_Default
{
technique
{
pass
{
lighting off
ambient 1 1 1 1
diffuse 1 1 1 1
specular 0 0 0 0
emissive 0 0 0
scene_blend alpha_blend
depth_write off
texture_unit
{
texture tree_03.jpg
tex_coord_set 0
colour_op modulate
}
texture_unit
{
texture tree_03_alpha.jpg
tex_coord_set 0
colour_op modulate
}
}
}
}
