1
0
Fork 0

Add the abillity to control specular highlight

This commit is contained in:
ehofman 2003-09-12 21:43:53 +00:00
parent 5d043cc25e
commit 5fe83c6353
3 changed files with 27 additions and 6 deletions

View file

@ -176,6 +176,8 @@
<enable-enhanced-lighting>Enable enhanced runway lighting</enable-enhanced-lighting>
<disable-distance-attenuation>Disable runway light distance attenuation</disable-distance-attenuation>
<enable-distance-attenuation>Enable runway light distance attenuation</enable-distance-attenuation>
<disable-specular-highlight>Disable specular reflections on textured objects</disable-specular-highlight>
<enable-specular-highlight>Enable specular reflections on textured objects</enable-specular-highlight>
<enable-clouds-desc>Enable 2D (flat) cloud layers</enable-clouds-desc>
<disable-clouds-desc>Disable 2D (flat) cloud layers</disable-clouds-desc>
<enable-clouds3d-desc>Enable 3D (volumetric) cloud layers</enable-clouds3d-desc>

View file

@ -6,24 +6,24 @@
<name>rendering</name>
<width>380</width>
<height>200</height>
<height>230</height>
<modal>false</modal>
<text>
<x>10</x>
<y>170</y>
<y>200</y>
<label>Rendering Options</label>
</text>
<text>
<x>30</x>
<y>150</y>
<y>180</y>
<label>(Check an option to enable it.)</label>
</text>
<checkbox>
<x>30</x>
<y>110</y>
<y>140</y>
<width>20</width>
<height>20</height>
<label>Sun/Moon horizon effect</label>
@ -32,7 +32,7 @@
<checkbox>
<x>30</x>
<y>80</y>
<y>110</y>
<width>20</width>
<height>20</height>
<label>Enhanced runway lighting</label>
@ -41,13 +41,22 @@
<checkbox>
<x>30</x>
<y>50</y>
<y>80</y>
<width>20</width>
<height>20</height>
<label>Runway light distance attenuation</label>
<property>/sim/rendering/distance-attenuation</property>
</checkbox>
<checkbox>
<x>30</x>
<y>50</y>
<width>20</width>
<height>20</height>
<label>Specular reflections on objects</label>
<property>/sim/rendering/specular-highlight</property>
</checkbox>
<group>
<y>10</y>

View file

@ -516,6 +516,16 @@
<description>strings/enable-distance-attenuation</description>
</option>
<option>
<name>disable-specular-highlight</name>
<description>strings/disable-specular-highlight</description>
</option>
<option>
<name>enable-specular-highlight</name>
<description>strings/enable-specular-highlight</description>
</option>
<option>
<name>enable-clouds</name>
<description>strings/enable-clouds-desc</description>