Zoltan
![]() |
For reasons outside the scope of this post I end up with a baked texture which does not have edge padding: http://wiki.polycount.com/wiki/Edge_padding
Would it be possible to fix the texture "in post" using FF? The background is full black so thats a good base for a mask. However I'm not sure how to smear the edge pixels because while I could get a rough direction vector, I cant feed it to the actual Smudge node. |
|
Posted: January 16, 2019 11:00 am | ||
emme |
You can get reasonably good results by iteratively offsetting the edges in a loop using the direction vectors.
edit: uploads are not working, send me an email if you need the filter file. edge_padding_v001.ffxml |
|
Posted: January 16, 2019 3:15 pm | ||
Sphinxmorpher
![]() |
Try the Maximum node (https://filterforge.com/more/help/Comp...imum.html)
and blend the masked unprocessed texture back onto the "maxed" result. |
|
Posted: January 17, 2019 3:47 am | ||
emme |
Yeah, maximum probably works ok in most cases, but can run into problems with high contrast areas as it maxes out the darker values. In the worst case the uv edge is black and the padding will be white.
|
|
Posted: January 17, 2019 11:38 am | ||
Zoltan
![]() |
Yeah I tried the maximum then several low radius maxes in a chain: in certain cases the result looks good but in others bright bits starts to spread out, in front of dark bits, causing a seam. But I keep trying until I get my hands on emme's filter.
![]() |
|
Posted: January 17, 2019 11:38 am | ||
Zoltan
![]() |
Hmm a maximum-median-maximum-median-maximum-median-maximum-median chain with radius = 0.1 is not half bad!
|
|
Posted: January 17, 2019 11:46 am | ||
emme |
Here is the filter if you still want to try it out. It's not perfect, so some modifications are probably needed.
edge_padding_v003.ffxml |
|
Posted: January 20, 2019 7:55 pm |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+36 new in 30 days!
15,347 Topics
+72 new in year!
13 unregistered users.