• Advertisement

Archived

This topic is now archived and is closed to further replies.

Alternatives to texture background images?

This topic is 5157 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there a smarter way to throw a static background image to the screen, than using a large texture? As the texture size needs to be a power of 2, it means wasted blank space on the texture. Splitting the texture into many small texure chunks to get a better match for size isn''t desirable either. So, with a fixed screen resolution, and a static background image, are there any tricks to avoid the texture hassle?

Share this post


Link to post
Share on other sites
Advertisement
There''s the glDrawPixels function to write a image directly to the framebuffer but it''s generally slower than the texture approach, so i think it''s generally the best way to use one background texture.

Share this post


Link to post
Share on other sites

  • Advertisement