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
This commit is contained in:
parent
3a8503c318
commit
414188138d
1 changed files with 2 additions and 0 deletions
|
@ -231,12 +231,14 @@
|
||||||
<program>
|
<program>
|
||||||
<vertex-shader>Shaders/ALS/terrain-ultra.vert</vertex-shader>
|
<vertex-shader>Shaders/ALS/terrain-ultra.vert</vertex-shader>
|
||||||
<vertex-shader>Shaders/ALS/filters.vert</vertex-shader>
|
<vertex-shader>Shaders/ALS/filters.vert</vertex-shader>
|
||||||
|
<vertex-shader>Shaders/ALS/shadows-include.vert</vertex-shader>
|
||||||
<fragment-shader>Shaders/ALS/terrain-ultra.frag</fragment-shader>
|
<fragment-shader>Shaders/ALS/terrain-ultra.frag</fragment-shader>
|
||||||
<fragment-shader>Shaders/ALS/noise.frag</fragment-shader>
|
<fragment-shader>Shaders/ALS/noise.frag</fragment-shader>
|
||||||
<fragment-shader>Shaders/ALS/cloud-shadowfunc.frag</fragment-shader>
|
<fragment-shader>Shaders/ALS/cloud-shadowfunc.frag</fragment-shader>
|
||||||
<fragment-shader>Shaders/ALS/hazes.frag</fragment-shader>
|
<fragment-shader>Shaders/ALS/hazes.frag</fragment-shader>
|
||||||
<fragment-shader>Shaders/ALS/secondary_lights.frag</fragment-shader>
|
<fragment-shader>Shaders/ALS/secondary_lights.frag</fragment-shader>
|
||||||
<fragment-shader>Shaders/ALS/filters.frag</fragment-shader>
|
<fragment-shader>Shaders/ALS/filters.frag</fragment-shader>
|
||||||
|
<fragment-shader>Shaders/ALS/shadows-include.frag</fragment-shader>
|
||||||
</program>
|
</program>
|
||||||
<uniform>
|
<uniform>
|
||||||
<name>grain_strength</name>
|
<name>grain_strength</name>
|
||||||
|
|
Loading…
Reference in a new issue