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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Disable directional lights in sub-levels

Hi there,

I am currently working on a game where different sub-levels represent different dimensions.

Whilst optimizing, I have realized that one sub-level's directional light (Alley) is being calculated in an interior level (interior).

This directional light is not needed at all for the interior level and yet is still taking up 3.2 ms of every draw call which is obviously a considerable optimization if I can sort it.

Is there any way that I can tell a directional light to only effect the sub-level that it is in, rather than all of the sub-levels visible at the time? Ideally stationary as I would like some dynamic shadows for some objects in the Alley level.

A great answer would be to tell me that UE4 has light channels, although I know that deferred rendering means this is unlikely.

Product Version: UE 4.7
more ▼

asked Sep 04 '15 at 01:19 PM in Rendering

avatar image

285 13 18 35

avatar image AgentMilkshake1 Sep 04 '15 at 01:19 PM

A screenshot of the GPU Profile. alt text

avatar image DanielKarp Sep 04 '15 at 08:00 PM

I would also like to know if this is possible. We have dynamic lights that we want sub level specific.

avatar image dddavetv Feb 02 '16 at 02:50 AM

Any answer or suggestion ? (we have the same challenge)


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

1 answer: sort voted first


4.11 will have Lighting Channels for Dynamic Lights. You can use up to three Light Channels and set meshes accordingly that should work with those light sources.

I hope this helps.


more ▼

answered Feb 02 '16 at 09:01 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 887 101 878

(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