1
0
Fork 0

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:
Stuart Buchanan 2020-05-23 18:48:48 +01:00
parent 3a8503c318
commit 414188138d

View file

@ -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>