17 years, 1 month ago
Highlights
Community contributions featured17 years, 1 month ago
No no, it wasn't that it was this part of the loadtexture function...[SOURCE]if(m_pPixelData == 0)if(m_pPixelData[i+1] == 0)if(m_pPixelData[i+2] == 0){// Make alpha}[/SOURCE]Sho…
17 years, 1 month ago
When I produce an EXE in Debug mode, the textures in my application render no problem, the FPS is about 128. When I produce the EXE as a release application, there are no textur…
17 years, 1 month ago
I'm having some trouble getting my textures to blend correctly with alpha in Ortho mode. My texture loading code set black pixels to have 0.0f alpha and non-black pixels to have…
17 years, 2 months ago
I cannot understand this... I have an SDL application, setup for OpenGL. Alpha blending is enabled and I can render a quad in 2D mode with alpha blending as long as I run the de…
17 years, 2 months ago
Latest Activity
See all in DiscussionsNo no, it wasn't that it was this part of the loadtexture function...[SOURCE]if(m_pPixelData == 0)if(m_pPixelData[i+1] == 0)if(m_pPixelData[i+2] == 0){// Make …
17 years, 1 month ago
Ah! I found it here...// Don't render pixels lower than this (RGBA=0,0,0,0)glAlphaFunc(GL_GREATER,0.001f);// Enable the alpha testglEnable(GL_ALPHA_TEST);This part of my GL …
17 years, 1 month ago
OK, So most of my GL functions are in a class wrapper.I stripped the main parts of the class out, …
17 years, 1 month ago