File: shells.shader

package info (click to toggle)
openarena-088-data 0.8.8-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 485,592 kB
  • sloc: makefile: 142; ansic: 131; perl: 22; sh: 20
file content (259 lines) | stat: -rw-r--r-- 5,356 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
powerups/invisibility
{
	cull disable
	{
		map gfx/damage/shadow.tga
		blendfunc blend
		tcMod rotate 86
		tcGen environment 
		alphaGen wave sin 0.03 0 0 0 
	}
}

//too invisible
powerups/invisibilityOLD
{
	cull disable
	deformVertexes wave 64 sin 0 1 0 1 
	{
		map textures/oafx/inviso.tga
		blendfunc gl_dst_color gl_src_color
		tcMod rotate 53
	}
	{
		map textures/oafx/inviso.tga
		blendfunc gl_dst_color gl_src_color
		tcMod rotate -86
	}
}

smallcrossEnv
{
	// the crosses bounce with a 0.93 frequency and they're down in the 0.5 phase, but doesn't really matter since they respawn with random a start
	cull disable
	{
		map textures/effects/smallhelth
		blendfunc gl_src_alpha gl_one
		tcMod scroll 1 0.1
		tcGen environment 
		alphaGen wave sin 0.3 0.2 0.5 0
	}
	{
		map textures/effects/smallhelth_spec
		blendfunc gl_src_alpha gl_one
		tcMod scroll 1 0.1
		tcGen environment 
		alphaGen lightingSpecular
	}
}

mediumcrossEnv
{
	// the crosses bounce with a 0.93 frequency and they're down in the 0.5 phase, but doesn't really matter since they respawn with random a start
	cull disable
	{
		map textures/effects/mediumhelth
		blendfunc gl_src_alpha gl_one
		tcMod scroll 1 0.2
		tcMod scale 0.5 0.5
		tcGen environment 
		alphaGen wave sin 0.3 0.2 0.5 0
	}
	{
		map textures/effects/mediumhelth_spec
		blendfunc gl_src_alpha gl_one
		tcMod scroll 1 0.2
		tcMod scale 0.5 0.5
		tcGen environment 
		alphaGen lightingSpecular
	}
}


largecrossEnv
{
	// the crosses bounce with a 0.93 frequency and they're down in the 0.5 phase, but doesn't really matter since they respawn with random a start
	cull disable
	{
		map textures/effects/largehelth
		blendfunc gl_src_alpha gl_one
		tcMod scroll 1 0.2
		tcMod scale 0.5 0.5
		tcGen environment 
		alphaGen wave sin 0.3 0.2 0.5 0
	}
	{
		map textures/effects/largehelth_spec
		blendfunc gl_src_alpha gl_one
		tcMod scroll 1 0.2
		tcMod scale 0.5 0.5
		tcGen environment 
		alphaGen lightingSpecular
	}
}

megacrossEnv
{
	// the crosses bounce with a 0.93 frequency and they're down in the 0.5 phase, but doesn't really matter since they respawn with random a start
	cull disable
	{
		map textures/effects/megahelth
		blendfunc gl_src_alpha gl_one
		tcMod scroll 1 0.1
		tcGen environment 
		alphaGen wave sin 0.3 0.2 0.5 0
	}
	{
		map textures/effects/megahelth_spec
		blendfunc gl_src_alpha gl_one
		tcMod scroll 1 0.2
		tcGen environment 
		alphaGen lightingSpecular
	}
}

/*
powerups/quadi
{
	{
		map textures/oafx/quadmultshell.tga
		blendfunc gl_dst_color gl_src_color
		tcMod rotate 53
	}
}

powerups/quade
{
	deformVertexes wave 100 sin 0.5 0 0 0 
	{
		map textures/oafx/quadshell.tga
		blendfunc add
		tcMod rotate 75
		tcGen environment 
	}
}
*/

powerups/quad
{
	cull disable
	deformVertexes wave 100 sin 1 0 0 0 
	{
		map textures/oafx/quadmultshell
		blendfunc gl_src_alpha gl_one
		tcMod scroll 2 1
		alphaGen wave sin 0.5 0 0 0
		tcGen environment
	}
	{
		map gfx/fx/spec/spots.tga
		blendfunc gl_src_alpha gl_one
		//rgbGen const ( 0.266667 0.423529 0.658824 ) // #446ba8
		rgbGen const ( 0.30196 0.76470 1.0 ) // #4dc3ff
		tcMod scroll 2 1
		tcGen environment 
		alphaGen lightingSpecular
		detail
	}
}

powerups/quadWeapon
{
	deformVertexes wave 100 sin 1 0 0 0 
	{
		map textures/oafx/quadmultshell
		blendfunc gl_src_alpha gl_one
		tcMod scroll 2 1
		alphaGen wave sin 0.5 0 0 0
		tcGen environment 
	}
	{
		map gfx/fx/spec/spots.tga
		blendfunc gl_src_alpha gl_one
		//rgbGen const ( 0.266667 0.423529 0.658824 ) // #446ba8
		rgbGen const ( 0.30196 0.76470 1.0 ) // #4dc3ff
		tcMod scroll 2 1
		tcGen environment 
		alphaGen lightingSpecular
		detail
	}
}

/*
powerups/quadWeapong
{
	deformVertexes wave 100 sin 1 0 0 0 
	{
		map textures/oafx/quadshell.tga
		blendfunc add
		tcMod rotate 75
		tcGen environment 
	}
}
*/

powerups/battleSuit
{
	deformVertexes wave 100 sin 1 0 0 0 
	{
		map textures/oafx/suitshell
		blendfunc gl_src_alpha gl_one
		tcMod rotate 75
		tcGen environment
		alphaGen wave sin 0.5 0 0 0
	}
	{
		map gfx/fx/spec/skin.tga
		blendfunc gl_src_alpha gl_one
		//rgbGen const ( 0.74902 0.403922 0.176471 ) // #bf672d
		rgbGen const ( 1.0 0.65490 0.25882 ) // #ffa742
		tcMod scroll 0.5 0.5
		tcGen environment 
		alphaGen lightingSpecular
		detail
	}
}

powerups/battleWeapon
{
	deformVertexes wave 100 sin 1 0 0 0 
	{
		map textures/oafx/suitshell
		blendfunc gl_src_alpha gl_one
		tcMod rotate 75
		tcGen environment
		alphaGen wave sin 0.5 0 0 0
	}
	{
		map gfx/fx/spec/skin.tga
		blendfunc gl_src_alpha gl_one
		//rgbGen const ( 0.74902 0.403922 0.176471 ) // #bf672d
		rgbGen const ( 1.0 0.65490 0.25882 ) // #ffa742
		tcMod scroll 0.5 0.5
		tcGen environment 
		alphaGen lightingSpecular
		detail
	}
}

powerups/regen
{
	deformVertexes wave 100 sin 1 0 0 0 
	{
		map textures/oafx/regenshell.tga
		blendfunc gl_src_alpha gl_one
		tcMod rotate 75
		tcGen environment
		alphaGen wave sin 0.5 0 0 0
	}
	{
		map gfx/fx/spec/skin.tga
		blendfunc gl_src_alpha gl_one
		rgbGen const ( 1 0.50196 0.50196 ) // #ff8080
		tcMod scroll 0.5 0.5
		tcGen environment 
		alphaGen lightingSpecular
		detail
	}
}