Alpha texture on tree
Blitz3D Forums/Blitz3D Beginners Area/Alpha texture on tree
| ||
I won make a 3d Tree for a game, but i can make the alpha texture work... someone can tell me how to do that?.. thanks... |
| ||
export your tree texture as PNG or TGA with alpha and load in to your game with LoadTexture("MyTex.png",2) and apply to your model and it will work way i do is to export texture as a DDS with 1 bit alpha (DX3) and then just load that texture with MASK flag(4) and its working like a charm.. |
| ||
Be warned though. The alphaed branches may causes rendering glitches with other alphaed meshes. You can get away with masked textures if you use it well :o) Oops, Alien has just suggestes that :D |
| ||
thanks. it works!!... my error was i dont make the alfa channel in photoshop... and my png o tga dont save with the alfa channel... thanks... one less problem... :) |