943ba2a4fe
Incorporated changes to effects file syntax. Changed Till's landmass to mix in the base terrain texture. Some shader cleanup. Also, add a GUI control for enabling shaders.
309 lines
7.2 KiB
XML
309 lines
7.2 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
<name>rendering</name>
|
|
<modal>false</modal>
|
|
<layout>vbox</layout>
|
|
|
|
<text>
|
|
<label>Rendering Options</label>
|
|
</text>
|
|
|
|
<hrule/>
|
|
|
|
<group>
|
|
<layout>vbox</layout>
|
|
<halign>center</halign>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Show frame rate</label>
|
|
<property>/sim/rendering/fps-display</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Show chat messages</label>
|
|
<property>/sim/multiplay/chat-display</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Sun/Moon horizon effect</label>
|
|
<property>/sim/rendering/horizon-effect</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Use Point Sprites for Runway Lights</label>
|
|
<property>/sim/rendering/point-sprites</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Enhanced runway lighting</label>
|
|
<property>/sim/rendering/enhanced-lighting</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Runway light distance attenuation</label>
|
|
<property>/sim/rendering/distance-attenuation</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Specular reflections on objects</label>
|
|
<property>/sim/rendering/specular-highlight</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Particles (Smoke, Dust, Spray)</label>
|
|
<property>/sim/rendering/particles</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Precipitation</label>
|
|
<property>/sim/rendering/precipitation-gui-enable</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Lightning</label>
|
|
<property>/sim/rendering/lightning-enable</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Bump mapped clouds</label>
|
|
<property>/sim/rendering/bump-mapping</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Random vegetation</label>
|
|
<property>/sim/rendering/random-vegetation</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
</group>
|
|
|
|
<hrule/>
|
|
|
|
<group>
|
|
<padding>8</padding>
|
|
<layout>vbox</layout>
|
|
<text>
|
|
<padding>-6</padding>
|
|
<halign>left</halign>
|
|
<label>3D Clouds</label>
|
|
<color>
|
|
<red>0.5</red>
|
|
<green>0.5</green>
|
|
<blue>0.5</blue>
|
|
</color>
|
|
</text>
|
|
|
|
<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>
|
|
<padding>8</padding>
|
|
<layout>hbox</layout>
|
|
<group>
|
|
<layout>vbox</layout>
|
|
<valign>top</valign>
|
|
<halign>left</halign>
|
|
<text>
|
|
<padding>-6</padding>
|
|
<label>Shadows</label>
|
|
<color>
|
|
<red>0.5</red>
|
|
<green>0.5</green>
|
|
<blue>0.5</blue>
|
|
</color>
|
|
</text>
|
|
</group>
|
|
<group>
|
|
<layout>vbox</layout>
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Enable</label>
|
|
<property>/sim/rendering/shadows/enabled</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Debug</label>
|
|
<property>/sim/rendering/shadows/debug</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
</group>
|
|
</group>
|
|
</group>
|
|
|
|
<hrule/>
|
|
|
|
<group>
|
|
<padding>8</padding>
|
|
<layout>hbox</layout>
|
|
<group>
|
|
<layout>vbox</layout>
|
|
<valign>top</valign>
|
|
<halign>left</halign>
|
|
<text>
|
|
<padding>-6</padding>
|
|
<label>Shaders</label>
|
|
<color>
|
|
<red>0.5</red>
|
|
<green>0.5</green>
|
|
<blue>0.5</blue>
|
|
</color>
|
|
</text>
|
|
</group>
|
|
<group>
|
|
<layout>vbox</layout>
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Enable</label>
|
|
<property>/sim/rendering/shader-effects</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Experimental effects</label>
|
|
<property>/sim/rendering/shader-experimental</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
</group>
|
|
</group>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<empty><stretch>true</stretch></empty>
|
|
|
|
<button>
|
|
<legend>Close</legend>
|
|
<default>true</default>
|
|
<key>Esc</key>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
<empty><stretch>true</stretch></empty>
|
|
</group>
|
|
|
|
<nasal>
|
|
<open>
|
|
gui.enable_widgets(cmdarg(), "shadows-debug", getprop("/sim/gui/devel-widgets"));
|
|
</open>
|
|
</nasal>
|
|
</PropertyList>
|