Elvas Tower: Another Openrails Skydome texture #5 - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Another Openrails Skydome texture #5 Rate Topic: ***** 1 Votes

#1 User is offline   cvo2010 

  • Foreman Of Engines
  • Group: Status: First Class
  • Posts: 813
  • Joined: 04-June 11
  • Gender:Male
  • Simulator:None
  • Country:

Posted 01 October 2017 - 09:50 AM

http://www.elvastowe...eenshot&id=2640
File Name: Another Openrails Skydome texture #5
File Submitter: cvo2010
File Submitted: 01 Oct 2017
File Updated: 25 Jul 2018
File Category: Miscellaneous (Everything Else)

The file has been removed.

Click here to download this file

#2 User is offline   cvo2010 

  • Foreman Of Engines
  • Group: Status: First Class
  • Posts: 813
  • Joined: 04-June 11
  • Gender:Male
  • Simulator:None
  • Country:

Posted 30 October 2017 - 02:52 PM

After playing around with one of the Monogame beta versions of OR, I discovered, that I made a gross mistake in the 'Read Me' file accompanying the OR Skydome texture #5.

In the 'Read Me' file, I'm giving directions on how to "turn off the Sun", but after using my own medicine, from the included "Read Me" file, in a OR Monogame install, the Sun suddenly appeared around 12:00 Noon. WTF http://www.elvastower.com/forums/public/style_emoticons/default/sorry2.gif http://www.elvastower.com/forums/public/style_emoticons/default/blush2.gif http://www.elvastower.com/forums/public/style_emoticons/default/clown.gif .

From the included 'read me File'.

In order to "turn of" the OR Sun, You need to make the following changes to the SkyShader.fx, located in Openrails\Content folder.

From this:


// Sun glow
// Coefficients selected by the author to achieve the desired appearance - fot limits the effect
skyColor += angleRcp * Fog.y;


To this


// Sun glow
// Coefficients selected by the author to achieve the desired appearance - fot limits the effect
skyColor += angleRcp * 0.000 * Fog.y;


This is simply not correct.
Instead You have to change the text in the skyShader.fx from this:


// Sun glow
// Coefficients selected by the author to achieve the desired appearance - fot limits the effect
skyColor += angleRcp * Fog.y;

// increase orange at sunset - fog limits the effect
if (LightVector.x < 0)
{
skyColor.r += SkyColor.z * angleRcp * Fog.z;
skyColor.g += skyColor.r * Fog.w;
}


To this:


// Sun glow
// Coefficients selected by the author to achieve the desired appearance - fot limits the effect
skyColor.b += angleRcp * 0.000 * Fog.y;

// increase orange at sunset - fog limits the effect
if (LightVector.x < 0)
{
skyColor.b += SkyColor.z * angleRcp * 0.000 * Fog.z;
skyColor.b += skyColor.r * Fog.w;
}


After a back-up of the original SkyShader.fx, you can copy & paste the above text into the SkyShader.fx file.

This will remove the Sun, and it will change the Gamma shift, that happens around 12:00 Noon in OR. Around 12:00 Noon, the whole OR Skydome changes, and becomes greenish tinted. I personally never liked that greenish tint, but the above text will get rid of it.

Again, sorry for uploading an incomplete read me file / not testing my own files properly http://www.elvastower.com/forums/public/style_emoticons/default/clown.gif.

The best regards Claus

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users