Archived

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

draw to texture or texture swapping?

This topic is 5602 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

Okay, I''m busy beavering away on my 2d shooter, and it uses tile based rendering. At the moment, I just feed in a ton of vertices into an array to render each tile strip using drawArrays with triangle strip mode. However, the textures generally need to swap around a lot so I have to use a lot of glBindTexture calls. I was wondering if it would be any faster to render the strip of tiles into one spare texture area and then render one large quad for the tile strip instead of 7. I''m thinking there might be bandwidth issues and possible fill-rate issues, but that''s why I''m asking

Share this post


Link to post
Share on other sites