
Wierd ass bug. I get holes in my texture if shadows are off. Texture made with mapconv.
Moderator: Moderators
Probably someone can explain better but AFAIK the first line just enables the alpha test. So for every processed pixel the alpha test will be executed.Beherith wrote: glEnable(GL_ALPHA_TEST);
glAlphaFunc(GL_GREATER, 0.9f);
Could someone explain to me what this is supposed to do?
Hmmm I never worked with any of the map convertes.Beherith wrote:My map texture is a 24 bit BMP. Thats more or less all that mapconv is willing to eat. I never used any image file with an alpha channel in it.
Didnt even know you could use alpha in a map texture...
Edit: Ok i tested some more, mapconv eats 32bit bmp with alpha channel. I set the alpha to a variety of levels, but mainly min-max. Still nothing ingame; no transparency.