logo light ALS required

This commit is contained in:
Jonathan Redpath 2017-08-04 19:31:16 +01:00
parent f910bbb69f
commit 0c5227c424
9 changed files with 78 additions and 14 deletions

22
Models/Effects/logo.eff Normal file
View file

@ -0,0 +1,22 @@
<PropertyList>
<name>logo</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">0</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>/sim/model/lights/logo-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/logo.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
</parameters>
</PropertyList>

BIN
Models/Effects/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View file

@ -33,7 +33,7 @@
</axis> </axis>
</animation> </animation>
<!-- Animation for the logo light --> <!-- Animation for the logo light
<animation> <animation>
<name>Logo light illumination</name> <name>Logo light illumination</name>
<type>material</type> <type>material</type>
@ -50,6 +50,12 @@
<green>0.25</green> <green>0.25</green>
<blue>0.25</blue> <blue>0.25</blue>
</emission> </emission>
</animation> </animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList> </PropertyList>

View file

@ -33,7 +33,7 @@
</axis> </axis>
</animation> </animation>
<!-- Animation for the logo light --> <!-- Animation for the logo light
<animation> <animation>
<name>Logo light illumination</name> <name>Logo light illumination</name>
<type>material</type> <type>material</type>
@ -50,6 +50,12 @@
<green>0.25</green> <green>0.25</green>
<blue>0.25</blue> <blue>0.25</blue>
</emission> </emission>
</animation> </animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList> </PropertyList>

View file

@ -33,7 +33,7 @@
</axis> </axis>
</animation> </animation>
<!-- Animation for the logo light --> <!-- Animation for the logo light
<animation> <animation>
<name>Logo light illumination</name> <name>Logo light illumination</name>
<type>material</type> <type>material</type>
@ -50,6 +50,12 @@
<green>0.25</green> <green>0.25</green>
<blue>0.25</blue> <blue>0.25</blue>
</emission> </emission>
</animation> </animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList> </PropertyList>

View file

@ -33,7 +33,7 @@
</axis> </axis>
</animation> </animation>
<!-- Animation for the logo light --> <!-- Animation for the logo light
<animation> <animation>
<name>Logo light illumination</name> <name>Logo light illumination</name>
<type>material</type> <type>material</type>
@ -50,6 +50,12 @@
<green>0.25</green> <green>0.25</green>
<blue>0.25</blue> <blue>0.25</blue>
</emission> </emission>
</animation> </animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList> </PropertyList>

View file

@ -33,7 +33,7 @@
</axis> </axis>
</animation> </animation>
<!-- Animation for the logo light --> <!-- Animation for the logo light
<animation> <animation>
<name>Logo light illumination</name> <name>Logo light illumination</name>
<type>material</type> <type>material</type>
@ -50,6 +50,12 @@
<green>0.25</green> <green>0.25</green>
<blue>0.25</blue> <blue>0.25</blue>
</emission> </emission>
</animation> </animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList> </PropertyList>

View file

@ -33,7 +33,7 @@
</axis> </axis>
</animation> </animation>
<!-- Animation for the logo light --> <!-- Animation for the logo light
<animation> <animation>
<name>Logo light illumination</name> <name>Logo light illumination</name>
<type>material</type> <type>material</type>
@ -50,6 +50,12 @@
<green>0.25</green> <green>0.25</green>
<blue>0.25</blue> <blue>0.25</blue>
</emission> </emission>
</animation> </animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList> </PropertyList>

View file

@ -33,7 +33,7 @@
</axis> </axis>
</animation> </animation>
<!-- Animation for the logo light --> <!-- Animation for the logo light
<animation> <animation>
<name>Logo light illumination</name> <name>Logo light illumination</name>
<type>material</type> <type>material</type>
@ -50,6 +50,12 @@
<green>0.25</green> <green>0.25</green>
<blue>0.25</blue> <blue>0.25</blue>
</emission> </emission>
</animation> </animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList> </PropertyList>