1
0
Fork 0
fgdata/gui/dialogs/shader-options.xml
2009-10-08 05:04:21 +00:00

157 lines
3.9 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>shader-options</name>
<modal>false</modal>
<layout>vbox</layout>
<checkbox>
<halign>left</halign>
<label>Enable effects</label>
<property>/sim/rendering/shader-effects</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<hrule/>
<group>
<text>
<label>Terrain Effects</label>
</text>
<layout>vbox</layout>
<halign>center</halign>
<checkbox>
<halign>left</halign>
<label>Random vegetation</label>
<property>/sim/rendering/random-vegetation</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Crop texture</label>
<property>/sim/rendering/crop-shader</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Landmass effects</label>
<property>/sim/rendering/landmass-shader</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<hrule/>
<group>
<text>
<label>Atmosphere Effects</label>
</text>
<padding>8</padding>
<layout>vbox</layout>
<checkbox>
<padding>8</padding>
<halign>left</halign>
<label>Enable 3d clouds</label>
<property>/sim/rendering/clouds3d-enable</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text><label>Cloud density</label></text>
<slider>
<min>0</min>
<max>1.0</max>
<property>/sim/rendering/clouds3d-density</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<label>12345678</label>
<format>%.2f</format>
<live>true</live>
<property>/sim/rendering/clouds3d-density</property>
</text>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text><label>Cloud visibility range</label></text>
<slider>
<min>100.0</min>
<max>20000.0</max>
<property>/sim/rendering/clouds3d-vis-range</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<label>12345678</label>
<format>%.fm</format>
<live>true</live>
<property>/sim/rendering/clouds3d-vis-range</property>
</text>
</group>
</group>
<hrule/>
<group>
<text>
<label>Water Effects</label>
</text>
<layout>vbox</layout>
<halign>center</halign>
<checkbox>
<halign>left</halign>
<label>Light reflection</label>
<property>/sim/rendering/water-shader</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<hrule/>
<group>
<text>
<label>Model Effects</label>
</text>
</group>
<hrule/>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>