c++ Programming Glossary: gl_blend
Can't get masking to work correctly with OpenGL http://stackoverflow.com/questions/10400651/cant-get-masking-to-work-correctly-with-opengl code which isn't working draw_img background ... glEnable GL_BLEND glDisable GL_DEPTH_TEST glBlendFunc GL_ONE GL_ZERO draw_img..
glTexImage2D failing in GLUT/FreeType example with OpenGL 3 and above http://stackoverflow.com/questions/11150983/glteximage2d-failing-in-glut-freetype-example-with-opengl-3-and-above Enable blending necessary for our alpha texture glEnable GL_BLEND glBlendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA GLfloat black..
I'm seeing artifacts when I attempt to rotate an image http://stackoverflow.com/questions/1191093/im-seeing-artifacts-when-i-attempt-to-rotate-an-image surface pixels glEnable GL_TEXTURE_2D glEnable GL_BLEND glBlendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA else SDL_Quit return..
How can I load 8 bit bmp with OpenGL? http://stackoverflow.com/questions/11980790/how-can-i-load-8-bit-bmp-with-opengl offset tempPixelData glEnable GL_ALPHA_TEST glEnable GL_BLEND glDrawPixels frWidth frHeight GL_RGBA GL_UNSIGNED_BYTE msFrame..
Using SDL_ttf and OpenGL, TTF_RenderUTF8_Blended print Red rectangle http://stackoverflow.com/questions/12700085/using-sdl-ttf-and-opengl-ttf-renderutf8-blended-print-red-rectangle g_FontTextureId glEnable GL_TEXTURE_2D glEnable GL_BLEND glBegin GL_QUADS glTexCoord2f 0.0f 0.0f glVertex2f 0.0f 0.0f.. 1.0f 0.0f glVertex2f 173.0f 0.0f glEnd glDisable GL_BLEND glDisable GL_TEXTURE_2D c opengl sdl sdl ttf share improve.. code to enable regular alpha blending in OpenGL glEnable GL_BLEND glBlendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA This info used..
Cannot run Opengl program http://stackoverflow.com/questions/17632340/cannot-run-opengl-program 1.0f 1.0f 1.0f switch nStep Wire frame case 0 glEnable GL_BLEND glEnable GL_LINE_SMOOTH shaderManager.UseStockShader GLT_SHADER_FLAT.. GL_KEEP GL_KEEP GL_KEEP glDisable GL_STENCIL_TEST glEnable GL_BLEND glEnable GL_LINE_SMOOTH glPolygonMode GL_FRONT_AND_BACK GL_LINE.. GL_FRONT_AND_BACK GL_FILL glEnable GL_CULL_FACE glDisable GL_BLEND glDisable GL_LINE_SMOOTH glDisable GL_STENCIL_TEST Render..
OpenGL - mask with multiple textures http://stackoverflow.com/questions/5097145/opengl-mask-with-multiple-textures share improve this question This should work glEnable GL_BLEND Use a simple blendfunc for drawing the background glBlendFunc..
|