1
0
Fork 0
Commit graph

10459 commits

Author SHA1 Message Date
Fernando García Liñán
fcf46b39d8 Attempt to fix remaining transparency issues
All transparency-related config has been reverted back to how it was in
2020.3 for maximum compatibility. This is not ideal for HDR but we will
figure something out.

In HDR, transparent AC objects must be marked with model-transparent or
model-combined-transparent. glTF objects are automatically assigned the
correct Effects.
2023-05-03 11:39:59 +02:00
Fernando García Liñán
1e66c4104a HDR: Improved environment mapping
- Terrain and clouds and now rendered on the envmap, with correct aerial
  perspective.
- Each face is rendered on a separate frame to help with performance.
- All faces are updated every 1.5 minutes. This can be changed through a
  property.
2023-05-03 02:03:10 +02:00
Stuart Buchanan
d8c0e6c22f WS30: Force the sea to sea level
Mapping landclass-mapping.xml indicating if a particular
landclass represents the sea and therefore should be
forced to 0 elevation.
2023-05-02 19:55:14 +01:00
Fernando García Liñán
d38e6bffd6 HDR: Fix building vertex attributes 2023-04-28 23:02:42 +02:00
Fernando García Liñán
5c33dafdec Change buildings and lights vertex attributes (again)
See related SimGear commit 009547c0.
2023-04-28 22:56:25 +02:00
scttgs0
827f9cdc49 Ticket 2774 - [keyboard.xml] Request add binding for Auto-Coordination 2023-04-28 00:44:27 -05:00
scttgs0
998b309aac [Textures] PNG compression 2023-04-27 23:40:26 -05:00
scttgs0
b1f87ac535 Ticket #2801 - navselector prop rule causes [ALRT]:autopilot DigitalFilter: unknown config
<value> elements are invalid within a <filter> element.
Fix was to changed to <input> elements.
2023-04-27 23:33:24 -05:00
Fernando García Liñán
649e2a0574 HDR: Simplify water shader 2023-04-28 04:58:24 +02:00
Fernando García Liñán
afa8331299 HDR: Fix wingflex shader
It does not work (there is no wingflex), but at least it renders properly.
2023-04-24 05:04:02 +02:00
Fernando García Liñán
631bc13e94 HDR: Add tree shaders 2023-04-23 23:11:51 +02:00
Fernando García Liñán
4ab57b15c2 HDR: Add missing GL extension 2023-04-23 21:30:29 +02:00
Fernando García Liñán
8a28ac7131 HDR: Add support for random and OSG buildings 2023-04-23 21:26:26 +02:00
Fernando García Liñán
775ca98db3 HDR: Fix typos 2023-04-23 21:26:25 +02:00
scttgs0
9616dba341 [Textures] Miscellaneous PNG compression 2023-04-23 03:29:52 -05:00
scttgs0
380c421c98 [Texture/Sings] PNG compression 2023-04-23 03:26:49 -05:00
scttgs0
b990de866b [Textures/Runway] PNG compression 2023-04-23 03:25:24 -05:00
scttgs0
387d1a3d94 [Textures/osm2city] PNG compression 2023-04-23 03:23:44 -05:00
scttgs0
742f5f5775 [Aircraft/Instruments-3d] PNG compression and iCCP removal 2023-04-23 02:53:50 -05:00
scttgs0
fced1632d4 [Cubemap/buildings] PNG compression and iCCP removal 2023-04-23 02:46:10 -05:00
scttgs0
a1c17f9ca1 [gui] PNG compression and iCCP removal 2023-04-23 02:41:28 -05:00
Fernando García Liñán
51b8141575 Change vertex attributes of buildings and lights
See related SimGear commit 1c2a39fa.
2023-04-21 02:21:15 +02:00
Fernando García Liñán
691337a00e HDR: Add separate fog layer to atmosphere
Also use Nasal to feed the shaders' uniforms. Much better than running
the computations on the GPU.
2023-04-21 02:15:42 +02:00
scttgs0
6d03eb190f [Textures] PNG compression and iCCP removal 2023-04-17 15:58:44 -05:00
scttgs0
985ce85649 [AI/Aircraft] PNG compression and iCCP removal 2023-04-17 14:59:10 -05:00
scttgs0
f221be9be6 [Geodata] PNG compression and iCCP removal 2023-04-17 14:50:03 -05:00
scttgs0
38ccff0900 [gui] PNG compression and iCCP removal 2023-04-17 14:46:35 -05:00
scttgs0
35e4efc09d Merge branch 'next' of git://git.code.sf.net/p/flightgear/fgdata into next 2023-04-17 14:33:54 -05:00
scttgs0
e65bc0e3ec [Models] PNG compression and iCCP removal 2023-04-17 14:30:48 -05:00
TheFGFSEagle
4c398de46c More robust rotation center handling 2023-04-17 15:13:18 +01:00
TheFGFSEagle
e5f4915e89 canvas.gui.widgets PropertyWidgets: Add functionality to temporarily disable property syncedness for property-synced widgets
This is needed for example to prevent writing to the bound property while adding items to a PropertyComboBox
2023-04-17 15:13:17 +01:00
TheFGFSEagle
ad266eb743 canvas.gui.widgets.ComboBox: Bug fixes, implement findByValue and findByText methods, add placeholders for missing artwork 2023-04-17 15:13:17 +01:00
TheFGFSEagle
51e16819be aircraft.data: Enable method chaining and add method to remove properties from the catalog 2023-04-17 15:13:17 +01:00
TheFGFSEagle
d70d073a22 Added property-synced dial and slider 2023-04-17 15:13:17 +01:00
TheFGFSEagle
638b6182d6 Implemented dial with optional value display, ticks and wrapping 2023-04-17 15:13:17 +01:00
TheFGFSEagle
4fb22e821a Fix menus popping back up when clicking on a menu bar item / combo box with the respective menu open 2023-04-17 15:13:17 +01:00
Fernando García Liñán
10cd3fb8c4 HDR: Normal mapping without precomputed tangents
Also tidy up model and terrain shaders. Inputs and outputs to vertex and
fragment shaders are now interface blocks.
2023-04-17 05:09:24 +02:00
Fernando García Liñán
82d415cbd4 HDR: Add remaining aerosol types
Now the properties of the atmospheric medium can be changed through the
property tree.
2023-04-16 07:19:22 +02:00
scttgs0
b0cfcd4a62 Ticket #2441: Remove Aircraft Center (Experimental) 2023-04-15 23:53:48 -05:00
Erik Hofman
9e0211312e Follow the new shader guide style 2023-04-13 08:25:07 +02:00
Fernando García Liñán
e77e5bad9c HDR: Fix aerial perspective banding 2023-04-13 05:57:01 +02:00
Fernando García Liñán
f53a170539 HDR: Better bloom effect
We also now pre-expose our lighting before writing to the HDR buffers.
This solves some precision issues and prevents the Sun from producing
infinite values.
2023-04-13 00:30:02 +02:00
Stuart Buchanan
ce24a3f05f HDR: WS30 basic terrain shader 2023-04-12 18:11:41 +01:00
Fernando García Liñán
23b4e6e26f Fix typo 2023-04-11 17:59:44 +02:00
Fernando García Liñán
8af67bfb2f HDR: Complete refactoring of shader style and naming
See https://wiki.flightgear.org/Shader_Style_Guide.
2023-04-11 15:53:47 +02:00
Erik Hofman
c64130fc4c Remove all wave features from water textures. let shaders handle it. 2023-04-09 14:20:50 +02:00
Fernando García Liñán
c4d19877cf HDR: Significant update
- New atmosphering rendering technique based on my own work.
- Attempt to fix some remaining transparency issues.
- Use a luminance histogram for auto exposure.
- Add support for clustered shading.
- Add WS 2.0 shaders.
- Add 3D cloud shaders.
- Add orthoscenery support.
2023-04-06 00:18:29 +02:00
Fernando García Liñán
85771b2863 Use different vertex attribute for orthoscenery
See related SimGear commit e8ffe461

Now the orthophoto texture coordinates are contained in gl_TexCoord[2],
so no need to pass any custom vertex attributes to Effects that use
photoscenery.
2023-04-05 23:13:51 +02:00
Benedikt Wolf
eb9508ed56 ILEC-SC7: Correct size, various small model improvements 2023-03-13 11:22:05 +01:00
Erik Hofman
534c859cdb Revert to 8e3ef0d2e4 as Nasal OOP doesn't work 2023-03-10 09:21:54 +01:00