Added flashlight, turned on/off by 'L' key

Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
merspieler 2018-11-09 00:31:14 +01:00
parent 7ae182f62a
commit cbad3576ee
2 changed files with 15 additions and 1 deletions

View file

@ -1420,6 +1420,16 @@
<value>0</value>
</binding>
</key>
<key n="108">
<name>l</name>
<desc>Flashlight</desc>
<binding>
<command>property-cycle</command>
<property>sim/rendering/als-secondary-lights/use-flashlight</property>
<value>0</value>
<value>1</value>
</binding>
</key>
</keyboard>
</input>

View file

@ -18,5 +18,9 @@
<opacity-cube-center type="vec3d" n="0"> 0.6 0.0 0.7</opacity-cube-center>
<opacity-cube-scale type="vec3d" n="0"> 1 1 1</opacity-cube-scale>
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
<light-filter-one type="vec3d">0.5 0.5 0.5</light-filter-one>
<light-filter-two type="vec3d">0.9 0.2 0.2</light-filter-two>
<light-radius type="float">9</light-radius>
</parameters>
</PropertyList>