02-24-2001, 11:11 PM
i'm using the transparency technique described by nate @ scuzzy.net...it works great, but i have one problem, which i know can be solved by a simple function call or something (i just don't know which one). ok here goes: i have a texture with an alpha channel. the same texture is mapped onto two rotating polygons that are right next to each other. poly 2 is behind poly 1, so i render it first. but if the camera moves and poly 1 gets behind poly 2, then the alpha channel on the texture gets confused and its silhouette can be seen. obviously this is due to the fact that i am rendering in the wrong order, but if the camera is free to move then i can't help it. i have enabled depth testing. does anyone have any ideas? if you do, please post them. thanks.