1
0
Fork 0

Add quality selection to lights

This commit is contained in:
Frederic Bouvier 2012-07-22 10:08:04 +02:00
parent 57ec6e7599
commit e911e6b5f8
2 changed files with 26 additions and 0 deletions

View file

@ -118,6 +118,14 @@
<label>Water</label>
</text>
<text>
<halign>left</halign>
<label>Lights</label>
<enable>
<property>/sim/rendering/rembrandt/enabled</property>
</enable>
</text>
</group>
<group>
@ -261,6 +269,23 @@
</binding>
</slider>
<slider>
<name>lights</name>
<enable>
<property>/sim/rendering/rembrandt/enabled</property>
</enable>
<min>0.0</min>
<max>4.0</max>
<step>1.0</step>
<fraction>0.2</fraction>
<live>true</live>
<property>/sim/rendering/shaders/lights</property>
<binding>
<command>dialog-apply</command>
<object-name>lights</object-name>
</binding>
</slider>
</group>
</group>

View file

@ -117,6 +117,7 @@ Started September 2000 by David Megginson, david@megginson.com
<transition type="float" userarchive="y">1.0</transition>
<urban type="float" userarchive="y">1.0</urban>
<water type="float" userarchive="y">1.0</water>
<lights type="float" userarchive="y">1.0</lights>
<quality-level-internal type="float" userarchive="y">3.0</quality-level-internal>
</shaders>
<mie type="float" userarchive="y">0.003</mie>