]> Shamusworld >> Repos - jk1/blob - shaders/droids.shader
Move stuff into trunk in prepartion for GIT import.
[jk1] / shaders / droids.shader
1 models/players/protocol/c3po_leg\r
2 {\r
3         q3map_nolightmap\r
4         q3map_onlyvertexlighting\r
5     {\r
6         map models/players/protocol/c3po_leg\r
7         blendFunc GL_ONE GL_ZERO\r
8         rgbGen lightingDiffuse\r
9     }\r
10     {\r
11         map gfx/effects/chr_inv\r
12         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
13         tcGen environment\r
14     }\r
15     {\r
16         map models/players/protocol/c3po_leg_s\r
17         blendFunc GL_SRC_ALPHA GL_ONE\r
18         detail\r
19         alphaGen lightingSpecular\r
20     }\r
21 }\r
22 \r
23 models/players/protocol/c3po_hand\r
24 {\r
25         q3map_nolightmap\r
26         q3map_onlyvertexlighting\r
27     {\r
28         map models/players/protocol/c3po_hand\r
29         blendFunc GL_ONE GL_ZERO\r
30         rgbGen lightingDiffuse\r
31     }\r
32     {\r
33         map gfx/effects/chr_inv\r
34         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
35         tcGen environment\r
36     }\r
37     {\r
38         map models/players/protocol/c3po_hand_s\r
39         blendFunc GL_SRC_ALPHA GL_ONE\r
40         detail\r
41         alphaGen lightingSpecular\r
42     }\r
43 }\r
44 \r
45 models/players/protocol/c3po_face\r
46 {\r
47         q3map_nolightmap\r
48         q3map_onlyvertexlighting\r
49     {\r
50         map models/players/protocol/c3po_face\r
51         blendFunc GL_ONE GL_ZERO\r
52         rgbGen lightingDiffuse\r
53     }\r
54     {\r
55         map gfx/effects/chr_inv\r
56         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
57         tcGen environment\r
58     }\r
59     {\r
60         map models/players/protocol/c3po_face_glow\r
61         blendFunc GL_ONE GL_ONE\r
62         detail\r
63     }\r
64     {\r
65         map models/players/protocol/c3po_face_s\r
66         blendFunc GL_SRC_ALPHA GL_ONE\r
67         detail\r
68         alphaGen lightingSpecular\r
69     }\r
70 }\r
71 \r
72 models/players/protocol/c3po_arm_torso\r
73 {\r
74         q3map_nolightmap\r
75         q3map_onlyvertexlighting\r
76     {\r
77         map models/players/protocol/c3po_arm_torso\r
78         blendFunc GL_ONE GL_ZERO\r
79         rgbGen lightingDiffuse\r
80     }\r
81     {\r
82         map gfx/effects/chr_inv\r
83         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
84         tcGen environment\r
85     }\r
86     {\r
87         map models/players/protocol/c3po_arm_torso_s\r
88         blendFunc GL_SRC_ALPHA GL_ONE\r
89         detail\r
90         alphaGen lightingSpecular\r
91     }\r
92 }\r
93 \r
94 models/players/protocol/head_off\r
95 {\r
96         cull disable\r
97         {\r
98                 map models/players/protocol/head_off.TGA\r
99                 rgbGen lightingDiffuse\r
100                 depthWrite\r
101                 alphaFunc GE128\r
102         }\r
103 }\r
104 \r
105 models/players/protocol/head_off\r
106 {\r
107         cull disable\r
108         {\r
109                 map models/players/protocol/head_off.TGA\r
110                 rgbGen lightingDiffuse\r
111                 depthWrite\r
112                 alphaFunc GE128\r
113         }\r
114 }\r
115 \r
116 models/players/protocol/c3po_leg_2\r
117 {\r
118         q3map_nolightmap\r
119         q3map_onlyvertexlighting\r
120     {\r
121         map models/players/protocol/c3po_leg_2\r
122         blendFunc GL_ONE GL_ZERO\r
123         rgbGen lightingDiffuse\r
124     }\r
125     {\r
126         map gfx/effects/chr_inv\r
127         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
128         tcGen environment\r
129     }\r
130     {\r
131         map models/players/protocol/c3po_leg_s\r
132         blendFunc GL_SRC_ALPHA GL_ONE\r
133         detail\r
134         alphaGen lightingSpecular\r
135     }\r
136 }\r
137 \r
138 models/players/protocol/c3po_hand_2\r
139 {\r
140         q3map_nolightmap\r
141         q3map_onlyvertexlighting\r
142     {\r
143         map models/players/protocol/c3po_hand_2\r
144         blendFunc GL_ONE GL_ZERO\r
145         rgbGen lightingDiffuse\r
146     }\r
147     {\r
148         map gfx/effects/chr_inv\r
149         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
150         tcGen environment\r
151     }\r
152     {\r
153         map models/players/protocol/c3po_hand_s\r
154         blendFunc GL_SRC_ALPHA GL_ONE\r
155         detail\r
156         alphaGen lightingSpecular\r
157     }\r
158 }\r
159 \r
160 models/players/protocol/c3po_face_2\r
161 {\r
162         q3map_nolightmap\r
163         q3map_onlyvertexlighting\r
164     {\r
165         map models/players/protocol/c3po_face_2\r
166         blendFunc GL_ONE GL_ZERO\r
167         rgbGen lightingDiffuse\r
168     }\r
169     {\r
170         map gfx/effects/chr_inv\r
171         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
172         tcGen environment\r
173     }\r
174     {\r
175         map models/players/protocol/c3po_face_glow\r
176         blendFunc GL_ONE GL_ONE\r
177         detail\r
178     }\r
179     {\r
180         map models/players/protocol/c3po_face_s\r
181         blendFunc GL_SRC_ALPHA GL_ONE\r
182         detail\r
183         alphaGen lightingSpecular\r
184     }\r
185 }\r
186 \r
187 models/players/protocol/c3po_arm_torso_2\r
188 {\r
189         q3map_nolightmap\r
190         q3map_onlyvertexlighting\r
191     {\r
192         map models/players/protocol/c3po_arm_torso_2\r
193         blendFunc GL_ONE GL_ZERO\r
194         rgbGen lightingDiffuse\r
195     }\r
196     {\r
197         map gfx/effects/chr_inv\r
198         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
199         tcGen environment\r
200     }\r
201     {\r
202         map models/players/protocol/c3po_arm_torso_s\r
203         blendFunc GL_SRC_ALPHA GL_ONE\r
204         detail\r
205         alphaGen lightingSpecular\r
206     }\r
207 }\r
208 \r
209 models/players/droids/mouse\r
210 {\r
211         q3map_nolightmap\r
212         q3map_onlyvertexlighting\r
213     {\r
214         map models/players/droids/mouse\r
215         blendFunc GL_ONE GL_ZERO\r
216         rgbGen lightingDiffuse\r
217     }\r
218     {\r
219         map gfx/effects/chr_inv\r
220         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
221         tcGen environment\r
222     }\r
223     {\r
224         map models/players/mouse/mouse_sp\r
225         blendFunc GL_SRC_ALPHA GL_ONE\r
226         detail\r
227         alphaGen lightingSpecular\r
228     }\r
229 }\r
230 \r
231 \r
232 models/players/mouse/lens\r
233 {\r
234         q3map_nolightmap\r
235  {\r
236         map models/players/mouse/lens\r
237         blendFunc GL_ONE GL_ZERO\r
238         glow\r
239         detail\r
240         rgbGen identity\r
241     }\r
242     {\r
243         map gfx/effects/chr_inv\r
244         blendFunc GL_DST_COLOR GL_SRC_COLOR\r
245         tcGen environment\r
246     }\r
247     {\r
248         map models/weapons2/blaster_r/scope_spec\r
249         blendFunc GL_SRC_ALPHA GL_ONE\r
250         detail\r
251         alphaGen lightingSpecular\r
252     }\r
253 \r
254 }\r
255 \r