Jump to content

Photo
- - - - -

Lighting Tweaking (dev branch)

arma3 changelog feedback lighting motivation tweaking tweaks

  • Please log in to reply
519 replies to this topic

#1 DnA

DnA

    BI Developer

  • BI Developer
  • 1658 posts

Posted 24 April 2013 - 15:41

As promised in SITREP #00008, here is an overview of the lighting tweaks which are in progress and have been partly rolled out to Development branch :sun:

Arma 3 Apollo Pavel Guglava elaborates:

Motivation
In the real world, we are used to seeing light sources not only at night but during the day as well – even in the daytime we recognize a car has its headlights on for example. Although we can not see the light from such a light source, since daily light from the sun over-lights it, during dawn and dusk we can. E.g. the light from headlights is seen in the morning about an hour after the first rays of the sun. Lit light sources (like car headlights) are evident even throughout a sunny day.

The night was very dark in Arma, which many players appreciated. It was caused by almost zero value of ambient light. However, to avoid overexposing the image at night by artificial light sources (street lamps, car headlights, fireplaces, etc.), the Light Value (LV) of these resources and the intensity of the emissive materials were very low. Therefore, when the sun came up, they immediately ceased to be visible. Twilight in Arma could not have looked like in reality for these reasons.

An example for better understanding:
The sun as light source has a very high light value and it can not be measured by standard means (estimated at 25-30 LV). Meanwhile, its light on a clear day at noon is then 16-18 LV. Car headlights are 19 LV and therefore brighter than sunlight. When lit, they should be seen in the daytime. Their light at a distance of 1 meter has a value of 11 LV, and because it is weaker than sunlight, it wouldn't be apparent at noon.


Process
To approach the situation in the real world, we have increased the intensity of the ambient light at night. The night, however, is still dark, because at the same time we've increased the aperture. The human eye in the real world cannot adapt below a certain threshold and therefore sees darkness with some remnants of light. If we now were to play as a cat in Arma, we would reduce the aperture at night and the night would look brighter.

This change has allowed us to set higher values of lights so that they are seen at dawn and dusk, and the light sources themselves even during the day. The brightness of the lights got closer to their real originals.

[ATTACH=CONFIG]193[/ATTACH] [ATTACH=CONFIG]194[/ATTACH]


Change log

  • The intensity of night light increased
  • Light values of bad weather added to the underwater environment
  • Only nice weather lighting under water was configured so far

  • Light values at dawn were adjusted for nice and bad weather (based on the real photos)
  • The intesity of emissive materials was increased
  • Light sources of street lighting were amplified
  • Light sources of vehicles was amplified (work still in progress due to the amount of assets)
  • Light sources of the flashlight were modified
  • Lens flares were modified (size, texture, transparency)
  • Camera lens fares of the sun were adjusted
  • Eye lens fares of the sun were adjusted
  • Eye lens fares of other light sources were adjusted


Bohemia Interactive
Arma 3 - Project Lead
Watch us, tweet us, poke us

Take On Helicopters - Project Lead
Take On Noisecontrollers!

#2 JW Custom

JW Custom

    Chief Warrant Officer

  • Members
  • 3248 posts

Posted 24 April 2013 - 15:44

Thank you :)
Casual ArmA Players it's all about teamwork and fun, join now!

ArmA2 Missions: http://arma2missions.webege.com/

#3 Simas

Simas

    Staff Sergeant

  • Members
  • 234 posts

Posted 24 April 2013 - 15:54

