Fix issue #511: effects use new property for snow-level
This commit is contained in:
parent
4464a74f2a
commit
2ca355bc82
3 changed files with 6 additions and 6 deletions
|
@ -41,7 +41,7 @@ parameters :
|
|||
<use>/environment/rain-norm</use>
|
||||
</rain-norm>
|
||||
<snow-level>
|
||||
<use>/sim/rendering/snow-level-m</use>
|
||||
<use>/environment/snow-level-m</use>
|
||||
</snow-level>
|
||||
|
||||
<cloud-cover0>
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
<inherits-from>Effects/terrain-default</inherits-from>
|
||||
<parameters>
|
||||
<snow-level>
|
||||
<use>/sim/rendering/snow-level-m</use>
|
||||
<use>/environment/snow-level-m</use>
|
||||
</snow-level>
|
||||
<depth-factor type="float">0.008</depth-factor>
|
||||
<night-color type="vec3d">0.75 0.59 0.05</night-color>
|
||||
<quality-level>
|
||||
<use>/sim/rendering/shaders/quality-level</use>
|
||||
<use>/sim/rendering/shaders/urban</use>
|
||||
</quality-level>
|
||||
|
||||
<!--fog include-->
|
||||
|
@ -46,7 +46,7 @@
|
|||
<property>/sim/rendering/shaders/quality-level</property>
|
||||
<less-equal>
|
||||
<value type="float">4.0</value>
|
||||
<float-property>/sim/rendering/shaders/quality-level</float-property>
|
||||
<float-property>/sim/rendering/shaders/urban</float-property>
|
||||
</less-equal>
|
||||
<or>
|
||||
<less-equal>
|
||||
|
|
|
@ -466,7 +466,7 @@
|
|||
</enable>
|
||||
<min>0.0</min>
|
||||
<max>5000.0</max>
|
||||
<property>/sim/rendering/snow-level-m</property>
|
||||
<property>/environment/snow-level-m</property>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
<object-name>snow-level</object-name>
|
||||
|
@ -489,7 +489,7 @@
|
|||
<label>12345678</label>
|
||||
<format>%.fm</format>
|
||||
<live>true</live>
|
||||
<property>/sim/rendering/snow-level-m</property>
|
||||
<property>/environment/snow-level-m</property>
|
||||
</text>
|
||||
</group>
|
||||
|
||||
|
|
Loading…
Reference in a new issue