Author Topic: Lines where the texture repeats  (Read 3703 times)

laurentl

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 188
    • View Profile
    • McDROID
Lines where the texture repeats
« on: April 02, 2013, 11:28:30 PM »
Can you see these orizontal lines on the yellow and black stripes? That's where the stripe repeats.
I looked at the original texture and there is no such line. The line appears on everything that repeats.
How do eliminate ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Lines where the texture repeats
« Reply #1 on: April 03, 2013, 02:50:53 PM »
Give your tiled texture a 1 pixel border.

laurentl

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 188
    • View Profile
    • McDROID
Re: Lines where the texture repeats
« Reply #2 on: April 03, 2013, 03:34:44 PM »
Perfect! What's the reason ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Lines where the texture repeats
« Reply #3 on: April 03, 2013, 05:17:54 PM »
Tiled sprite always tiles the inner rectangle, never the outer. No border means inner rectangle equals the outer, and pixels bleed over.