B3D trees with smooth alpha leafs

Blitz3D Forums/Blitz3D Programming/B3D trees with smooth alpha leafs

JFK is correct. Here is an example showing some trees I have made.



The only difference is the following line.
leaves = LoadTexture ("leaves2_mask.png",1+4);mask version
leaves = LoadTexture ("leaves2_alpha.png",1+2);alpha version


note that the alpha version does not have correct z-depth,... this needs to be done in an extra step when using alpha blending.