Board index FlightGear Development Scenery

Coverage of the current material regions in FGDATA

Questions and discussion about enhancing and populating the FlightGear world.

Re: Coverage of the current material regions in FGDATA

Postby stuart » Sat May 23, 2020 8:59 am

If it’s easier for you, just send me the file and I’ll work it out and commit it on your behalf.
G-MWLX
User avatar
stuart
Moderator
 
Posts: 1584
Joined: Wed Nov 29, 2006 9:56 am
Location: Edinburgh
Callsign: G-MWLX

Re: Coverage of the current material regions in FGDATA

Postby vnts » Sat May 23, 2020 4:07 pm

As there wasn't an update to FGData, and Thorsten said it was a 2 line fix I had a look at the effects file hoping it wasn't the technique selection logic. No idea what the full formula for quality settings& selection is, and how it changed in the compositor - and not sure it's documented anywhere so I didn't try to fix back then as I thought it might be a convoluted selection logic problem.

The culprit was the 1st pass rendering of the normal terrain underneath the overlays with full lighting/haze as screenshots implied. That pass is just missing the 2 shadow-includes. Just a WiP porting thing.

Code: Select all
      <program>
        <vertex-shader>Shaders/ALS/terrain-ultra.vert</vertex-shader>
        <vertex-shader>Shaders/ALS/filters.vert</vertex-shader>
        <vertex-shader>Shaders/ALS/shadows-include.vert</vertex-shader> <!-- new -->
        <fragment-shader>Shaders/ALS/terrain-ultra.frag</fragment-shader>
        <fragment-shader>Shaders/ALS/noise.frag</fragment-shader>
        <fragment-shader>Shaders/ALS/cloud-shadowfunc.frag</fragment-shader>
        <fragment-shader>Shaders/ALS/hazes.frag</fragment-shader>
        <fragment-shader>Shaders/ALS/secondary_lights.frag</fragment-shader>
        <fragment-shader>Shaders/ALS/filters.frag</fragment-shader>
        <fragment-shader>Shaders/ALS/shadows-include.frag</fragment-shader> <!-- new -->
      </program>


That's 2 lines accounted for: )
Maybe in time for the bug fix release.
:mrgreen: :mrgreen: https://imgur.com/a/YIRRtt2

Kind regards
vnts
 
Posts: 206
Joined: Thu Apr 02, 2015 12:29 am

Re: Coverage of the current material regions in FGDATA

Postby stuart » Sat May 23, 2020 5:42 pm

Marvellous! That's fixed it. Thanks very much to both of you for being able to diagnose and fix the problem.

I'll get it checked in, and also set the minimum latitude for the north_atlantic_islands to 60 to it doesn't over-ride the UK materials.

-Stuart
G-MWLX
User avatar
stuart
Moderator
 
Posts: 1584
Joined: Wed Nov 29, 2006 9:56 am
Location: Edinburgh
Callsign: G-MWLX

Previous

Return to Scenery

Who is online

Users browsing this forum: No registered users and 4 guests