SFML community forums
General => Feature requests => Topic started by: simmerd on September 20, 2009, 07:04:05 pm
-
Sprites are a great feature, but I want to use them for quick gui backgrounds, but I can't b/c the sprite texturing mode is set to clamp - which totally makes sense for a normal sprite.
But, it would be cool if there were a setting on the sprite to set the clamp mode to wrap/repeat.
Yes, I know I could use OpenGL... ;)
-
It's impossible because textures can be padded with white pixels (for GPUs not supporting NPOT dimensions).
Yes, I know I could use OpenGL...
You can also clone/repeat your sprite ;)
-
You can also clone/repeat your sprite ;)
Which will be a bit hakish because we don't have clipping, yet. *shove* ;)
-
But you have SetSubRect :)
-
Good point, I will repeat the sprite instead.. thanks...