PSA on LightMap Density & Build Times

4DChessGenius4DChessGenius Posts: 2,161Player
edited October 2018 in Mission Editor
Lately I've been working on my RedAlert map and it would kill me to have to build the map since it would take almost two hours. After doing some research online, I read about LightMap Density overrides to help shorten Lightmass. If you've never used this part of the editor, here's what it looks like:

Now as you can see, just about everything on the picture is green or blue. Well, before I spent time to fix it, almost everything here was red. If your map is red that means that the system is going to have a hard time building the lighting for that mesh, meaning longer build times. It actually got to the point where my lightmass was even hanging after an hour at 1% earlier today.

So, how do you fix it if your map is all red?

You can select all of your static meshes and override the light map res. If you look at the images below, you can see that the little cells get much larger when changing the resolution. In theory this will make your lighting not look as good, but I honestly don't notice any difference. For most walls and such, 32 seems to work well. For small items, it may need to go lower. I try to get everything to be green, apparently blue is the best. Just try to make everything not red! By doing this I got a huge improvement. My build time dropped to about 35 minutes.
You joined the world's greatest army to become a graphic artist? Outstanding!


  • Keebler750Keebler750 Posts: 3,620Beta Tester
    edited October 2018
    I've done 13 hr light builds before. Are you building Production all the time? I always use Preview, even for publishing. It's good enough, IMO.

    There's a lot more to this topic than whether that shows red, including whether that tool takes into account your actual rendering power, or some ten year old standard.

    I optimize unnecessary shadows-on-shadows, for example. Each object with 'Cast Shadows' checked casts them even if the area is already in shade.

    Etc, etc.

    This has been a test of the emergency flame-fest system. Please do not adjust your set.
  • 4DChessGenius4DChessGenius Posts: 2,161Player
    I go back and forth, but when I publish I always use production. Either way, by doing what I said I cut my build time in 1/3. So it seems to work. At the end of the day, no one needs insane looking lighting in a multiplayer game. In fact, the most important thing is making it so that you can clearly see your enemy. If that's accomplished then the most cruddy lighting in the world is fine.
    You joined the world's greatest army to become a graphic artist? Outstanding!
  • =[101st]=Muzza455=[101st]=Muzza455 Posts: 1,101Player
    You can make characters seen anywhere in a map without doing all of that . ... and light build times go on how many meshes you have / file size and power of your pc.
    I always use preview until my last publish.
    Production lighting gets rid of unsightly lines on walls and landscapes.
Sign In or Register to comment.