Alpha test with multi-texture......

Hi Gurus,

I’m scratching my head like crazy at the moment. My alpha test works just fine with single texture, but when I go to multitexture none of the fragments are culled. How exactly does the alpha component get calculated for alpha test with more than one texture unit active? I mean, how is the alpha combined from the two textures (I’m using GL_REPLACE, GL_MODULATE).

Thanks.

The first texture is multiplied with second texture.