Debian Codegraph @

Docs/model-combined.eff/model-combined-transparent.eff

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--This effect file is provided as a conveniency for usage on transparent objects.
3 If you also need to use a normalmap along with trasnparency
4 check the model-combined-bump.eff that is provided alongside this effect.
5 You can add the Normalmap Include from there at the end of this effect,
6 but be aware to respect the warnings provided in that file.
7
8 Do not use as is.
9 Please edit.
10 Remove unnedeed settings.
11 WARNING: do not remove the Transparency include at the end-->
12
13 <PropertyList>
14 <name><!--my/effect/name--></name>
15 <inherits-from>Effects/model-combined-transparent</inherits-from>
16 <parameters>
17 <!-- Normal Map -->
18 <normalmap-enabled type="int"> 0 </normalmap-enabled>
19 <normalmap-dds type="int"> 0 </normalmap-dds>
20 <normalmap-tiling type="float"> 1.0 </normalmap-tiling>
21 <texture n="2">
22 <image><!--path/to/normalmap/texture--></image>
23 </texture>
24 <!-- Light Map -->
25 <lightmap-enabled type="int"> 0 </lightmap-enabled>
26 <lightmap-multi type="int"> 0 </lightmap-multi>
27 <lightmap-factor type="float" n="0">1.0</lightmap-factor>
28 <lightmap-color type="vec3d" n="0"> 1.0 1.0 1.0 </lightmap-color>
29 <lightmap-factor type="float" n="1">1.0</lightmap-factor>
30 <lightmap-color type="vec3d" n="1"> 1.0 1.0 1.0 </lightmap-color>
31 <lightmap-factor type="float" n="2">1.0</lightmap-factor>
32 <lightmap-color type="vec3d" n="2"> 1.0 1.0 1.0 </lightmap-color>
33 <lightmap-factor type="float" n="3">1.0</lightmap-factor>
34 <lightmap-color type="vec3d" n="3"> 1.0 1.0 1.0 </lightmap-color>
35 <texture n="3">
36 <image><!--path/to/lightmap/image--></image>
37 <filter>linear-mipmap-linear</filter>
38 <wrap-s>clamp</wrap-s>
39 <wrap-t>clamp</wrap-t>
40 <internal-format>normalized</internal-format>
41 </texture>
42 <!-- Reflection -->
43 <reflection-enabled type="int"> 0 </reflection-enabled>
44 <reflect-map-enabled type="int"> 0 </reflect-map-enabled>
45 <reflection-correction type="float"> 0.0 </reflection-correction>
46 <reflection-dynamic type="int"> 0 </reflection-dynamic>
47 <texture n="4">
48 <image><!--path/to/reflectmap/texture--></image>
49 </texture>
50 <texture n="5">
51 <type>cubemap</type>
52 <!-- use this form for a cube cross -->
53 <!--<image>Aircraft/Generic/Effects/CubeCrosses/blue_sky_big.jpg</image>-->
54 <!-- END CubeCross -->
55 <!-- use this form for a 6 image cube map -->
56 <images>
57 <positive-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_px.png</positive-x>
58 <negative-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nx.png</negative-x>
59 <positive-y>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_py.png</positive-y>
60 <negative-y>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_ny.png</negative-y>
61 <positive-z>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_pz.png</positive-z>
62 <negative-z>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nz.png</negative-z>
63 </images>
64 <!-- END 6 image cube map -->
65 </texture>
66
67 <reflection-fresnel type="float"> 0.0 </reflection-fresnel>
68 <reflection-rainbow type="float"> 0.0 </reflection-rainbow>
69 <reflection-noise type="float"> 0.0 </reflection-noise>
70 <!--Ambient correction -->
71 <ambient-correction type="float"> 0.0 </ambient-correction>
72 <dirt-enabled type="int"> 0 </dirt-enabled>
73 <dirt-color type="vec3d"> 0.0 0.0 0.0 </dirt-color>
74 <dirt-factor type="float"> 0.0 </dirt-factor>
75
76 <!--WARNING: Do not edit below this line -->
77 <!-- ####################
78 ### TRANSPARENCY INCLUDE ###
79 ######################### -->
80 <rendering-hint>transparent</rendering-hint>
81 <transparent>true</transparent>
82 <render-bin>
83 <bin-number>10</bin-number>
84 <bin-name>DepthSortedBin</bin-name>
85 </render-bin>
86 <!-- ########################
87 ### END TRANSPARENCY INCLUDE ###
88 ############################# -->
89 </parameters>
90 <!--WARNING: Do not edit above this line -->
91
92 <!-- Add normalmap include here, as follows, if needed.
93 WARNING: do not enable on untextured objects
94 -->
95 <!-- ####################
96 ### NORMALMAP INCLUDE ###
97 ######################### -->
98 <generate>
99 <tangent type="int">6</tangent>
100 <binormal type="int">7</binormal>
101 </generate>
102
103 <technique n="4">
104 <pass>
105 <program>
106 <attribute>
107 <name>tangent</name>
108 <index>6</index>
109 </attribute>
110 <attribute>
111 <name>binormal</name>
112 <index>7</index>
113 </attribute>
114 </program>
115 </pass>
116 </technique>
117
118 <technique n="8">
119 <pass>
120 <program>
121 <attribute>
122 <name>tangent</name>
123 <index>6</index>
124 </attribute>
125 <attribute>
126 <name>binormal</name>
127 <index>7</index>
128 </attribute>
129 </program>
130 </pass>
131 </technique>
132
133 <technique n="9">
134 <pass>
135 <program>
136 <attribute>
137 <name>tangent</name>
138 <index>6</index>
139 </attribute>
140 <attribute>
141 <name>binormal</name>
142 <index>7</index>
143 </attribute>
144 </program>
145 </pass>
146 </technique>
147 <!-- ########################
148 ### END NORMALMAP INCLUDE ###
149 ############################# -->
150 </PropertyList>