Distance attenuation patch from Erik Hofman:
It adds a command line options to enable/disbale distance attenuation using a property rather than using a #define inside the code. It also adds a small change for systems that don't support the OpenGL extension, so that the lights *do* fade away as they get furher away but they don't get smaller in size.
This commit is contained in:
parent
f051bfcc49
commit
77fa7b108f
2 changed files with 12 additions and 0 deletions
|
@ -162,6 +162,8 @@
|
||||||
<fog-disable-desc>Disable fog/haze</fog-disable-desc>
|
<fog-disable-desc>Disable fog/haze</fog-disable-desc>
|
||||||
<fog-fastest-desc>Enable fastest fog/haze</fog-fastest-desc>
|
<fog-fastest-desc>Enable fastest fog/haze</fog-fastest-desc>
|
||||||
<fog-nicest-desc>Enable nicest fog/haze</fog-nicest-desc>
|
<fog-nicest-desc>Enable nicest fog/haze</fog-nicest-desc>
|
||||||
|
<disable-distance-attenuation>Disable runway light distance attenuation</disable-distance-attenuation>
|
||||||
|
<enable-distance-attenuation>Enable runway light distance attenuation</enable-distance-attenuation>
|
||||||
<enable-clouds-desc>Enable 2D (flat) cloud layers</enable-clouds-desc>
|
<enable-clouds-desc>Enable 2D (flat) cloud layers</enable-clouds-desc>
|
||||||
<disable-clouds-desc>Disable 2D (flat) cloud layers</disable-clouds-desc>
|
<disable-clouds-desc>Disable 2D (flat) cloud layers</disable-clouds-desc>
|
||||||
<enable-clouds3d-desc>Enable 3D (volumetric) cloud layers</enable-clouds3d-desc>
|
<enable-clouds3d-desc>Enable 3D (volumetric) cloud layers</enable-clouds3d-desc>
|
||||||
|
|
10
options.xml
10
options.xml
|
@ -434,6 +434,16 @@
|
||||||
<description>strings/fog-nicest-desc</description>
|
<description>strings/fog-nicest-desc</description>
|
||||||
</option>
|
</option>
|
||||||
|
|
||||||
|
<option>
|
||||||
|
<name>disable-distance-attenuation</name>
|
||||||
|
<description>strings/disable-distance-attenuation</description>
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option>
|
||||||
|
<name>enable-distance-attenuation</name>
|
||||||
|
<description>strings/enable-distance-attenuation</description>
|
||||||
|
</option>
|
||||||
|
|
||||||
<option>
|
<option>
|
||||||
<name>enable-clouds</name>
|
<name>enable-clouds</name>
|
||||||
<description>strings/enable-clouds-desc</description>
|
<description>strings/enable-clouds-desc</description>
|
||||||
|
|
Loading…
Reference in a new issue