PDA

View Full Version : How to make a background?



wolfman
06-02-2004, 08:57 PM
I need the best(high performance) way to draw a background in a scene.
I started with glDrawPixels() - but redrawing full screen slowes down fps terribly.
I optimized and made partial redrawing(only those parts that need to be redrawn). Performance increased, but it is still low.

Now I am plannig to try textured quad to use as a background, is that the only way?

CrazyButcher
06-02-2004, 11:06 PM
I am doing a tex quad as well, thinking that is the most common way to do it.

seed
06-04-2004, 04:40 AM
textured quad without depth testing and all not required stuff like lighting, blending, etc turned off will give you the best performance for a background