Short Questions on how to code a texture thing

BlitzMax Modules Forums/MiniB3D/Short Questions on how to code a texture thing

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok... It probably isn't hard...
I want to have a mesh, a texture for the map, and a texture for the opacity map(the black and white one).
How do I combine them? To make.. lets say a tree(with a texture that has holes trough it)