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"

Lighting huge terrains - Lightmass Importance Volume

I build a game with huge terrain.My terrain is huge as I use real world scale for environment which has a surface of 2x2 km .Now the problem is that when I try to build the level ,especially lightning my PC gets stuck for 20 minutes and at the end I am getting this message:

"No important volume found and the scene is so large that the automatically synthesized volume will not yield good results.Please add a tightly bounding lightmass importance volume to optimize your scene's quality and lightning."

Also,after I added a terrain material with 3 layers my terrain looks like this:

alt text

You can see the black gaps which shouldn't be there. My terrain settings:

Section Size: 255x255 quads

Section Per comp: 2x2

Resize mode - resample

scale:x-247 ,y-247

What is the correct strategy to handle a huge terrain?

Product Version: Not Selected
Tags:
terrain.png (1.0 MB)
more ▼

asked Nov 14 '14 at 06:11 PM in Using UE4

avatar image

SasMaster
80 12 23 28

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

1 answer: sort voted first

You need to add a "Lightmass Importance Volume" to avoid this error, it can be found in the Volumes tab of the modes toolbar.

Scale it up so it covers all of the important areas of your mesh, you can make it cover the entire landscape, but it is best to only cover the parts that the player will be walking through.

Because it takes a long time to build the lighting for terrains larger than 1x1km I would recommend switching over to using Dynamic Lighting instead of baked lighting, you will not need to rebuild lighting at all this way, but it is slightly more expensive performance wise. For more details on this enabling this see the documentation here but the basic idea is to set your lights to Movable to switch it to dynamic.

To disable pre-baked lighting entirely go into your project settings under the Rendering tab and disable "Allow static Lighting" (you will need to restart the editor to apply the change) and then go into the World Settings panel in the Lightmass section, and enable "Force No Precomputed Lighting". Now build the lighting one last time and it will apply the change.

Hope that helps!

more ▼

answered Nov 14 '14 at 08:33 PM

avatar image

DotCam
3.1k 74 34 148

avatar image Connormcfarland Mar 27 '17 at 04:36 AM

im sure this post is old and outdated but its worth a shot, what exactly does disabling allow static lighting do? do i need to change this later? what is the fastest way to render the light on a large map?

(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