ehofman pushed a commit to branch next
in repository fgdata.
The following commit(s) were added to refs/heads/next by this push:
new 9872ac5c5 Always enable ALS and remove the texture selection option in the rendering menu: the only one left is regioanal texturing.
9872ac5c5 is described below
SF URL: http://sourceforge.net/p/flightgear/fgdata/ci/9872ac5c558ac9b44c563b8afaca701be294acf3/
Commit: 9872ac5c558ac9b44c563b8afaca701be294acf3
Author: Erik Hofman
Committer: Erik Hofman
AuthorDate: Mon Jan 18 09:05:05 2021 +0100
Always enable ALS and remove the texture selection option in the rendering menu: the only one left is regioanal texturing.
---
defaults.xml | 2 +-
gui/dialogs/rendering.xml | 48 -----------------------------------------------
2 files changed, 1 insertion(+), 49 deletions(-)
diff --git a/defaults.xml b/defaults.xml
index 5139d9386..f154915a6 100644
--- a/defaults.xml
+++ b/defaults.xml
@@ -72,7 +72,7 @@ Started September 2000 by David Megginson, da...@me...
<model type="float" userarchive="y">1.0</model>
<contrails type="float" userarchive="y">1.0</contrails>
<crop type="float" userarchive="y">1.0</crop>
- <skydome type="bool" userarchive="y">false</skydome>
+ <skydome type="bool" userarchive="y">true</skydome>
<transition type="float" userarchive="y">1.0</transition>
<urban type="float" userarchive="y">1.0</urban>
<water type="float" userarchive="y">1.0</water>
diff --git a/gui/dialogs/rendering.xml b/gui/dialogs/rendering.xml
index d26380ed3..7deb64310 100644
--- a/gui/dialogs/rendering.xml
+++ b/gui/dialogs/rendering.xml
@@ -76,22 +76,6 @@
</hrule>
</group>
- <checkbox>
- <halign>left</halign>
- <label>Atmospheric Light Scattering (ALS)</label>
- <name>skydome-scattering</name>
- <enable>
- <not>
- <property>/sim/rendering/rembrandt/enabled</property>
- </not>
- </enable>
- <property>/sim/rendering/shaders/skydome</property>
- <binding>
- <command>dialog-apply</command>
- <object-name>skydome-scattering</object-name>
- </binding>
- </checkbox>
-
<checkbox>
<halign>left</halign>
<label>Shadows (may need restart to take affect)</label>
@@ -841,38 +825,6 @@
</binding>
</combo>
- <text>
- <row>7</row>
- <col>0</col>
- <halign>left</halign>
- <label>Terrain Textures</label>
- </text>
-
- <combo>
- <row>7</row>
- <col>1</col>
- <name>texture-set</name>
- <pref-width>200</pref-width>
- <property>sim/gui/dialogs/rendering/texture-set</property>
- <value>Region-specific</value>
- <value>Global</value>
- <value>Global alternative (DDS format)</value>
- <binding>
- <command>dialog-apply</command>
- <object-name>texture-set</object-name>
- </binding>
- <binding>
- <command>nasal</command>
- <script>
- var file = materials[getprop("/sim/gui/dialogs/rendering/texture-set")];
- setprop("/sim/rendering/materials-file", file);
- </script>
- </binding>
- <binding>
- <command>reload-materials</command>
- </binding>
- </combo>
-
<checkbox>
<row>8</row>
<col>0</col>
|