Hard Light Productions Forums

Hosted Projects - Standalone => Diaspora => Diaspora Tech Help => Topic started by: Nightstorm on February 13, 2017, 09:36:43 pm

Title: Cockpit lighting question
Post by: Nightstorm on February 13, 2017, 09:36:43 pm
With the 2/13 build this was added:

"Export the -no_emissive_light flag to the Launcher"

It makes ships not emit any light of their own unless it's from glow maps or reflected light.  Looks pretty cool.  The cockpit of my viper however is always lit up.  I was wondering if there was a way to get the same affect on the cockpit models?  To have them dark except for light sources and reflections.

Thanks!
Title: Re: Cockpit lighting question
Post by: Nightstorm on February 15, 2017, 04:10:44 am
I came up with a solution for now.  I think it really looks fantastic.  I extracted the cockpit glow files and reduced the contrast by 25%.  The affect is that when light is shining in the pit it looks pretty normal but in the dark, you can read all the displays perfectly but other items only have an outline, like driving a car a night.  Works great with the emissive glow setting in the launcher.

Title: Re: Cockpit lighting question
Post by: Nightstorm on February 15, 2017, 04:20:39 am
Here are some screenshots:

[attachment deleted by admin]
Title: Re: Cockpit lighting question
Post by: karajorma on February 15, 2017, 05:36:22 am
That does look rather nice in the last 3 shots. The launch tube looks a bit ugly though. Was that a static shot or one taken while launching?
Title: Re: Cockpit lighting question
Post by: Nightstorm on February 15, 2017, 05:45:43 am
Static, I hadn't launched yet.  It might have to do with the perspective.  I'm running tri at 7680x1440 so it can fishbowl the peripherals.
Title: Re: Cockpit lighting question
Post by: Crossbow on February 15, 2017, 06:23:58 am
I came up with a solution for now.

Realistically, if you wanted to have the cockpit lit that way you would need to bake additional lighting into the glow maps.
Because cockpit instruments would be emitting light onto surrounding areas.


Title: Re: Cockpit lighting question
Post by: Nightstorm on February 15, 2017, 07:19:31 am
Good point.  I'll play with that and see what I come up with.