Merge branch 'master' of git://gitorious.org/fg/fgdata
[fg:toms-fgdata.git] / Aircraft / R22 / Models / Effects / skin-reflect.eff
1 <PropertyList>\r
2     <name>skin-reflect</name>\r
3     <inherits-from>Effects/model-combined</inherits-from>\r
4 \r
5     <parameters>\r
6         <!-- Normal Map \r
7         <normalmap-enabled type="int">0</normalmap-enabled>\r
8         <normalmap-dds type="int">0</normalmap-dds>\r
9         <texture n="2">\r
10             <image></image>\r
11         </texture>\r
12         -->\r
13         <!-- Light Map -->\r
14         <lightmap-enabled>\r
15             <use>sim/rendering/shaders/aircraft/lightmap/quality-level</use>\r
16         </lightmap-enabled>\r
17         <lightmap-multi type="int">0</lightmap-multi>\r
18         <lightmap-factor type="float" n="0"><use>/controls/lighting/beacon-light</use></lightmap-factor>\r
19         <lightmap-color type="vec3d" n="0">0.95 0.08 0.05</lightmap-color>\r
20         <lightmap-factor type="float" n="1">0.0</lightmap-factor>\r
21         <lightmap-color type="vec3d" n="1"> 0.0 1.0 0.0 </lightmap-color>\r
22         <lightmap-factor type="float" n="2">0.0</lightmap-factor>\r
23         <lightmap-color type="vec3d" n="2">0.0 0.0 1.0 </lightmap-color>\r
24         <lightmap-factor type="float" n="3">0.0</lightmap-factor>\r
25         <lightmap-color type="vec3d" n="3">0.0 0.0 0.0 </lightmap-color>\r
26         <texture n="3">\r
27             <image>Aircraft/R22/Models/Effects/lightmap.png</image>\r
28             <filter>linear-mipmap-linear</filter>\r
29             <wrap-s>clamp</wrap-s>\r
30             <wrap-t>clamp</wrap-t>\r
31             <internal-format>normalized</internal-format>\r
32         </texture>\r
33 \r
34         <!-- Reflection environment -->\r
35         <texture n="4">\r
36             <image>Aircraft/R22/Models/Effects/reflect.png</image>\r
37             <filter>linear-mipmap-linear</filter>\r
38             <wrap-s>repeat</wrap-s>\r
39             <wrap-t>repeat</wrap-t>\r
40             <internal-format>normalized</internal-format>\r
41         </texture>\r
42 \r
43         <texture n="5">\r
44             <type>cubemap</type>\r
45             <images>\r
46                 <positive-x>Aircraft/Generic/Effects/fgfs-sky2/1.png</positive-x>\r
47                 <negative-x>Aircraft/Generic/Effects/fgfs-sky2/4.png</negative-x>\r
48                 <positive-y>Aircraft/Generic/Effects/fgfs-sky2/2.png</positive-y>\r
49                 <negative-y>Aircraft/Generic/Effects/fgfs-sky2/3.png</negative-y>\r
50                 <positive-z>Aircraft/Generic/Effects/fgfs-sky2/6.png</positive-z>\r
51                 <negative-z>Aircraft/Generic/Effects/fgfs-sky2/5.png</negative-z>\r
52             </images>\r
53         </texture>\r
54 \r
55         <!-- Reflection -->\r
56 <<<<<<< HEAD
57         <reflection_enabled type="int">1</reflection_enabled>\r
58         <reflect_map_enabled type="int">1</reflect_map_enabled>\r
59         <reflection_dynamic type="int">1</reflection_dynamic>\r
60         <reflection_fresnel type="float">0.1</reflection_fresnel>\r
61         <reflection_rainbow type="float">0.05</reflection_rainbow>\r
62         <reflection_noise type="float">0.1</reflection_noise>\r
63         <reflection_correction type="float">0.05</reflection_correction>\r
64         <ambient_correction type="float">0.1</ambient_correction>\r
65 =======
66         <reflection-enabled type="int">1</reflection-enabled>\r
67         <reflect-map-enabled type="int">1</reflect-map-enabled>\r
68         <reflection-dynamic type="int">1</reflection-dynamic>\r
69         <reflection-fresnel type="float">0.1</reflection-fresnel>\r
70         <reflection-rainbow type="float">0.05</reflection-rainbow>\r
71         <reflection-noise type="float">0.1</reflection-noise>\r
72         <reflection-correction type="float">0.05</reflection-correction>\r
73         <ambient-correction type="float">0.2</ambient-correction>\r
74 >>>>>>> d14f25f4c65fd09606196619d0e9c795b01d2ea2
75 \r
76         <!-- quality slider -->\r
77         <shader-quality>\r
78         <use>/sim/rendering/shaders/aircraft/reflection/quality-level</use>\r
79         </shader-quality>\r
80         <vertex-program-two-side type="bool">false</vertex-program-two-side>\r
81         <cull-face>back</cull-face>\r
82     </parameters>\r
83 \r
84     <!-- ####################\r
85 ### NORMALMAP INCLUDE ###\r
86 ######################### -->\r
87     <generate>\r
88         <tangent type="int">6</tangent>\r
89         <binormal type="int">7</binormal>\r
90     </generate>\r
91 \r
92     <technique n="10">\r
93         <pass>\r
94             <program>\r
95                 <attribute>\r
96                     <name>tangent</name>\r
97                     <index>6</index>\r
98                 </attribute>\r
99                 <attribute>\r
100                     <name>binormal</name>\r
101                     <index>7</index>\r
102                 </attribute>\r
103             </program>\r
104         </pass>\r
105     </technique>\r
106     <!-- ########################\r
107 ### END NORMALMAP INCLUDE ###\r
108 ############################# -->\r
109 \r
110 </PropertyList>\r