Author Topic: BUG: Split doesn't work correctly on tiles with UV Padding  (Read 165 times)

pkorzeniewski

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
In the image below, the first tile has been placed with UV Padding: 2x2 and the second tile with UV Padding: 0x0. UV Tilesize is 16x16 and Tile splitting is 8. When trying to split the first tile, the cutting line is "shifted" resulting in unequal parts. The second tile is correctly splitted in equal parts.


Alex

  • Administrator
  • Sr. Member
  • *****
  • Posts: 311
    • View Profile
Re: BUG: Split doesn't work correctly on tiles with UV Padding
« Reply #1 on: October 16, 2018, 03:52:44 PM »
I think this isn't necessarily a bug- it is just a nuance of the padding of the uv coordinates. If splitting is 16x16, it still counts where to position the split based on the pixels from one side of the tile.. so if the tile consists of less than a number of pixels divisible by 16, then the splitting will not align in the center like that- you'd have to use a different splitting number to get more precise and be capable of splitting in the center or whereever else you need to split it.