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"

Why is my lighting not rebuilding?

Hello everyone.

Okay, so I've had a nice little play around with the engine, so far am impressed with it :)

Anyway, I have mainly doing random odd stuff to get myself familiar with the UI and what does what and I am slowly building confidence.

So, last week or the week before, I decided to muck around with building my own basic arena map to which in future I'd like to add in gameplay mechanics like guns and so on, anyway to the problem.

I tried doing a lighting rebuild to see what all my lighting looks like once rebuilt with production level to see if I like the look of all my directional and point lighting and to see where changes can be made or adjusted, anyway, the first time I decided to do it I got the box come up that I think says "Starting rebuild" or to something of that effect, but very quickly disappears, I get no error message, the box just opens and than very quickly closes.

I have tried started up Swarm agent manually and re-trying but same thing.

I have cleaned up the map a bit as there some extremely messy areas and bits that stuck under the map, so I thought if I cleaned that up it might fix it, but nope, still does the same thing, I then made up a test map and made it messy as I could to see if that would cause issues with it, so I did that, set the lighting to production level, and viola, it works.

So it is obviously a problem with the map, but I just cannot for the life of me figure it out, and any help would be great because at the moment, I have thrown in the towel and cannot think of what might be causing the problem :/

I am using version 4.3 if that helps.

Thanks in advanced for any help, it would be greatly appreciated.

Product Version: Not Selected
Tags:
more ▼

asked Jul 27 '14 at 10:04 AM in Rendering

avatar image

Sky_collapsed
1 1 2 2

avatar image Sky_collapsed Jul 28 '14 at 04:11 AM

Sooo.. No one knows what's going on?

avatar image Tim Hobson ♦♦ STAFF Jul 29 '14 at 09:54 PM

Hi,

In your level what are you using to populate it? Are you using static meshes included in the starter content, Geometry/BSP brushes, or your own created assets?

Is your directional light in your scene set to Movable or Static? If it's movable it won't bake any light information as it will be casting fully dynamic shadows. This could cause the "build" to flash on and the disappear.

When you started your level are you creating a new level with the default or blank map? Either way, you'll want to make sure that you're including a Lightmass Importance Volume that encompasses your playable area.

Also, depending on how much light information is needing to be baked it can determine how long the light build will take.

Let me know and we'll figure out what's going on. :)

Tim

avatar image Sky_collapsed Jul 29 '14 at 11:43 PM

Hello.

I am just using all the standard stuff included in the starter content, and for things like boxes, stairs etc I am just using the standard brush and not my own contents.

I do not remember how I started it, I think I started it using the basic FPS code from memory.

How do I check if the directional lighting is set to movable or static?

avatar image Tim Hobson ♦♦ STAFF Jul 30 '14 at 06:44 PM

You can see if the mobility in the details panel that would be on the right side. When you select the directional light from the scene outliner you'll see the properties for this light appear there. It'll be towards the top where it says "static/stationary/movable."

alt text

avatar image Sky_collapsed Jul 30 '14 at 10:18 PM

Thank you.

What should I have it set to?

I had a bit of a play around with it, tried it on movable and changed the lighting build to production, I could see the textures do something but it didn't look like the lighting was built in production level and the same thing still happens.

I also changed some of the objects that have the option to change them to static stationary etc and put them to movable but same thing.

avatar image Tim Hobson ♦♦ STAFF Jul 31 '14 at 02:56 PM

Honestly, this depends on your goal for your project. If you want a dynamically lit game where all the shadows are created at run-time (can be performance hit if those movable lights are set to cast shadows) then you would want the lights to be Movable.

If you're using stationary (a combination of static and movable) or static this will require you to have a second UV for your meshes for the lightmap to build and bake the lighting to.

avatar image Sky_collapsed Jul 31 '14 at 11:56 PM

Okay, so changed the lighting into static without changing objects like walls etc into static and the map goes black, so I change objects to static and do a lighting rebuild and everything lights up again, but it still does the same thing where the lighting rebuild won't go through the full process.

Do you want me to do a cook and post the log file? Maybe that could help us find out what could be causing this?

avatar image Tim Hobson ♦♦ STAFF Aug 04 '14 at 07:11 PM

You can post those if you like. Can you make a video and post as well?

Maybe some screenshots. Something to visually give an indication of what's going on?

Can you also confirm if you're using a lightmass importance volume that is covering your entire playable area? If not, make sure to add one.

Thank you!

Tim

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

1 answer: sort voted first

Hi,

Since I've not heard from you in a few days I'm going to mark this as resolved for our tracking purpose. If you're still having the issue please provide the information request so I can further look into this.

Thank you!

Tim

more ▼

answered Aug 07 '14 at 10:12 PM

avatar image

Tim Hobson ♦♦ STAFF
48.9k 887 101 877

(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