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"

Lightmap too large despite no static shadows set on foliage

Hey guys,

The log under Lighting Results states: "InstancedFoliageActor_0 The total lightmap size for this InstancedStaticMeshComponent is large, consider reducing the component's lightmap resolution or number of mesh instances in this component" and the lightmap does not compute.

I know there is a gazillion threads about this warning/error but the funny thing is that none of my foliage has static shadows turned on.

It's an archviz project. I don't want to disable static lighting entirely because I need it for my building. So back to the foliage:

  • At least 95% is painted using the foliage painting tool.

  • All of it is set static but with Cast Static Shadows off

  • For trees and bushes Cast Dynamic Shadow is set to on, for patches of grass, it is set to off

Any ideas what could be causing this error?

I have also tried setting all of the foliage to Movable but it doesn't help much. I've tested it on a cut-down version of the scene (to the point when the lighting builds) and it speeds up the building about 30%. But should foliage even be set to Movable despite it's not going anywhere? I thought that setting it to static would have some performance/optimization benefits.

Product Version: UE 4.18
Tags:
more ▼

asked Jan 09 '18 at 10:44 PM in Rendering

avatar image

Tooroo
6 2

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

1 answer: sort voted first

See this, I think this is buggy.
https://answers.unrealengine.com/questions/560394/foliage-lightmaps-is-brokenbuggeddysfunctional-det.html

Foliages in one landscape component can only have one lightmap(If you paint will foliage panel), which is not enough in most cases.

The best solusion should let foliage use landscape lightmaps, which should not be so difficult, and that is what the engine used in my project supports. Go do it, Unreal guys.

more ▼

answered May 20 '19 at 04:03 AM

avatar image

alenwesker
1 1 1

(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