x

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"

Weird baked light on foliage instances.

Hello!

I used foliage tool to spread around some rocks in my cave. But the way they are lit, after baking the lighting, is weird. Some dark shadow spots do not make sense.

alt text

alt text

I've tried to tweak lightmap resolution on the meshes, and adjust lightmass parameters in world settigns, but I still get incorrect lighting.

What could be the issue here?

Product Version: UE 4.20
Tags:
more ▼

asked Oct 26 '18 at 05:16 PM in Rendering

avatar image

Kligan
46 11 13 22

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

2 answers: sort voted first

I figured out what was causing this. The meshes I used for small stones are duplicates of meshes used for large stones. But with poly count reduced. And they both shared the same material.

Turns out, when an object scaled way down to something like 0.2, AO texture stops working correctly.

So by creating a material instance for small rocks with plain white color as AO, I got rid of all the lighting artefacts.

alt text

more ▼

answered Oct 27 '18 at 08:55 PM

avatar image

Kligan
46 11 13 22

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

Hi!

If you speak about the unrealistic shadows on the ground: your lightmap resolution is too low /you can see the pixelated shadows closer to the bigger rocks!/. If the smaller rocks/pebbles: might be a wrong lightmap uv or again just low res ligthmap assigned to them...

more ▼

answered Oct 26 '18 at 05:54 PM

avatar image

Makigirl
1.2k 3 4 8

avatar image Kligan Oct 26 '18 at 06:17 PM

No, I mean on the foliage instances. They have really dark spots where they shouldn't be. Some rocks are much darker, some are much lighter. And it's not how it supposed to be. It's really inconsistent.

If I place each tiny rock individually and bake the light, then they look like they supposed to.

But for some reason, foliage instances have spots.

(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