Merge pull request #61 from merspieler/dome-light

Added flashlight, turned on/off by `L` key
This commit is contained in:
Jonathan Redpath 2018-11-09 10:16:19 +00:00 committed by GitHub
commit 74f489f46f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>
</PropertyList>