Hello,
in my Game, i'm prerendering seperate chunks of Tiles, so they don't have to be rendered all in runtime, to get a better FPS. So i'm using an RenderTexture. Works fine for me, but my Textures have semi-transparent pixels on the edges to get them smooth. But when I render the Sprite on top of my Transparent background of the RenderWindow, this pixels get blended on top of a black background, so I get black lines on each Chunk-boader. If I'm using no blending, this black lines are not present, but then I'm overriding the Tiles rendered before, so this also dosn't work.
Where is the problem, or is there an work-arround?
basicly i'm using this code:
sf::RenderTexture rTexture;
rTexture.create(100,100);
rTexture.clear(sf::Transparent);
rTexture.draw(spriteXY);
// and Later
window.draw(rTexture.getTexture);
so the rTexture dosn't keep the Alpha of the spriteXY