Added LightMap
This commit is contained in:
parent
7e266b0b09
commit
3d65204a15
3 changed files with 46 additions and 1 deletions
|
@ -78,7 +78,14 @@
|
|||
<z>0.000</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<effect>
|
||||
<inherits-from>AI/Aircraft/AT7/Effects/AT7-LightMap</inherits-from>
|
||||
<object-name>Body</object-name>
|
||||
<object-name>Gear_Open</object-name>
|
||||
<object-name>Gear_Closed</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/AT7-NavLights.xml</path>
|
||||
</model>
|
||||
|
|
38
AI/Aircraft/AT7/Effects/AT7-LightMap.eff
Normal file
38
AI/Aircraft/AT7/Effects/AT7-LightMap.eff
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Lighting of Tail, Flanks and Windows -->
|
||||
<PropertyList>
|
||||
<name>AT7-LightMap</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</reflection-correction>
|
||||
<!-- Enable 3 colors RGB LigntMap -->
|
||||
<lightmap-enabled type="int">
|
||||
<use>/environment/lightmap-factor</use>
|
||||
</lightmap-enabled>
|
||||
<lightmap-multi type="int">1</lightmap-multi>
|
||||
<!-- Red Channel (Tail) - Night Activation and Color -->
|
||||
<lightmap-factor type="float" n="0">1</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- Green Channel (Windows) Multiplying Factor and Color -->
|
||||
<lightmap-factor type="float" n="1">1.5</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="1">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- Blue Channel (OFF) Multiplying Factor and Color -->
|
||||
<lightmap-factor type="float" n="2">0</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="2">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- Alpha Channel (OFF) Multiplying Factor and Color -->
|
||||
<lightmap-factor type="float" n="3">0.0</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="3">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- LightMap Image Location -->
|
||||
<texture n="3">
|
||||
<image>AI/Aircraft/AT7/Effects/AT7-LightMap.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
AI/Aircraft/AT7/Effects/AT7-LightMap.png
Normal file
BIN
AI/Aircraft/AT7/Effects/AT7-LightMap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 152 KiB |
Loading…
Add table
Reference in a new issue