Sign in to follow this  
Murmur

The best lighting ever.

Recommended Posts

Help AVSIM continue to serve you!
Please donate today!

Beautiful shots.  PNW in XPX is gorgeous, just like it is in P3D.  XPX is very nice for bush flying.

Share this post


Link to post
Share on other sites

Looks superb!  Very realistic looking.

 

Do you mind sharing how you've achieved those colours and slight haze?  I'm assuming you have a custom sky colour installed?

Share this post


Link to post
Share on other sites

Thank you all!

 

Looks superb!  Very realistic looking.

 

Do you mind sharing how you've achieved those colours and slight haze?  I'm assuming you have a custom sky colour installed?

 

Try these (work in progress):

 

(rename to "sky_colors_hialt.png" )

 

a96tYU0.png

 

(rename to "sky_colors_mount.png" )

 

aF7u8wY.png

 

visibility: at least 80 miles;

 

 

edited art controls:

 

atmo/scatter_raleigh_b=41

atmo/scatter_raleigh_g=17

atmo/scatter_raleigh_r=5.8

 

skyc/raleigh_scattering_mount=0.212

 

skyc/min_shadow_angle=-90

shadow/total_fade_ratio=1

 

skyc/tone_ratio_mount=0 or 1

 

 

  • Upvote 2

Share this post


Link to post
Share on other sites

Hi murmur,

fantastic shots !

and thanks for sharing the art controls and pngs.

 

I'm also working on the lighting, and I'm glad you've discovered a few art controls I didn't know.

 

I can't figure out what 'shadow/total_fade_ratio' does. Could you help ?

 

Cheers,

Pascal

Share this post


Link to post
Share on other sites
I can't figure out what 'shadow/total_fade_ratio' does. Could you help ?

 

I'm not sure, but it seems to produce a fading of the base of terrain shadows. Try setting a late afternoon in a mountainous area and see if you see some difference when changing the dataref.

Share this post


Link to post
Share on other sites

Thanks but not sure what to do with the settings. The png files did not overwrite as the originals did not say png and end of text so then I had two of same of each. I did change the name again but did not add the png  and then they did overwrite.

 

As for the text - have no idea where to look for those changes.

Share this post


Link to post
Share on other sites

As for the text - have no idea where to look for those changes.

 

You'll need to install datarefeditor in your X-Plane ( http://developer.x-plane.com/tools/datarefeditor/ ), then you can open the "Art Controls" (while running X-Plane, in the plugins menu), then search for and change the datarefs I listed.

 

Done this way, it needs to be done every time you re-start X-Plane. A python plugin would allow you to change them permanently.

Share this post


Link to post
Share on other sites

So your saying I will have to input the text each time I start X-Plane?

Share this post


Link to post
Share on other sites

So your saying I will have to input the text each time I start X-Plane?

 

Yes, unless you have python installed and you know a little python, you can write a little script so that it automatically modifies datarefs for you each time you start the sim.

Share this post


Link to post
Share on other sites

This can also be done with Lua: 
1st install flywithlua, then

2nd create a new file in the scripts folder, like: perfect_lightning.lua
3rd copy the datarefs in this file and save:

set( "sim/private/controls/atmo/scatter_raleigh_b", 41 )
set( "sim/private/controls/atmo/scatter_raleigh_g", 17 )
set( "sim/private/controls/atmo/scatter_raleigh_r", 5.8 )
 
set( "sim/private/controls/skyc/raleigh_scattering_mount", 0.212 )
set( "sim/private/controls/skyc/min_shadow_angle", -90 )
set( "sim/private/controls/skyc/tone_ratio_mount", 0 )
 
set( "sim/private/controls/shadow/total_fade_ratio", 1 )
 
  • Upvote 1

Share this post


Link to post
Share on other sites

Murmur,These edits are fantastic,I'm loving the late day haze effect.Is there anyway to permanently save these settings so I don't need to edit these every time I start XPane? Thank You

345kc9h.jpg

2ebvfv5.jpg

rbbn9f.jpg 


**edit** just read above post

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this