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. 

Adding "Sunglasses" to FPS to see the world at Night


So I am developing a game - that starts the player in complete blackness. Things are only illuminated when the enemy demons are defeated - then throughout that area - the sun shines - revealing a beautiful scenery.

The problem is - I am having a hard time wrapping my mind around the development of such a system. At first I flirted with the idea of controlling "Light Source" - but I found that to be way too costly to my machine and performance. Then I tried to add an array of "Spot Lights" - To activate if the enemies were defeated. But it looked horrible.

But then - It dawned on me - think about how dogs see the world! What if the world itself were lit up the entire time - and it was the player's eyes who changed.

Thus I drafted this -

alt text

The idea - is to have a different material attached to the player's lens. The world will look different depending on what kind of "see through" - material that light will be shown through. My question is -

1) Is this the way to do it? 2) Could you guys suggest any kind of "sun glass" material? That would be able to achieve such a result - i.e - "glasses" that make everything look like it was at nighttime 3) How to make these "lenses" interchange - like a old projector slideshow -

I want this to gradually increase - the only way I can conceive of doing that - is through a wheel and have it spin form interaction. But really - I am up for suggestions if anyone thinks of a better way. alt text

Any suggestions would be really helpful. Am I completely off my rocker with this? - My ultimate goal - is to have the "world" become more beautiful - the more enemies you defeat. I know I need to somehow alter "light" to achieve this goal. But - light - in my understanding - is very costly resource - so I am trying to think outside the box.

At the end of the day - I am asking - how to "add sunglasses" to the FPS camera - to make it look like it was nighttime.

Thank you!

Product Version: Not Selected
img_1805.jpg (598.3 kB)
img_1809.jpg (625.5 kB)
more ▼

asked Apr 17 '15 at 01:37 PM in Blueprint Scripting

avatar image

Kiwikah Inc
18 4 11 11

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

1 answer: sort voted first

You could use a post process material and tint the scene color with dark blue. You can control the intensity with a float so you can fade it in and out anytime you like.

more ▼

answered Apr 17 '15 at 02:50 PM

avatar image

16.8k 671 167 676

avatar image Kiwikah Inc Apr 17 '15 at 03:07 PM

thank you so much! I haven't really dove into post processing yet - but really excited to venture into it. That is awesome advice! Thank you

(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