Hi; In my app, the alpha channel in difuse textures is used as a mask (like fences, leaves...). When i use
glEnable(GL_ALPHA_TEST);
glAlphaFunc(GL_GREATER,0.5f);
with GLSL shaders, it didnt work, all pixels r drawned...but when i use it with nv_reg_combiners or ati_fragment_shader, it works...whats happening?



