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"

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 do I make a skylight only affect part of my map

So I have a water texture and in order for the texture to be seen I need to light it with a skylight. The problem with having a skylight in my game is that it affects another room in the same map. I don't want that room to be affected with the skylight however I need to skylight to light up my water texture. So is there a way to light up my water texture without a skylight or is there a way to have the skylight only affect part of my map and not the whole thing?

Product Version: UE 4.8
Tags:
more ▼

asked Aug 20 '15 at 03:44 AM in Rendering

avatar image

Brandon236
88 28 39 45

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

1 answer: sort voted first

the skylight by default would light everything in the world with the same light.

Take a look here: it is the documentation surround Light propagation volumes.

You could use it to block sky light travelling through the volume if placed between skybox and your room(do not cover your room in it)

https://docs.unrealengine.com/latest/INT/Engine/Rendering/LightingAndShadows/LightPropagationVolumes/index.html#lightpropagationvolumesettings

https://docs.unrealengine.com/latest/INT/Engine/Rendering/LightingAndShadows/LightTypes/SkyLight/index.html

more ▼

answered Aug 20 '15 at 04:02 AM

avatar image

MrGrr
986 34 3 41

avatar image Brandon236 Aug 20 '15 at 08:21 AM

Is it possible to disable the skylight via blueprint? So if the player overlaps with a trigger then the skylight is disabled?

avatar image MrGrr Aug 21 '15 at 12:41 AM

not sure about disabled, but you could alter its intensity. The drawback to changing its intensity... if you look outside while inside.... it'll be darker out than if you were also out there.

avatar image Brandon236 Aug 21 '15 at 12:50 AM

That's actually fine because I only need the outside lighting just once and for the rest of the level you're inside the room. So you're saying that lowering the intensity would make my rooms look normal again?

avatar image MrGrr Aug 21 '15 at 01:13 AM

IF the skylight is affecting the rooms, you could reduce the skylight intensity to zero to remove the effect of the skylight lighting altogether.

However - if the skylight is set to Static, the lighting will be baked, and unchangeable.

avatar image Brandon236 Aug 20 '15 at 11:20 PM

It's not working. Where am I supposed to place the post process volume? I covered my room with it and I then put it over the room and at all sides of the room. So how can I block the skylight?

(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