Thanks for the update! However none of the dynamic lights work on my GeForce GTX 460 (bug #7372) so can't really test the night lighting. But I really like the changes to daytime lighting.

#4 Smurf

Smurf

    Chief Warrant Officer

  • Members
  • 3671 posts

Posted 24 April 2013 - 15:58

So, these changes will fix the "ugliness" due lack of lighting in bad weather\dusk\dawn conditions, rendering strange behaviour with artificial lights in general and other things like muzzle flashes?

#5 Blu3sman

Blu3sman

    Staff Sergeant

  • Members
  • 392 posts

Posted 24 April 2013 - 16:11

I love the progress made with lighting, but the sun texture needs to be resized.
Posted Image

#6 NeuroFunker

NeuroFunker

    Warrant Officer

  • Members
  • 2207 posts

Posted 24 April 2013 - 16:34

thats not the sun texture, look the edges can be seen beyond the sun, left and right.
Posted Image

I just dropped an IFV from 3,000 feet in the air. You know what happened? That's right, absolutely nothing. It hit the ground at 150 km/h, landed upright, and the AI driver kept right on trucking without a bit of damage.


But BIS! You have promised "The most realistic simulation game!" ;)

#7 Fabio_Chavez

Fabio_Chavez

    Master Sergeant

  • Members
  • 661 posts

Posted 24 April 2013 - 18:33

is it possible to make streetlights and vehiclelights available at daytime now?
e.g. to enhance the immersion during heavy fog..
and will fog affect drop shadow?

i am trying to create a decent dynamic sandstorm config that propperly applies to daytime, overcast and fog density and one of the problems is that there seems to be allmost no transition of the hardness of the dropshadow between clear sky and overcast.

see here:
http://www.youtube.com/watch?v=31YJDZVNqjY


btw i got this thread with questions about lighting and stuff, in case anyone has an idea.
http://forums.bistud...-Arma3-Lighting

#8 DaRkL3AD3R

DaRkL3AD3R

    Staff Sergeant

  • Members
  • 379 posts

Posted 24 April 2013 - 19:05

Thanks for the update and information, it puts my mind at ease a bit. Love the work with the new sunset on the horizon, looks much better.

Just looking forward to night time looking right again. Hopefully that comes sooner than later. Good luck devs.
CPU: i7 3770k 4.6Ghz 1.24v CPU Cooler: Corsair H100 Push/Pull GPU: EVGA GTX 780 Mobo: ASRock z77 Extreme4 RAM: G-Skill Ripjaws 16GB DDR3 1600Mhz PSU: BFG Tech EX-1200W Case: Coolermaster HAF X O/S: Windows 7 Ultimate x64 SSD: Samsung 830 256GB

#9 mr.g-c

mr.g-c

    Warrant Officer

  • Members
  • 2381 posts

Posted 24 April 2013 - 20:10

Thanks for ongoing work on lighting, as this was one of the most criticized parts of ArmA2 in the reviews when it was about the environment (besides blurred mid-range textures and grass-clutter disappearing after ~100m). :-)

Anyway, there was something regarding to lighting i would like to ask.:
Around the time ArmA3 was announced, there were discussions about some lighting "evolutions" that BI-Devs said they probably wont make it into the final game, but maybe later with patches or engine updates. I have forgotten what it was, or how it is called, but i think it was awesome and casting light only where it should be like in RL.
So no more lights that are for instance inside a completely shut building could be seen from outside, etc. It also had something to do with shadows, etc etc.
Can you enlighten me guys?
Marek Spanel: [...] Every single element is well taught so that it fits together. So this is a significant change, because with ArmA 1 it was just random, really.
We made some units because we had to. There wasn't much passion from our side with the first ArmA, to be honest. This time it's different. (Videogamer.com Interview:)

Please BIS: Arma2 must become a TRUE MASTERPIECE - Not a middle-heavy catastrophe!

#10 KeyCat

KeyCat

    Warrant Officer

  • Members
  • 2807 posts

Posted 24 April 2013 - 20:55

Thanks for explaining in layman terms, sounds like great improvements, hope it improves lighting during overcast as well! Been away for awhile but gonna update to latest Dev version and have a peek...

/KC
>> It's all about teamwork! <<

#11 Blu3sman

Blu3sman

    Staff Sergeant

  • Members
  • 392 posts

Posted 24 April 2013 - 21:02

