Skip to main content
make question more findable, Remove extraneous text
Source Link

How can I fillexpand the textureborders of a leafexture edge outwards like thisan offset?

Leaf Example

So, I want to make my own leaf textures for trees, but if I just make a PNG with transparent background it gets a weird white edge. So I found that usually they use this effect with an alpha mask to get rid of that issue. I remember watching a tutorial on how could I do it time ago, but i don't remember the technique, the name of it neither the tutorial name.

Any ideas?

(Actually, I found other ways to fix the issue, but I want to be able to use this)

Edit: First of all, thanks for your answers, very useful, but doing some more investigation I found the name of the technique and many ways to do it. Actually, the technique is called "Edge Padding" or even "Edge dilate". It creates an offset of the border of the image and expands the pixels outwards creating a "frame" around it.

How can I fill the texture of a leaf like this?

Leaf Example

So, I want to make my own leaf textures for trees, but if I just make a PNG with transparent background it gets a weird white edge. So I found that usually they use this effect with an alpha mask to get rid of that issue. I remember watching a tutorial on how could I do it time ago, but i don't remember the technique, the name of it neither the tutorial name.

Any ideas?

(Actually, I found other ways to fix the issue, but I want to be able to use this)

Edit: First of all, thanks for your answers, very useful, but doing some more investigation I found the name of the technique and many ways to do it. Actually, the technique is called "Edge Padding" or even "Edge dilate".

How can I expand the borders of a exture edge outwards like an offset?

Leaf Example

I want to make my own leaf textures for trees, but if I just make a PNG with transparent background it gets a weird white edge. I found that usually they use this effect with an alpha mask to get rid of that issue.

I found the name of the technique is called "Edge Padding" or even "Edge dilate". It creates an offset of the border of the image and expands the pixels outwards creating a "frame" around it.

Added more information
Source Link
Mike GO
  • 540
  • 3
  • 10

Leaf Example

So, I want to make my own leaf textures for trees, but if I just make a PNG with transparent background it gets a weird white edge. So I found that usually they use this effect with an alpha mask to get rid of that issue. I remember watching a tutorial on how could I do it time ago, but i don't remember the technique, the name of it neither the tutorial name.

Any ideas?

(Actually, I found other ways to fix the issue, but I want to be able to use this)

Edit: First of all, thanks for your answers, very useful, but doing some more investigation I found the name of the technique and many ways to do it. Actually, the technique is called "Edge Padding" or even "Edge dilate".

Leaf Example

So, I want to make my own leaf textures for trees, but if I just make a PNG with transparent background it gets a weird white edge. So I found that usually they use this effect with an alpha mask to get rid of that issue. I remember watching a tutorial on how could I do it time ago, but i don't remember the technique, the name of it neither the tutorial name.

Any ideas?

(Actually, I found other ways to fix the issue, but I want to be able to use this)

Leaf Example

So, I want to make my own leaf textures for trees, but if I just make a PNG with transparent background it gets a weird white edge. So I found that usually they use this effect with an alpha mask to get rid of that issue. I remember watching a tutorial on how could I do it time ago, but i don't remember the technique, the name of it neither the tutorial name.

Any ideas?

(Actually, I found other ways to fix the issue, but I want to be able to use this)

Edit: First of all, thanks for your answers, very useful, but doing some more investigation I found the name of the technique and many ways to do it. Actually, the technique is called "Edge Padding" or even "Edge dilate".

Tweeted twitter.com/StackBlender/status/1058192353096286209
Source Link
Mike GO
  • 540
  • 3
  • 10

How can I fill the texture of a leaf like this?

Leaf Example

So, I want to make my own leaf textures for trees, but if I just make a PNG with transparent background it gets a weird white edge. So I found that usually they use this effect with an alpha mask to get rid of that issue. I remember watching a tutorial on how could I do it time ago, but i don't remember the technique, the name of it neither the tutorial name.

Any ideas?

(Actually, I found other ways to fix the issue, but I want to be able to use this)