Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Tree leaves have black outlines from a distance


This is what my tree leaves look like up close, however, when I zoom out, the leaves get a bad looking black outline to them. (Shown in the smaller pic). I am trying to get them to look like my other trees from a distance, but I don't know where the difference is... Tree leaves close-up Tree leaves far away My other trees far away

Product Version: UE 4.21
leaves-close.png (423.3 kB)
leaves-far.png (37.1 kB)
leaves-example.png (107.1 kB)
more ▼

asked Apr 16 '19 at 09:27 PM in Everything Else

avatar image

1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Turns out the problem was my leaf texture. On each of the individual leave's edges, there was some blurred white, some form of antialiasing. This was in turn interpreted as a different "white" by ue4, which made it look outlined.

To fix, all I did was harden all the edges on my leaves, to make it truly one solid white color.

more ▼

answered Apr 17 '19 at 03:29 PM

avatar image

1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

That looks like the shading distance on the light, not the texture. Have you tried placing one in the distance and one up close specifically for comparison? I would say that it lies with either the distance field ambient occlusion or one of the draw distances on your directional light.

more ▼

answered Apr 16 '19 at 10:54 PM

avatar image

108 7 11 22

avatar image Armydan Apr 16 '19 at 11:08 PM

Here's an up close view (1), and two further away (2, 3).

And here's my leaf material.

tree.png (429.7 kB)
leaf-material.png (424.2 kB)
avatar image PDubulous Apr 16 '19 at 11:18 PM

The other trees look like they are using a subsurface material. I would say its in the material somewhere for sure, but its hard to say without seeing the material set up. Its possible its the model, but I would start with the material first.

avatar image Armydan Apr 16 '19 at 11:21 PM

The trees labelled 1, 2, and 3 are using the same tree and material as the one above.

The trees that are working (and look like pines) are using this material

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question