Hello Guest

Author Topic: Request: X or Y exclusive padding  (Read 3360 times)

stoutpuppy

  • Newbie
  • *
  • Posts: 1
    • View Profile
Request: X or Y exclusive padding
« on: September 13, 2013, 12:54:08 am »
I've just run into a little issue where I'm creating an atlas with 1024x background textures.  I only need padding in one direction because they use all of the other (width).  Currently I need to padding and no filtering, or padding and jump up to texture size of 2048.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Request: X or Y exclusive padding
« Reply #1 on: September 13, 2013, 09:08:54 am »
The correct solution to this is to not pad at the edge of textures. Its been on the todo list for a while now. In the mean time, you could look into dicing, that might sidestep the problem for you here for the time being. If you'd like to patch your code to not pad on one axis, then thats possible too.