Backgrounds

Is there a way to set a Background to a certain image in OpenGL?

not that I know of… then again, my knowledge of OpenGL is Extremely limited!

What you can do is draw a large rectangle (with GL_QUADS or many little triangles) far away and put a texture on it.

Cheers

Navreet

In fact they don’t even have to be far away, just clear the z buffer and then draw your background using a 2D orthognal projection and have depth writes disabled. This is the easiest and fastest way to get a backdrop onto the screen I think.