NikolaiVChr / flightgear-saab-ja-37-viggen

Saab 37 Viggen for Flightgear flight simulator
http://wiki.flightgear.org/Saab_37_Viggen
GNU General Public License v2.0
26 stars 15 forks source link

Strange dithering in FG next #92

Closed NikolaiVChr closed 4 years ago

NikolaiVChr commented 4 years ago

Click on images to notice the issue. This is how the cockpit looks in 2019.1.2: fgfs-20200227045532

This is how it looks on FG next (without compositor compiled in) fgfs-20200227045409

The dithering follows the view around, each 'pixel' seems to be in screen-space.

This is not necessarily a bug in FG, but something has changed in the rendering pipeline, need to investigate, so can fix/update the shader.

NikolaiVChr commented 4 years ago

It is present only in the fuselage shader. It only happens in ALS. Seems it is caused by commit 6d58c143c00d98ff142959047b1a64fcc22c51a2 in FGData.

Updated fuselage shader to adapt to that. Fixed.