Does anyone know how can i load a background picture for my OpenGL program or a texture? By deafult the background is black and i know i can change it by using following code:
However, i want to load a a image and set it as background. Anyone please help me?Code:glClearColor(1.0f, 0.0f, 0.0f, 0.5f);
Thanks in advance. Help would be really apperciated!!