SFML community forums

Help => Graphics => Topic started by: trilavia on December 26, 2012, 02:10:08 pm

Title: Render Texture and weak gpu
Post by: trilavia on December 26, 2012, 02:10:08 pm
I know that if it comes to normal texture, on most intel gpus etc it can be only 512x512. My question is if render texture must be 512x512 too? If yes, is there any ready class that acts to me like one render texture and actually it cointains few smaller render textures?

I also want to know the same about normal textures if there is such a class that allows me to have 800x200 textures on all gpus and render it.

Thanks
Title: Re: Render Texture and weak gpu
Post by: Laurent on December 26, 2012, 02:27:50 pm
RenderTexture has the same limitations as Texture, because it renders to a regular Texture ;)

There are BigImage/BigSprite classes in Thor
http://www.bromeon.ch/libraries/thor/v2.0/doc/classthor_1_1_big_texture.html

As far as I know, there's no equivalent for RenderTexture. But it should be very easy to implement.