Author Topic: Dilate node  (Read 1204 times)

I would love it if we could have some kind of "Dilate" node for padding masks over UV seams.

I have made my own dilate node (attached to this post).

Currently only works well with a 2k texture, If I have time I may fix that.

Not the most optimised method, but it does work. And is very simple.
Requires that the alpha be black and white only, no anti-aliasing.

The is a single pixel dilation.
The is a node with dilations of 1,2,4,8,16,32,64,128 outputs, allowing you to have some choice on the amount of dilation. It requires the file as it is basically a huge nest of nodes.
The shows a simple example, just change the input texture to an existing image to see the effect.

Hope this helps someone.