2D Toolkit Forum

2D Toolkit => Support => Topic started by: Doghelmer on May 02, 2015, 02:42:04 am

Title: Tilemap tearing - Unable to fix
Post by: Doghelmer on May 02, 2015, 02:42:04 am
I'm having some difficulty getting completely rid of the tearing between tiles in my tilemap, as seen in the file "TearingScreen.png".  Currently, my pad method for all individual tiles is set to "Extend", and my pad amount is set to the maximum 16 (though I've tried setting it much lower as well).  The tiles are 64x64 pixels.  The tearing doesn't occur constantly enough to be a really severe nuisance, but it does occur on average at least once every 30 seconds for a frame or two.

I'm using the most recently released version of 2D Toolkit, though the issue also occurred in the previous version.  I've included screenshots of my settings-- I'm curious if you see anything "off" in my settings that I may have missed?  Any other suggestions?
Title: Re: Tilemap tearing - Unable to fix
Post by: unikronsoftware on May 02, 2015, 06:32:40 pm
Are you drawing it pixel perfect and are what kind of camera settiings are you using?
Title: Re: Tilemap tearing - Unable to fix
Post by: Doghelmer on May 02, 2015, 09:35:09 pm
I just tried using the Pixel Perfect override, but this gave me the same result.

I've included screenshots of my camera settings.
Title: Re: Tilemap tearing - Unable to fix
Post by: unikronsoftware on May 03, 2015, 12:29:43 pm
Are you on PC, DX11? Does it look better in DX9 mode? If so that might be a bug that was fixed ages ages ago...
Title: Re: Tilemap tearing - Unable to fix
Post by: Doghelmer on May 03, 2015, 07:31:49 pm
Unfortunately that doesn't seem to have fixed it either.  Yeah, I'm on DX11 PC.  I tried using the command line argument "-force-d3d9" and also "-force-d3d11" for good measure, and it didn't make a difference.
Title: Re: Tilemap tearing - Unable to fix
Post by: grofit on May 13, 2015, 06:57:10 pm
I seem to be getting this too.

(https://dl.dropboxusercontent.com/u/98595151/ShareX/EMBERSOFT1/2015-05-13_18-55-50.png)
Title: Re: Tilemap tearing - Unable to fix
Post by: unikronsoftware on May 13, 2015, 07:24:09 pm
Please post a repro in the private support forum.
Title: Re: Tilemap tearing - Unable to fix
Post by: grofit on May 14, 2015, 03:30:12 pm
Will do, if it helps I have found that in most cases these lines that you see in there are actually colliders, I noticed I had a wonky collider on a diagonal block but it was showing a square outline around it in the game and I would get stuck on it, so it seems like its rendering the collider areas or something, not sure if the OP has same thing?
Title: Re: Tilemap tearing - Unable to fix
Post by: unikronsoftware on May 14, 2015, 05:23:53 pm
Yours is just missing padding, posted a reply in the private forum.