   Multitexture masking
  Hello,I want to render a tree. Each branch of the tree is a texture with masking. The problem is, to produce masking effect, I have to render the branches one by one. But I don't want to distinguish the branches in the model file...My final option is using multitexture in masking. The mask is ok but the branches become transparent...because the lack of info about multitexture extension, it's hard to me to trace the solution...Can anyone help? Thank you very much.[edited by - mannam on August 4, 2003 1:21:27 AM]
  Use a tga with alpha channel + ALPHA_TESTING and no multitexturing   "C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"  ;  Thanks ShlomiSteinbergBut I used jpeg as the texture format in my implementation...so... ;  No idea about jpeg, you can use jpeg with alpha channel, right?Any way I use bmps, tgas, rgbs, ddss in my app.   "C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"  ;  anyway, thanks for help 