Hello Guest

Author Topic: Tilemap tearing - Unable to fix  (Read 5968 times)

Doghelmer

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 20
    • View Profile
Tilemap tearing - Unable to fix
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tilemap tearing - Unable to fix
« Reply #1 on: May 02, 2015, 06:32:40 pm »
Are you drawing it pixel perfect and are what kind of camera settiings are you using?

Doghelmer

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Tilemap tearing - Unable to fix
« Reply #2 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tilemap tearing - Unable to fix
« Reply #3 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...

Doghelmer

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Tilemap tearing - Unable to fix
« Reply #4 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.

grofit

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Tilemap tearing - Unable to fix
« Reply #5 on: May 13, 2015, 06:57:10 pm »
I seem to be getting this too.


unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tilemap tearing - Unable to fix
« Reply #6 on: May 13, 2015, 07:24:09 pm »
Please post a repro in the private support forum.

grofit

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Tilemap tearing - Unable to fix
« Reply #7 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tilemap tearing - Unable to fix
« Reply #8 on: May 14, 2015, 05:23:53 pm »
Yours is just missing padding, posted a reply in the private forum.