How do I render an entire frame to a Texture2D?

Posted by redcodefinal on Game Development See other posts from Game Development or by redcodefinal
Published on 2012-11-11T08:07:12Z Indexed on 2012/11/12 17:23 UTC
Read the original article Hit count: 177

Filed under:
|

I asked a question here: C# XNA Make rendered screen a texture2d

But, I ended up not getting the exact result I was looking for since I didn't ask the question right.

In a game I am writing, I render an extremely large city out of objects, this can cause lag when moving the camera to view things that are off screen. I need a way to render then ENTIRE city, even the stuff that is off screen, and make it into a Texture2D.

The answer I chose for the last one didn't work entirely right because it only gets what is on screen, not what is off.

© Game Development or respective owner

Related posts about XNA

Related posts about c#