Anyone have a clever (automated) way of adding padding to a selection?
Say extending the border; 4 pixels with the outermost pixel, and scaling background is not an option because of multiple islands on layer.
Oh, had it all along. Found the edge padding wiki with that ref, neither dillate, solidify or the UV padding action seems to expand the exact color of the border...mostly white gutters. Dillate comes closest, maybe the newest version does it better, will see. Thanks.
do your layers have antialiased/half transparent pixels? becase they will definetly fuck it up. you could select your uv borders and delete those pixels to make the result use 1 bit transparency
No half-transparents or aa, just missed the detail that the AO was 1 px pre-padded, so dillate was actually doing its job well. Got it working with the alpha requirement that the old Xn needs.
Or you could get the one solidify plugins from the flaming pear free downloads section, I find it "better" than the xNormal plugins since it fills the gap completely.
I use solidify A
but wouldn't dilation also fill it entirely? just create an action with toooons of dilation and done, i guess in any case 256 pixels should fill even 4k maps ^^
yeah, it does if you make a action.
But this filter does it in one click, I also find it way faster than the dilation filter, although it's only a matter of seconds
Replies
duplicate your layers flatten em andthen use dilation on them
thats why you should bake wthout padding, if you're not exploding and baking your whole asset at once, and do the padding in the post.
for years i baked in batches, with padding and always created masks for areas where the padding overlaps other uv chunks
1st = filter maximum
2nd = invert selection
3rd = expand selection by 1 px
4nd = invert selection
this only works with no antialized edge everything outside the uv iland is black and the uv island selected
I use solidify A
http://www.flamingpear.com/download.html
But this filter does it in one click, I also find it way faster than the dilation filter, although it's only a matter of seconds
http://www.flamingpear.com/goodies.html#solidify