Debian Codegraph @

Effects/cloud-models.eff

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <PropertyList>
3 <name>Effects/cloud-models</name>
4 <parameters>
5 <texture n ="0">
6 <type>white</type>
7 </texture>
8 </parameters>
9 <!--
10 <technique n="10">
11 <predicate>
12 <and>
13 <property>/sim/rendering/shaders/quality-level</property>
14 <or>
15 <less-equal>
16 <value type="float">2.0</value>
17 <glversion/>
18 </less-equal>
19 <and>
20 <extension-supported>GL_ARB_shader_objects</extension-supported>
21 <extension-supported>GL_ARB_shading_language_100</extension-supported>
22 <extension-supported>GL_ARB_vertex_shader</extension-supported>
23 <extension-supported>GL_ARB_fragment_shader</extension-supported>
24 </and>
25 </or>
26 </and>
27 </predicate>
28 <pass>
29 <lighting>true</lighting>
30 <material>
31 <active><use>material/active</use></active>
32 <ambient><use>material/ambient</use></ambient>
33 <diffuse><use>material/diffuse</use></diffuse>
34 <specular><use>material/specular</use></specular>
35 <emissive><use>material/emissive</use></emissive>
36 <shininess><use>material/shininess</use></shininess>
37 <color-mode><use>material/color-mode</use></color-mode>
38 </material>
39 <blend>
40 <active><use>blend/active</use></active>
41 <source><use>blend/source</use></source>
42 <destination><use>blend/destination</use></destination>
43 </blend>
44 <shade-model><use>shade-model</use></shade-model>
45 <cull-face><use>cull-face</use></cull-face>
46 <rendering-hint><use>rendering-hint</use></rendering-hint>
47 <texture-unit> -->
48 <!-- The texture unit is always active because the shaders expect
49 that. -->
50 <!--<unit>0</unit>-->
51 <!-- If there is a texture, the type in the derived effect
52 will be "2d". -->
53 <!--<type><use>texture[0]/type</use></type>
54 <image><use>texture[0]/image</use></image>
55 <filter><use>texture[0]/filter</use></filter>
56 <wrap-s><use>texture[0]/wrap-s</use></wrap-s>
57 <wrap-t><use>texture[0]/wrap-t</use></wrap-t>-->
58 <!--
59 <internal-format>
60 <use>texture[0]/internal-format</use>
61 </internal-format>
62 -->
63 <!--</texture-unit>
64 <program>
65 <vertex-shader>Shaders/model-cloud.vert</vertex-shader>
66 <fragment-shader>Shaders/default.frag</fragment-shader>
67 </program>
68 <uniform>
69 <name>texture</name>
70 <type>sampler-2d</type>
71 <value type="int">0</value></uniform>
72 </pass>
73 </technique>-->
74 <technique n="11">
75 <pass>
76 <lighting>true</lighting>
77 <material>
78 <active><use>material/active</use></active>
79 <ambient><use>material/ambient</use></ambient>
80 <diffuse><use>material/diffuse</use></diffuse>
81 <specular><use>material/specular</use></specular>
82 <emissive><use>material/emissive</use></emissive>
83 <shininess><use>material/shininess</use></shininess>
84 <color-mode><use>material/color-mode</use></color-mode>
85 </material>
86 <blend>
87 <active><use>blend/active</use></active>
88 <source><use>blend/source</use></source>
89 <destination><use>blend/destination</use></destination>
90 </blend>
91 <shade-model><use>shade-model</use></shade-model>
92 <cull-face><use>cull-face</use></cull-face>
93 <rendering-hint><use>rendering-hint</use></rendering-hint>
94 <texture-unit>
95 <active><use>texture[0]/active</use></active>
96 <unit>0</unit>
97 <type>
98 <use>texture[0]/type</use>
99 </type>
100 <image><use>texture[0]/image</use></image>
101 <filter><use>texture[0]/filter</use></filter>
102 <wrap-s><use>texture[0]/wrap-s</use></wrap-s>
103 <wrap-t><use>texture[0]/wrap-t</use></wrap-t>
104 <!--
105 <internal-format>
106 <use>texture[0]/internal-format</use>
107 </internal-format>
108 -->
109 <environment>
110 <mode>modulate</mode>
111 </environment>
112 </texture-unit>
113 </pass>
114 </technique>
115 </PropertyList>