In 'The Missing Few', you play as Jack Norwood, a private detective who seeks to unravel the mystery of the disappearances in Staten.

Post news Report RSS DevBlog #2 The Missing Few - Turning off Baked Lighting

Dev Diary #2 The Missing Few, How to turn off baked Static lights in buildings Unreal Engine 4. We look at how we got it working.

Posted by on

DevBlog #2 The Missing Few - Turning off Baked Lighting


Hello Everyone,

Welcome to Devblog #2 for The Missing Few. This week we are talking about Turning off Lights in Unreal Engine 4 even when Static Lights are Baked in the scene. In 'The Missing Few', you play as Jack Norwood, a private detective who seeks to unravel the mystery of the disappearances in Staten.

TMF OperatingLight


TMF ElevatorLight


Static Lights Off


So, I wanted to be able to turn the lights on and off. Dynamic lights do this job perfectly, but performance cost is insane when I have a lot of lights.

After a lot of searching and testing solutions, I found that If you want to keep the baked lighting but cut it off completely when the light is off. Simply Set up a Post Process Volume around your room and lower the Global Illumination: "Indirect Lighting Intensity" down to 0 through Blueprints when the light is disabled.

BP Examples


Every light asset has an event that will set the Emissive value of the materials to 0. If this isn't done then the lights in the scene will still have the Emissive glow.

light snip


Here is an example of the Blueprint that turns off the lights in a room/area. Here we scan the scene for all actors of a certain Class and then for each run there events. Then proceed to set "Indirect Lighting Intensity" down to 0.

lights off


Post Process Volumes


In order for this to work correctly or as good as it can. We need to set the Post Process Volume inside the Building to "Unbound" and give it higher priority then the Base Post Process Volume.

Outside Funeral Home

Lights off and on Outside


Inside Funeral Home

Casket Room Lights



The Missing Few.
Thank you for your time and interest in our game.
Stay tuned for more news and updates every week.

twitter Twitter - twitter.com

Facebook - www.facebook.com

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
The Missing Few
Platforms
Windows
Developer & Publisher
Missing Games Studio
Contact
Send Message
Release date
Game watch
Follow
News
Browse
News
New
Post news
Report
Report
Share
Related Games
The Missing Few
The Missing Few Stealth
Related Engines
Unreal Engine 4
Unreal Engine 4 Commercial
Related Groups
Indie Devs
Indie Devs Hobbies & Interests with 1,602 members
Missing Games Studio
Missing Games Studio Developer & Publisher with 3 members
Unreal Engine 4 Devs, Modders and Players
Unreal Engine 4 Devs, Modders and Players Fans & Clans with 673 members