SFML community forums

Bindings - other languages => DotNet => Topic started by: nihohit on May 17, 2012, 10:41:42 pm

Title: Tearing in clear textures.
Post by: nihohit on May 17, 2012, 10:41:42 pm
When I run an animation that involves a partly clear (invisible) texture on a slow computer, there's "static" tearing which disrupts the view. This happens regardless of Vsync or whether there's a framerate limit set. Is there a known cause for this?

Example video:

http://www.youtube.com/watch?v=xPwdr_rz00E (http://www.youtube.com/watch?v=xPwdr_rz00E)
Title: Re: Tearing in clear textures.
Post by: NinjaFighter on May 18, 2012, 03:00:35 am
Are you drawing a part of the same texture on it?
Title: Re: Tearing in clear textures.
Post by: nihohit on May 18, 2012, 08:25:18 am
No, In the animation I keep removing the first frame and then draw the next one.
Title: Re: Tearing in clear textures.
Post by: Laurent on May 18, 2012, 08:36:51 am
It's hard to help you without seeing your code.

Would you be able to write a complete and minimal code that reproduces this problem?
Title: Re: Tearing in clear textures.
Post by: nihohit on May 18, 2012, 11:53:56 am
I'll try, the next time I'd be near that computer, but it's not a code problem - on my home desktop there's no tearing.