Hi all,
I’m trying to billboard textures,
I was wondering which file format I could use? I know I need a RGBA fileformat, anyone suggestions in format and/or image-editor?
Thanx in advance,
Daniel Palomo van Es.
Ps. Does anyone know if there is a nice texturelib that does the billboarding for me ?
One way that I have simulated the billboard textures in DirectX is to use Paletted Textures Extension. This is part of the extensions to opengl. With this method you specify a texture’s color in a single byte, then each of these 256 colors get mapped to a color. All you have to do is set one of the alphas to zero and that color will be transparent.
There may be a better way, but I know this works and is pretty fast (super fast if you already have to enable blending for something else.)