1
0
Fork 0

Compositor: Fixed render order of child effects

This commit is contained in:
Fernando García Liñán 2019-10-30 20:12:55 +01:00
parent 1f637b3ad3
commit d1ab981110
34 changed files with 56 additions and 64 deletions

View file

@ -278,7 +278,7 @@
</parameters>
<!-- put techniques at a "high" index to allow derived effects to
insert their own techniques first. -->
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -37,7 +37,7 @@
<overlay_bias>0.0</overlay_bias>
<overlay_alpha>1.0</overlay_alpha>
</parameters>
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -154,7 +154,7 @@
</sea_b>
<!-- END fog include -->
</parameters>
<technique n="8">
<technique n="6">
<!-- FIXME: this technique number overlaps the one in model-default -->
<predicate>
<and>
@ -219,7 +219,7 @@
</uniform>
</pass>
</technique>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -616,7 +616,7 @@
<!-- END fog include -->
</pass>
</technique>
<technique n="19">
<technique n="18">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -146,7 +146,7 @@
</parameters>
<!-- Atmospheric scattering technique with model shader-->
<!-- Atmospheric scattering technique -->
<technique n="7">
<technique n="4">
<pass>
<lighting>true</lighting>
<material>
@ -338,7 +338,7 @@
</uniform>
</pass>
</technique>
<technique n="8">
<technique n="5">
<pass>
<material>
<active>true</active>
@ -401,7 +401,7 @@
</program>
</pass>
</technique>
<technique n="9">
<technique n="6">
<pass>
<material>
<active>true</active>
@ -464,7 +464,7 @@
</program>
</pass>
</technique>
<technique n="18">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>
@ -578,7 +578,7 @@
</program>
</pass>
</technique>
<technique n="19">
<technique n="17">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -9,7 +9,7 @@
<chute_bend>0.0</chute_bend>
<!-- END fog include -->
</parameters>
<technique n="19">
<technique n="18">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<PropertyList>
<name>Effects/cityLM</name>
<inherits-from>/Effects/model-combined-deferred</inherits-from>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<!-- Light Map -->
<lightmap-enabled type="int">1</lightmap-enabled>

View file

@ -35,7 +35,7 @@
<grain-fade-power type="float">1.3</grain-fade-power>
<rock_strata>0</rock_strata>-->
</parameters>
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -22,7 +22,7 @@
<use>/environment/snow-level-m</use>
</snow-level>
</parameters>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>

View file

@ -42,7 +42,7 @@
<size_grain>30.0</size_grain>
<grain_strength>1.0</grain_strength>
</parameters>
<technique n="19">
<technique n="15">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -46,7 +46,7 @@
</fogtype>
<!-- END fog include -->
</parameters>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -262,7 +262,7 @@
<!-- END fog include -->
</pass>
</technique>
<technique n="19">
<technique n="18">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -72,7 +72,7 @@
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>

View file

@ -72,7 +72,7 @@
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>

View file

@ -89,7 +89,7 @@
</parameters>
<!-- fall back to a fixed pipeline technique equivalent to model-transparent otherwise -->
<!-- Rembrandt technique of model-default comes at 10, so we insert before that -->
<technique n="9">
<technique n="7">
<pass>
<lighting>true</lighting>
<depth>
@ -165,7 +165,7 @@
</texture-unit>
</pass>
</technique>
<technique n="19">
<technique n="18">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -33,7 +33,7 @@
<use>/environment/aircraft-effects/wash-strength</use>
</wash-strength>
</parameters>
<technique n="19">
<technique n="15">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -72,7 +72,7 @@
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>

View file

@ -93,7 +93,7 @@
</parameters>
<!-- fall back to a fixed pipeline technique equivalent to model-transparent otherwise -->
<!-- Rembrandt technique of model-default comes at 10, so we insert before that -->
<technique n="9">
<technique n="7">
<pass>
<lighting>true</lighting>
<depth>
@ -169,7 +169,7 @@
</texture-unit>
</pass>
</technique>
<technique n="19">
<technique n="18">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -44,7 +44,7 @@
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>
<technique n="8">
<technique n="6">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -380,7 +380,7 @@
<!-- END fog include -->
</pass>
</technique>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>

View file

@ -21,7 +21,7 @@
<transparent>true</transparent>
<raise_vertex type="bool">true</raise_vertex>
</parameters>
<technique n="19">
<technique n="15">
<scheme>als-lighting</scheme>
<predicate>
<equal>

View file

