1
0
Fork 0

Fix issue #511: effects use new property for snow-level

This commit is contained in:
Gijs de Rooy 2011-12-06 11:33:19 +01:00
parent 4464a74f2a
commit 2ca355bc82
3 changed files with 6 additions and 6 deletions

View file

@ -41,7 +41,7 @@ parameters :
<use>/environment/rain-norm</use> <use>/environment/rain-norm</use>
</rain-norm> </rain-norm>
<snow-level> <snow-level>
<use>/sim/rendering/snow-level-m</use> <use>/environment/snow-level-m</use>
</snow-level> </snow-level>
<cloud-cover0> <cloud-cover0>

View file

@ -4,12 +4,12 @@
<inherits-from>Effects/terrain-default</inherits-from> <inherits-from>Effects/terrain-default</inherits-from>
<parameters> <parameters>
<snow-level> <snow-level>
<use>/sim/rendering/snow-level-m</use> <use>/environment/snow-level-m</use>
</snow-level> </snow-level>
<depth-factor type="float">0.008</depth-factor> <depth-factor type="float">0.008</depth-factor>
<night-color type="vec3d">0.75 0.59 0.05</night-color> <night-color type="vec3d">0.75 0.59 0.05</night-color>
<quality-level> <quality-level>
<use>/sim/rendering/shaders/quality-level</use> <use>/sim/rendering/shaders/urban</use>
</quality-level> </quality-level>
<!--fog include--> <!--fog include-->
@ -46,7 +46,7 @@
<property>/sim/rendering/shaders/quality-level</property> <property>/sim/rendering/shaders/quality-level</property>
<less-equal> <less-equal>
<value type="float">4.0</value> <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> </less-equal>
<or> <or>
<less-equal> <less-equal>

View file

@ -466,7 +466,7 @@
</enable> </enable>
<min>0.0</min> <min>0.0</min>
<max>5000.0</max> <max>5000.0</max>
<property>/sim/rendering/snow-level-m</property> <property>/environment/snow-level-m</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
<object-name>snow-level</object-name> <object-name>snow-level</object-name>
@ -489,7 +489,7 @@
<label>12345678</label> <label>12345678</label>
<format>%.fm</format> <format>%.fm</format>
<live>true</live> <live>true</live>
<property>/sim/rendering/snow-level-m</property> <property>/environment/snow-level-m</property>
</text> </text>
</group> </group>