Fernando García Liñán
a3a8f9123e
Make Compositor default
...
- Remove all Compositor Effects and Shaders.
- Unify the low-spec and ALS pipelines in a single pipeline called 'Classic'.
- Readd shadow mapping.
- Move the WS30 Effect and fragment shader out of the Compositor-specific directories.
2020-11-16 13:46:30 +01:00
Stuart Buchanan
3cace276d2
WS3.0: Add tile_level, tile_width, tile_height
...
Add Uniforms to WS3.0 fragment shader to provide
LoD information and make sampling of adjacent points
in the landclass texture easier.
2020-11-14 21:04:30 +00:00
Stuart Buchanan
605f0e3c74
WS3.0: Add forest texture to shader
...
Interm shader update until texture array support available.
2020-11-12 20:47:08 +00:00
Stuart Buchanan
4aff635cdb
WS3.0: Initial commit of WS3.0 rendering
2020-11-08 22:44:34 +00:00
Stuart Buchanan
d9244ac724
Fix interior effect for Compositor ALS model<2
...
Compositor/ALS/generic-base.vert requires shadows-include.vert
2020-05-26 20:26:05 +01:00
Stuart Buchanan
414188138d
Fix terrain-overlay under Compositor/ALS
...
Previously this rendered as black.
Fix from Thorsten Renk and vnts on the forum.
https://forum.flightgear.org/viewtopic.php?f=5&t=37161&p=368384#p368384
2020-05-23 18:48:48 +01:00
Stuart Buchanan
10d7165c54
Set correct depth ranges for randing buildings
...
Unlikely that we'll enable shadows for them, but they
should have logarithmic depth set anyway.
2020-04-13 17:56:49 +01:00
Stuart Buchanan
1d877850b9
Fix OSM2city buildings for Compositor using model shader
...
Previously osm2city buildings did not render under the
Compositor/ALS pipeline with /sim/rendering/shaders/model>0
Now it does. Thanks to merspieler for assistance in
diagnosing the problem.
2020-04-13 17:17:45 +01:00
Fernando García Liñán
c0e2b243f6
Compositor: Fix EarthView with ALS pipeline
2020-04-04 18:12:20 +02:00
Fernando García Liñán
e1e0cf5997
Compositor: Port remaining ALS Effects to use a logarithmic depth buffer
2020-04-04 17:57:33 +02:00
Fernando García Liñán
f0ee8f23d2
Compositor: Use #version 140 for clustered shading
...
This fixes compatibility issues with AMD graphics cards that support a OpenGL
3.1 compatibility profile. Integrated Intel GPUs using the Mesa drivers should set the environment variable:
MESA_GL_VERSION_OVERRIDE="3.1COMPAT"
2020-04-02 21:32:05 +02:00
Fernando García Liñán
6ef32c6dac
Compositor: Use depth partitioning in the low spec pipeline.
2020-03-30 19:24:04 +02:00
Stuart Buchanan
9e7afc7291
Fix random buildings in Compositor
...
Update Compositor Effects and Shaders with latest random/osm2city
buildings implementation.
2020-03-28 14:27:08 +00:00
Fernando García Liñán
84f0530a1d
Compositor: Use a logarithmic depth buffer in the ALS pipeline.
...
This might not be a definitive solution to fix z-fighting issues, but it's a
good solution meanwhile and can be implemented easily on any shader just by
adding a few lines.
2020-03-22 17:27:12 +01:00
Fernando García Liñán
dd2ac0a32e
- Changed location of Compositor pipelines.
...
- 1-bit transparency for shadow mapping.
- Several effects ported to the Compositor.
- Miscellaneous fixes to Compositor Effects.
2020-03-22 17:27:12 +01:00
Fernando García Liñán
d3e3c55fd6
Compositor: Initial support for clustered shading under the ALS pipeline
2020-03-22 17:27:12 +01:00
Fernando García Liñán
daeea22999
Compositor: Added shadow mapping to the ALS pipeline
2019-11-03 20:52:22 +01:00
Fernando García Liñán
d1ab981110
Compositor: Fixed render order of child effects
2019-10-30 20:12:55 +01:00
Fernando García Liñán
1f637b3ad3
Compositor: Simplified the low-spec pipeline to use a single pass
2019-10-30 17:08:07 +01:00
Fernando García Liñán
1f2607478e
Compositor: Fixed typo that prevented scenery loading
2019-10-30 16:49:34 +01:00
Fernando García Liñán
fb7f1545a0
Compositor: Ported most Effects to the compositor
2019-10-26 01:42:48 +02:00
Fernando García Liñán
6256f776d4
Compositor framework initial commit.
2019-02-04 18:04:45 +01:00