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. 

How can I do dark zones

I have a world with dynamic light with his Skylight and lightSource. In this world there is a cave in which I would want to be a dark zone. I tryed to put a PostProcesVolume and tint the zone in black, but the problem is that when i'm far the cave has the normal illumination ans when I approach it all the world becomes dark. Is there any way that the cave always be dark independently of the position of the player, and not affect the rest of the world?

I put an image in order to you can imagine better my situation.

alt text

Product Version: UE 4.16
cave.png (472.8 kB)
more ▼

asked Aug 08 '18 at 02:15 PM in Rendering

avatar image

10 4 5 11

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

1 answer: sort voted first

maybe you could add a second darker skylight, set it to a different lighting channel and have the cave objects only match that new lighting channel. The cave objects will need to be set to 'movable' for this to work I think.

more ▼

answered Aug 08 '18 at 04:37 PM

avatar image

41 1 2 10

avatar image David.Borrego Aug 08 '18 at 05:27 PM

But, as I know, I can change the channel light of a skylight.

In case i can change the channel, the cave is a part of a giant static mesh (an island). If i change the channel of all the static mesh, all the island would be affected by this second skylight.

avatar image benhkvr Aug 09 '18 at 08:22 AM

In that case I don't have a clever solution. I suppose separating the cave parts from the big mesh would give you more flexibility. Or you could assign darker materials to that part of the mesh? Or enclose it with another shape (sphere maybe) which is semi translucent and partially shadows the cave?

(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