1
0
Fork 0

Make runway effect use png textures by default. Add runway png normalmap. Provide runway-dds.eff

Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
This commit is contained in:
Emilian Huminiuc 2012-02-23 23:56:28 +02:00
parent 874a693e96
commit 35193f0633
5 changed files with 18 additions and 8 deletions

11
Effects/runway-dds.eff Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/runway-dds</name>
<inherits-from>Effects/runway</inherits-from>
<parameters>
<texture n="4">
<image>Textures/Runway/rwy-normalmap.dds</image>
</texture>
<normalmap_dds>1.0</normalmap_dds>
</parameters>
</PropertyList>

View file

@ -4,7 +4,7 @@
<inherits-from>Effects/terrain-default</inherits-from>
<parameters>
<texture n="4">
<image>Textures.high/Runway/rwy-normalmap.dds</image>
<image>Textures/Runway/rwy-normalmap.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>repeat</wrap-s>
<wrap-t>repeat</wrap-t>
@ -15,7 +15,7 @@
<!-- use this form for a cube cross -->
<!--<image>Aircraft/Generic/Effects/CubeCrosses/blue_sky_big.jpg</image>-->
<!-- use this form for a 6 image cube map -->
<!-- use this form for a 6 image cube map -->
<images>
<positive-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_px.png</positive-x>
<negative-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nx.png</negative-x>
@ -41,7 +41,7 @@
<internal-format>normalized</internal-format>
</texture>
<texture n="8">
<image>Textures.high/Runway/rwy-reflect.png</image>
<image>Textures/Runway/rwy-reflect.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>repeat</wrap-s>
<wrap-t>repeat</wrap-t>
@ -50,11 +50,10 @@
<rendering-hint>transparent</rendering-hint>
<shade-model>smooth</shade-model>
<rainbowiness type="float">0.01</rainbowiness>
<fresneliness>0.01</fresneliness>
<noisiness>0.15</noisiness>
<!-- <refl_correction>0.0</refl_correction> -->
<ambient_correction>-0.15</ambient_correction>
<normalmap_dds>1</normalmap_dds>
<fresneliness type="float">0.01</fresneliness>
<noisiness type="float">0.15</noisiness>
<ambient_correction type="float">-0.15</ambient_correction>
<normalmap_dds type="float">0.0</normalmap_dds>
<vertex-program-two-side type="bool">false</vertex-program-two-side>
<cull-face>back</cull-face>
<wetness>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB