PDA

View Full Version : Total translucency



Andrea Rossini
02-18-2002, 07:05 AM
Ok I perfectly buld my alpha channel and it works. but not like I want! Invisible parts get the color of the quad mapped with the texture! I want 'em to get the bg color!
with bg color I mean whatever is behind it!
How I get it ?
thanks.

nexusone
02-18-2002, 08:17 AM
You use the Alpha channel as a mask and a good example is at http://nehe.gamedev.net lession 33.

I am thinking you have made you mask reversed the just invert the alpha mask with a paint program.


Originally posted by Andrea Rossini:
Ok I perfectly buld my alpha channel and it works. but not like I want! Invisible parts get the color of the quad mapped with the texture! I want 'em to get the bg color!
with bg color I mean whatever is behind it!
How I get it ?
thanks.