Around the time ArmA3 was announced, there were discussions about some lighting "evolutions" that BI-Devs said they probably wont make it into the final game, but maybe later with patches or engine updates. I have forgotten what it was, or how it is called, but i think it was awesome and casting light only where it should be like in RL.
So no more lights that are for instance inside a completely shut building could be seen from outside, etc. It also had something to do with shadows, etc etc.
Can you enlighten me guys?

http://en.wikipedia....eferred_shading

And the dev's statement:
http://forums.bistud...l=1#post2155863
I hope their plans didn't change.

#12 KeyCat

KeyCat

    Warrant Officer

  • Members
  • 2807 posts

Posted 24 April 2013 - 22:21

Just had a quick test and can't comment on the overall environment lighting just yet and this may be old news for the devs but I noticed that the only lightsources that worked as "normal" lightsources for me at night was the campfire and the ifrit headlights.

All other lamps like the harbour and street lamps in Agia and the headlights on the Hunter and Offroad jeep is barely noticable and totally useless (just like I remember they where when I played last time a couple of weeks ago). If I turn on NVG's I see that streetlights etc. are lit but they are very dim and do not light up the avatar/ground/houses/etc.

However driving the ifrit at night was a pleasure and it's headlights lit up the road and surroundings very well. All lamp lightsources should work like this (with different lighting values of course)!

More testing when time permitts and let me know if screenshots help, gn...

My crap:

C2D E6850 @ 3.40 GHz · 6 GB RAM @ 1066 MHz · GA-EX38-DQ6 · GTX 260 [301.42 WHQL] · Windows 7 Ultimate SP1 64-bit running A3 Alpha Version 0.55.104462.

/KC

Edited by KeyCat, 26 April 2013 - 09:15.

>> It's all about teamwork! <<

#13 DaRkL3AD3R

DaRkL3AD3R

    Staff Sergeant

  • Members
  • 379 posts

Posted 24 April 2013 - 22:47

http://en.wikipedia....eferred_shading

And the dev's statement:
http://forums.bistud...l=1#post2155863
I hope their plans didn't change.


I really hope they haven't changed their minds on this one but I'm starting to doubt it given the massive impact in performance I'm seeing on regular builds at night. Dynamic lighting is currently taking a huge chunk out of my performance which with deferred lighting I should not be experiencing. Safe to say Arma 3 is not using deferred lighting yet.
CPU: i7 3770k 4.6Ghz 1.24v CPU Cooler: Corsair H100 Push/Pull GPU: EVGA GTX 780 Mobo: ASRock z77 Extreme4 RAM: G-Skill Ripjaws 16GB DDR3 1600Mhz PSU: BFG Tech EX-1200W Case: Coolermaster HAF X O/S: Windows 7 Ultimate x64 SSD: Samsung 830 256GB

#14 Nikiforos

Nikiforos

    Warrant Officer

  • Members
  • 2171 posts

Posted 25 April 2013 - 07:09

I have to agree here with DaRkL3AD3R. I hope BIS is aware of the FPS hit while playing at night time.
"Whoever comes to us with the sword from the sword will perish"
Alexandr Nevsky Prince of Novgorod and Kiev 1220-1263

#15 MadDogX

MadDogX

    Mindless F@nb0!

  • Moderators
  • 9049 posts

Posted 25 April 2013 - 07:26

I doubt BI are going to implement deferred shading at this point. Switching from forward shading to deferred shading requires an entirely new rendering pipeline, and AFAIK shaders also become much more complex, so all assets would need to be modified to work with it.

Maybe they floated the idea at one point and one overly optimistic dev spoke too soon (just like with the supposedly "confirmed" 3D editor), but right now they seem to be focused on improving their current renderer, so it seems like the idea was dropped. My prediction: deferred shading is not going to happen. (Though I would be very happy to be proven wrong. ;))

Gigabyte Z97-HD3 Motherboard | Intel Core i5 4690k @ 4.5GHz | NVidia GTX 970
16GB G-Skill Ripjaws 2133MHz RAM | Kingston HyperX SSD | be Quiet! 750W PSU

