Light:Add Speedometer Light
This commit is contained in:
parent
3c540aae0b
commit
19b52ca8eb
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>light</name>
|
||||
<inherits-from>/Effects/model-combined-deferred</inherits-from>
|
||||
<parameters>
|
||||
<!-- Light Map -->
|
||||
<lightmap-enabled type="int">1</lightmap-enabled>
|
||||
<lightmap-multi type="int">1</lightmap-multi>
|
||||
<texture n="3">
|
||||
<image>../../Models/Effect/speedometer_LIT.png</image>
|
||||
<wrap-s>repeat</wrap-s>
|
||||
<wrap-t>repeat</wrap-t>
|
||||
</texture>
|
||||
<lightmap-factor type="float" n="0">1</lightmap-factor>
|
||||
<lightmap-factor type="float" n="1">1</lightmap-factor>
|
||||
<lightmap-factor type="float" n="2">1</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="0"> 1. 0. 0. </lightmap-color>
|
||||
<lightmap-color type="vec3d" n="1"> 0. 1. 0. </lightmap-color>
|
||||
<lightmap-color type="vec3d" n="2"> 0. 0. 1. </lightmap-color>
|
||||
<lightmap-factor type="float" n="3">0</lightmap-factor>
|
||||
</parameters>
|
||||
</PropertyList>
|
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -8,6 +8,20 @@
|
|||
|
||||
|
||||
<path>speedometer.ac</path>
|
||||
|
||||
|
||||
<effect>
|
||||
<inherits-from>../../Models/Effect/light</inherits-from>
|
||||
<object-name>digit.1</object-name>
|
||||
<object-name>digit.2</object-name>
|
||||
<object-name>digit.3</object-name>
|
||||
<object-name>digit.4</object-name>
|
||||
<object-name>digit.5</object-name>
|
||||
<object-name>digit.6</object-name>
|
||||
<object-name>face</object-name>
|
||||
<object-name>needle</object-name>
|
||||
</effect>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle</object-name>
|
||||
|
@ -25,5 +39,5 @@
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
|
||||
</PropertyList>
|
||||
|
|
Loading…
Reference in New Issue