Re: [Plib-users] Texture with transparency
Brought to you by:
sjbaker
From: Dave M. <dp...@ef...> - 2000-03-13 23:53:44
|
I don't think there is any way to pass a color kty for transparency to PLIB. You need to convert your texture to a SGI image and give it an alpha channel or come up with a clever use of glBlendFunc to get the desired result. Anyone know the right Blend function to use? At 3/13/00 11:03:00 PM, you wrote: >Hi all, > >I will load a bmp as texture with the ssgTexture. Then I need to define >the color black as transparency that means all pixels of he image with >the color black must have a alpha-value 0. >Has anybody an code-example, which can do this work ? > >Michael > > >_______________________________________________ >plib-users mailing list >pli...@li... >http://lists.sourceforge.net/mailman/listinfo/plib-users > |