Remove reliance of 3d clouds on /sim/rendering/shader-effects
This commit is contained in:
parent
6fc8b10667
commit
cc58f7e32e
2 changed files with 6 additions and 28 deletions
|
@ -11,7 +11,6 @@
|
|||
<technique n="10">
|
||||
<predicate>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<less-equal>
|
||||
<value type="float">1.0</value>
|
||||
<shader-language/>
|
||||
|
|
|
@ -247,9 +247,6 @@
|
|||
<halign>left</halign>
|
||||
<label>3D clouds</label>
|
||||
<name>3d-clouds</name>
|
||||
<enable>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
</enable>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
|
@ -263,19 +260,13 @@
|
|||
<text>
|
||||
<label>Cloud density</label>
|
||||
<enable>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</and>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</enable>
|
||||
</text>
|
||||
<slider>
|
||||
<name>cloud-density</name>
|
||||
<enable>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</and>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</enable>
|
||||
<min>0</min>
|
||||
<max>1.0</max>
|
||||
|
@ -295,10 +286,7 @@
|
|||
</slider>
|
||||
<text>
|
||||
<enable>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</and>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</enable>
|
||||
<label>12345678</label>
|
||||
<format>%.2f</format>
|
||||
|
@ -313,19 +301,13 @@
|
|||
<text>
|
||||
<label>Cloud visibility range</label>
|
||||
<enable>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</and>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</enable>
|
||||
</text>
|
||||
<slider>
|
||||
<name>cloud-vis-range</name>
|
||||
<enable>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</and>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</enable>
|
||||
<min>1000.0</min>
|
||||
<max>45000.0</max>
|
||||
|
@ -337,10 +319,7 @@
|
|||
</slider>
|
||||
<text>
|
||||
<enable>
|
||||
<and>
|
||||
<property>/sim/rendering/shader-effects</property>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</and>
|
||||
<property>/sim/rendering/clouds3d-enable</property>
|
||||
</enable>
|
||||
<label>12345678</label>
|
||||
<format>%.fm</format>
|
||||
|
|
Loading…
Reference in a new issue