Skip to main content

Opacity Map

1 reply [Last post]
Joined: 2004-11-09

How can I use the following image like a opacity map ??

I mean, I got a quad. Single QuadArray with 4 vertices mapped... and then, I look around in the TransparencyAttributes object but havent found anything to do this...

any help will be appreciate!
thank you!

Message was edited by: guiramos

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Alessandro Borges

Take a look at Texture2D contructor. There is some texture formats you can use

"format - data format of Textures saved in this object. One of INTENSITY,

I guess one of then will help you.
If I am not wrong, the first 4 formats uses monochrome images (for
Alpha/Luminance channel), RGB is 3 color channel, and RGBA uses 4 channel (as
PNG RGBA images).

Do not forget to set a transparency attribute to your quad.


Converse com seus amigos em tempo real com o Yahoo! Messenger

To unsubscribe, e-mail:
For additional commands, e-mail: