Set Texture Alpha

  • Follow


Hi,

  How can I set the alpha value of a texture without setting each
pixel's alpha? Any OpenGL functions can do that? Thank you

f.f

0
Reply f 10/26/2004 8:14:07 AM

f.f wrote:
> Hi,
> 
>   How can I set the alpha value of a texture without setting each
> pixel's alpha? Any OpenGL functions can do that? Thank you
> 

Textures are combined with the underlying
polygon. Set alpha in the polygon.



-- 
<\___/>          For email, remove my socks.
/ O O \
\_____/  FTB.    The Cheat is not dead!


0
Reply fungus 10/26/2004 10:23:46 AM


fungus wrote:
> f.f wrote:
> 
>> Hi,
>>
>>   How can I set the alpha value of a texture without setting each
>> pixel's alpha? Any OpenGL functions can do that? Thank you
>>
> 
> Textures are combined with the underlying
> polygon. Set alpha in the polygon.
> 
> 
> 
Thanks, let me try.

f.f
0
Reply f 10/26/2004 3:31:51 PM

Another option would be to use another texture just for alpha channel (and 
use one of the multitexturing functions which I'm still trying to figure 
out). You can neatly combine both (texture and alpha) in a single TGA file 
for instance.

-- 
Adam Kadlubek | uz - at - gsi - dot - pl 

0
Reply Adam 10/28/2004 7:42:35 PM

3 Replies
150 Views

(page loaded in 0.059 seconds)

Similiar Articles:













7/20/2012 12:31:27 PM


Reply: