HDR enabled turns PAPI lights into huge gloomy spheres

For all topics that don't fit into another category. Note that we cannot promise that any of these posts will be responded to by our development team.
Fi5kuS
Posts: 12
Joined: Tue Apr 22, 2014 8:24 am

HDR enabled turns PAPI lights into huge gloomy spheres

Post by Fi5kuS »

Hi.

After a lot of testing including cycling between Nvidia drivers, REX 4 TD and Overdrive runway light textures, modifying the Rynway_Lights_Scalar section in the P3D.CFG etc I've come to the conclusion that it is HDR enabled that messes up the appearance of PAPI lights. Here's the issue:

On all default airports + most addon airports (ORBX, Aerosoft but not FlyTampa as they are using custom lightning etc) the PAPI lights appear very big, gloomy and almost melted into each other. Here's a picture showing what I mean:

Image

But once I get a little more closer the runway, PAPI lights suddenly switch and display correct REX 4 TD PAPI lights for instance, or whatever custom runway lightning you have installed. Again, picture underneath displaying the switch:

Image

PS: You might want to open picture in a new tab to enlargen it.

This situation was from KTEX default airport, but same applies for KTEX from ORBX as well as all other ORBX and Aerosoft airports. If I turn OFF HDR, PAPI lights stay the size and texture they should all the way as you approach the runway. It is only with HDR enabled that outside a certain range of the runway, PAPI lights stay over-dimensioned, gloomy, and frankly horrible. Here are my HDR-settings:

Image

Is there a fix for this or is this issue completely new for LM? I am out of ideas. Please help :-)
Mike LM

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Mike LM »

I've actually gotten opposite results. HDR was keeping the light smoother than having it off. I was able to reproduce your pictures by just toggling that. Try deleting your cfg and letting Prepar3D rebuild it. Also, try disabling your add-ons.

- Mike
Fi5kuS
Posts: 12
Joined: Tue Apr 22, 2014 8:24 am

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Fi5kuS »

Mike LM wrote:I've actually gotten opposite results. HDR was keeping the light smoother than having it off. I was able to reproduce your pictures by just toggling that. Try deleting your cfg and letting Prepar3D rebuild it. Also, try disabling your add-ons.

- Mike
Tried deleting P3D.Cfg and let it rebuild - did not work. I don't understand why disabling add-ons should make any difference here on a default airport?
User avatar
bicha36
Posts: 54
Joined: Sun Apr 08, 2012 2:22 pm
Location: La Paz - Bolivia

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by bicha36 »

Mike LM wrote:I've actually gotten opposite results. HDR was keeping the light smoother than having it off. I was able to reproduce your pictures by just toggling that. Try deleting your cfg and letting Prepar3D rebuild it. Also, try disabling your add-ons.

- Mike
Mike he is talking about a change of color during approach while HDR is on. If I change the defult halo.bmp (not sure if this file is the correct) for another one like REX lights, at some distance the default colors are still present but when I get close to the airport then the colors and style are correct. This happen when HDR is active, when it's off everything appeears normal. I'll make a video later for a better understanding. BTW sorry for my English :)
Walter Almaraz

Image
Mike LM

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Mike LM »

Fi5kuS wrote:I don't understand why disabling add-ons should make any difference here on a default airport?
Some add-ons can change files that we never meant to change, or add things that we didn't expect, regardless of the in-sim location. Disabling add-ons also isolate the issue, so that it can be better diagnosed.
Fi5kuS wrote:... PAPI lights stay over-dimensioned, gloomy, and frankly horrible.
bicha36 wrote:Mike he is talking about a change of color during approach while HDR is on.
I may have misunderstood, but it sounds like you're talking about something different. Fi5kuS's issue sounds like its with the overlap of the lights, making them blend together into a "light blob". If you're having issues with coloring, that's a different issue that needs to be addressed.

Especially with things regarding color, pictures can really help us figure out what's wrong.

- Mike
User avatar
bicha36
Posts: 54
Joined: Sun Apr 08, 2012 2:22 pm
Location: La Paz - Bolivia

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by bicha36 »

Hi, here is the video:

https://www.youtube.com/watch?v=_bEYOCK ... e=youtu.be

Also here is the set that I choose for lights (by the way, the problem happen with all sets)

Image
Walter Almaraz

Image
Fi5kuS
Posts: 12
Joined: Tue Apr 22, 2014 8:24 am

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Fi5kuS »

Thanks for the video - this is excatly what I mean!
Fi5kuS
Posts: 12
Joined: Tue Apr 22, 2014 8:24 am

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Fi5kuS »

Mike LM wrote:
Fi5kuS wrote:I don't understand why disabling add-ons should make any difference here on a default airport?
Some add-ons can change files that we never meant to change, or add things that we didn't expect, regardless of the in-sim location. Disabling add-ons also isolate the issue, so that it can be better diagnosed.
Fi5kuS wrote:... PAPI lights stay over-dimensioned, gloomy, and frankly horrible.
bicha36 wrote:Mike he is talking about a change of color during approach while HDR is on.
I may have misunderstood, but it sounds like you're talking about something different. Fi5kuS's issue sounds like its with the overlap of the lights, making them blend together into a "light blob". If you're having issues with coloring, that's a different issue that needs to be addressed.

Especially with things regarding color, pictures can really help us figure out what's wrong.

- Mike
Tried de-selecting all add-ons and starting on default airport with default plane. Same result.

Image

Image

FYI, I saw another post regarding this issue that was not answered:

http://www.prepar3d.com/forum/viewtopic.php?t=113450

Still don't know whats causing this.
User avatar
Beau Hollis
Lockheed Martin
Posts: 2452
Joined: Wed Oct 06, 2010 3:25 pm

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Beau Hollis »

Our point lights go through a special shader which ensures that they never get smaller than a certain pixel size on screen. Most lights are drawn so far away that they are only visible because of this scaling. At this point the lights are a ball of light with a 4px radius that fade out to the edge. To improve performance we stop sampling the texture when they get this small and generate the pixel's color with some math to fade the base color out to the edge. The color and math approximates what you see in our default light texture. I believe the issue is that because the light texture has been replaced with a 3rd party version, it no longer transitions smoothly to the point light approximation we do at distance.
Beau Hollis
Prepar3D Software Architect
User avatar
bicha36
Posts: 54
Joined: Sun Apr 08, 2012 2:22 pm
Location: La Paz - Bolivia

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by bicha36 »

Thanks for your explanation, I think I'll use the default lights for the moment. Just one question, will you fix or check this lights?
Walter Almaraz

Image
Saul
Posts: 3510
Joined: Mon Mar 04, 2013 1:02 pm
Location: Manchester, UK

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Saul »

Would that question would be better raised with your 3rd Party developer if they will fix their broken lights?
Fi5kuS
Posts: 12
Joined: Tue Apr 22, 2014 8:24 am

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Fi5kuS »

Beau Hollis wrote:Our point lights go through a special shader which ensures that they never get smaller than a certain pixel size on screen. Most lights are drawn so far away that they are only visible because of this scaling. At this point the lights are a ball of light with a 4px radius that fade out to the edge. To improve performance we stop sampling the texture when they get this small and generate the pixel's color with some math to fade the base color out to the edge. The color and math approximates what you see in our default light texture. I believe the issue is that because the light texture has been replaced with a 3rd party version, it no longer transitions smoothly to the point light approximation we do at distance.

Thanks for explanation, but I tried restoring back to default textures in REX4 TD but it did not work. It reverted back to default PAPI light textures yes, but once outside a certain range the switched into larger blobs.

So I don't think it is the fault of 3rd party developers. The issue must somehow lie in P3D (3.2 as my version is).
Fi5kuS
Posts: 12
Joined: Tue Apr 22, 2014 8:24 am

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Fi5kuS »

Any suggestions? Complete reinstall is off the table as I almost just did.
User avatar
WarpD
Posts: 1469
Joined: Mon Feb 14, 2011 5:29 am

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by WarpD »

Here's what I see in the sim:

Image

Image
Ed Wilson
Senior Developer
Mindstar Aviation
Fi5kuS
Posts: 12
Joined: Tue Apr 22, 2014 8:24 am

Re: HDR enabled turns PAPI lights into huge gloomy spheres

Post by Fi5kuS »

Sorry for the amazingly crappy video but here you can spot my issue.

1. Look how big the PAPI lights are at the beginning!

2. Look how the PAPI lights slowly reduces size while approaching them - why is this?!

3. Just before toughdown, when having two white and two reds - look how the PAPI lights changes colour/textures once inside a certain range of them.

https://www.youtube.com/watch?v=woQjjh23mgc
Locked