@ -7,7 +7,7 @@ and fallback to plain transparency when the model shader is disabled.
<name>Effects/model-combined-transparent</name>
<inherits-from>Effects/model-combined</inherits-from>
<!-- Rembrandt rendering -->
<technique n="9">
<technique n="6">
<predicate>
<and>
<equal>

View file

@ -305,7 +305,7 @@ please see Docs/README.model-combined.eff for documentation
<binormal type="int">7</binormal>
</generate>-->
<!-- Default rendering -->
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -843,7 +843,7 @@ please see Docs/README.model-combined.eff for documentation
</uniform>
</pass>
</technique>
<technique n="19">
<technique n="18">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -284,7 +284,7 @@
</uniform>
</pass>
</technique>-->
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -65,7 +65,7 @@
<ra-irradiance-map-type type="int">0</ra-irradiance-map-type>
<ra-irradiance-map-strength type="float">0.0</ra-irradiance-map-strength>
</parameters>
<technique n="18">
<technique n="17">
<scheme>als-lighting</scheme>
<predicate>
<and>
@ -648,7 +648,7 @@
</uniform>
</pass>
</technique>
<technique n="19">
<technique n="18">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -294,7 +294,7 @@
<binormal type="int">7</binormal>
</generate>-->
<!-- Default rendering -->
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -832,7 +832,7 @@
</uniform>
</pass>
</technique>
<technique n="19">
<technique n="18">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -59,7 +59,7 @@
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>
<technique n="19">
<technique n="17">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -35,7 +35,7 @@
<grain-fade-power type="float">1.3</grain-fade-power>
<rock_strata>0</rock_strata>-->
</parameters>
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -254,7 +254,7 @@
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -548,7 +548,7 @@
</uniform>
</pass>
</technique>
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<scheme>
<name>als-shadow</name>
<fallback>Effects/shadow-pass</fallback>
</scheme>
</PropertyList>

View file

@ -14,7 +14,7 @@
<geo_ambience type="float">0.0</geo_ambience>
<use_geo_light type="int">0</use_geo_light>
</parameters>
<technique n="8">
<technique n="5">
<pass>
<program>
<vertex-shader n="0">Shaders/ALS/space-ultra.vert</vertex-shader>
@ -950,7 +950,7 @@
</uniform>
</pass>
</technique>
<technique n="9">
<technique n="6">
<pass>
<program>
<vertex-shader n="0">Shaders/ALS/space-base.vert</vertex-shader>

View file

@ -3,7 +3,7 @@
<PropertyList>
<name>Effects/space</name>
<inherits-from>Effects/model-default</inherits-from>
<technique n="9">
<technique n="7">
<pass>
<program>
<vertex-shader n="0">Shaders/ALS/space-base.vert</vertex-shader>

View file

@ -33,7 +33,7 @@
<overlay_autumn_flag>0</overlay_autumn_flag>
<overlay_secondary_flag>0</overlay_secondary_flag>
</parameters>
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -86,7 +86,7 @@ parameters :
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>-->
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>

View file

@ -48,7 +48,7 @@
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>
<technique n="8">
<technique n="6">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -319,7 +319,7 @@
<!-- END fog include -->
</pass>
</technique>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -533,7 +533,7 @@
</uniform>
</pass>
</technique>
<technique n="18">
<technique n="15">
<scheme>als-lighting</scheme>
<predicate>
<and>
@ -1387,7 +1387,7 @@
<!-- END fog include -->
</pass>
</technique>
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -334,7 +334,7 @@
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/water</property>
@ -713,7 +713,7 @@
<!-- END fog include -->
</pass>
</technique>
<technique n="18">
<technique n="15">
<scheme>als-lighting</scheme>
<predicate>
<and>
@ -1606,7 +1606,7 @@
<!-- END fog include -->
</pass>
</technique>
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>

View file

@ -334,7 +334,7 @@
<tangent type="int">6</tangent>
<binormal type="int">7</binormal>
</generate>
<technique n="8">
<technique n="6">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -772,7 +772,7 @@
</uniform>
</pass>
</technique>
<technique n="9">
<technique n="7">
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
@ -1167,7 +1167,7 @@
</uniform>
</pass>
</technique>
<technique n="18">
<technique n="15">
<scheme>als-lighting</scheme>
<predicate>
<and>
@ -2040,7 +2040,7 @@
<!-- END fog include -->
</pass>
</technique>
<technique n="19">
<technique n="16">
<scheme>als-lighting</scheme>
<predicate>
<and>