#16 Fabio_Chavez

Fabio_Chavez

    Master Sergeant

  • Members
  • 661 posts

Posted 25 April 2013 - 10:36

Hey BI guys,

you dont know how happy you make me with such updates!! just at the same time when i am trying to work something out with the exact same functions you are improving (fog / lighting...)!!!

mostly because i am a noob but partly also because the information is not yet publicly available, i am still puzzled about some things regarding the lighting engine, pleeeeaaassseee have a look at my WIP thread (trying to create a dynamic sandstorm config),
and let me know if you got some ideas, suggestions, informations that might be helpfull:

http://forums.bistud...-Arma3-Lighting

thanks in advance

#17 NeuroFunker

NeuroFunker

    Warrant Officer

  • Members
  • 2207 posts

Posted 25 April 2013 - 12:44

why the lighting at night, has been turned off completly? Flashlight can be barely seen. Street lamps, projectors do not cast any lighting at all. Only car lights, do work well. I thought, the lighting has been improved, but not removed?
Posted Image

I just dropped an IFV from 3,000 feet in the air. You know what happened? That's right, absolutely nothing. It hit the ground at 150 km/h, landed upright, and the AI driver kept right on trucking without a bit of damage.


But BIS! You have promised "The most realistic simulation game!" ;)

#18 NodUnit

NodUnit

    Second Lieutenant

  • Members
  • 4350 posts

Posted 25 April 2013 - 13:37

The lighting change requires an overhaul of all light assets, which are being worked on. The first to enter is the AH and MH-9's, with a MUCH brighter lamp though the area may be a bit too wide when you get to around 200m in the air since it spreads and diffuses rather than remaining tighter on a more closed area. If you fly up to 300m you can light up a pretty big chunk of the island.

Comparison



Note how as the helicopter rises (the real one) the lamp remains in a relatively small but focused area whereas A3 at the moment spreads waaay out.

Also when low enough to the ground and in flight the light will make nearby vegetation to sort of blink (this only occurs around 10m ceiling. http://www.youtube.com/watch?v=6Gfwlrjhzhg&feature=youtu.be

I for one LOVE the new lights and have been eager to see more of them since arma 3's first screenshots. I just hope that we see full advantage taken with the strobe and collision lights as well, in the same way that they too will cast light upon the aircraft and ground as shown in these videos. (along with perhaps adding the lamp glare particle as opposed to the old alpha bubble that clips through geometry?)
http://www.youtube.com/watch?v=R2SHHmTDpd0
http://www.youtube.com/watch?v=gjxLdJ1d3Ws

Edited by NodUnit, 25 April 2013 - 14:41.

Posted ImagePosted Image Posted Image
https://www.paypal.c...G.gif:NonHosted Alternate donate url if the above does not work.

#19 PawelKPL

PawelKPL

    Gunnery Sergeant

  • Members
  • 427 posts

Posted 25 April 2013 - 19:08

I love new mh-9 lights !!!

#20 DaRkL3AD3R

DaRkL3AD3R

    Staff Sergeant

  • Members
  • 379 posts

Posted 25 April 2013 - 19:08

Also when low enough to the ground and in flight the light will make nearby vegetation to sort of blink (this only occurs around 10m ceiling.


Yep seeing the same thing here as well. Bushes and trees look all messed up. Seeing it a bit higher too though, like up to 15-20m altitude.
CPU: i7 3770k 4.6Ghz 1.24v CPU Cooler: Corsair H100 Push/Pull GPU: EVGA GTX 780 Mobo: ASRock z77 Extreme4 RAM: G-Skill Ripjaws 16GB DDR3 1600Mhz PSU: BFG Tech EX-1200W Case: Coolermaster HAF X O/S: Windows 7 Ultimate x64 SSD: Samsung 830 256GB



Also tagged with one or more of these keywords: arma3, changelog, feedback, lighting, motivation, tweaking, tweaks