Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Change Maximum (Render)Texture Size?  (Read 2255 times)

0 Members and 1 Guest are viewing this topic.

chilliboy999

  • Newbie
  • *
  • Posts: 16
    • View Profile
Change Maximum (Render)Texture Size?
« on: June 13, 2013, 01:02:34 pm »
Hey guys,
on my pc the maximum Texture size is 4096 (
Texture.MaximumSize
)
How can i change the limit or do i have to put many big textures next to each other?
 :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Change Maximum (Render)Texture Size?
« Reply #1 on: June 13, 2013, 03:00:06 pm »
This is a hardware limit, you cannot change it (otherwise there would be no maximum size ;)).

4096 is already a big value, some old crappy cards may not support textures above 512x512.
Laurent Gomila - SFML developer

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Change Maximum (Render)Texture Size?
« Reply #2 on: June 13, 2013, 04:26:11 pm »
You could use the workaround thor::BigTexture I implemented in Thor. But it does not support all the features of sf::Texture yet.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: