File: e7.shader

package info (click to toggle)
nexuiz-data 2.5.2-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,294,288 kB
  • sloc: ansic: 10,523; perl: 6,845; sh: 2,188; java: 1,417; xml: 969; lisp: 519; ruby: 136; makefile: 125
file content (250 lines) | stat: -rw-r--r-- 4,630 bytes parent folder | download | duplicates (6)
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
// e7 shaders by Yves Allaire aka evil lair//
//   http://www.planetquake.com/hfx       //
//       hfx@planetquake.com             //

//evil jump pad

textures/e7/e7brickfloor01jump
{
	qer_editorimage textures/e7/e7brickfloor01jump.tga
	q3map_lightimage textures/e7/e7brickfloor01jump_glow.tga
	surfaceparm nomarks
	q3map_surfacelight 400
	
	{
		map textures/e7/e7brickfloor01jump
		animmap 10 textures/e7/e7brickfloor01jump textures/e7/e7brickfloor01jump-1 textures/e7/e7brickfloor01jump-2 textures/e7/e7brickfloor01jump-3 textures/e7/e7brickfloor01jump-4 textures/e7/e7brickfloor01jump-5 textures/e7/e7brickfloor01jump-6 textures/e7/e7brickfloor01jump-7
	}
	{
		map $lightmap
		blendfunc filter
		rgbGen identity
		tcGen lightmap
	}

}

textures/e7/e7mlight
{
	qer_editorimage textures/e7/e7mlight.tga
	surfaceparm nomarks
	q3map_surfacelight 1500
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/e7/e7mlight.tga
		blendfunc filter
		rgbGen identity
	}
}

//small light

textures/e7/e7slight
{
	qer_editorimage textures/e7/e7slight.tga
	surfaceparm nomarks
	q3map_surfacelight 2500
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/e7/e7slight.tga
		blendfunc filter
		rgbGen identity
	}
}

textures/e7/e7trimlight
{
	qer_editorimage textures/e7/e7trimlight.tga
	surfaceparm nomarks
	q3map_surfacelight 700
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
	}
	{
		map textures/e7/e7trimlight.tga
		blendfunc filter
		rgbGen identity
	}
}

//evilgrate

textures/e7/e7wgrate
{
	qer_editorimage textures/e7/e7wgrate.tga
	surfaceparm alphashadow
	surfaceparm nomarks
	surfaceparm metalsteps
	surfaceparm trans
	cull disable
	nopicmip
	{
		map textures/e7/e7wgrate.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap
		blendfunc filter
		rgbGen identity
		tcGen lightmap
		depthFunc equal
	}
}

// evil lava - sorta looks bad ingame - imho

textures/e7/e7sfx_lava
{
	qer_editorimage textures/e7/e7sfx_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 100 sin 3 2 0.1 0.1
	tessSize 128
	q3map_surfacelight 1500
	q3map_globaltexture
	{
		map textures/e7/e7sfx_lava.tga
		rgbGen identity
		tcMod turb 0 0.2 0 0.08
	}
}

//evil sky of impending doom :P

textures/e7/e7evilsky_1
{
	qer_editorimage textures/e7/e7evilsky_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nomarks
	q3map_surfacelight 200
	q3map_sun 0.9 0.9 1 60 65 68
	skyParms - 512 -
	{
		map textures/e7/e7evilsky_1.tga
		rgbGen identity
		tcMod scroll 0.05 0.1
		tcMod scale 2 2
	}
	{
		map textures/e7/e7evilsky_2.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.08 -0.06
		tcMod scale 3 2
	}
}

textures/e7/e7rain
{
	qer_editorimage textures/e7/e7rain.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	cull disable
	deformVertexes move 3 1 0 sin 0 5 0 0.2
	deformVertexes move 0.6 3.3 0 sin 0 5 0 0.4
	deformVertexes wave 30 sin 0 10 0 0.2
	qer_trans 0.5
	{
		map textures/e7/e7rain.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.5 -8
		tcMod turb 0.1 0.25 0 -0.1
	}
	{
		map textures/e7/e7rain.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.01 -6.3
	}
}

//dark redish sky

textures/e7/e7sky_01
{
	qer_editorimage textures/e7/e7sky_01.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	q3map_sun .9 .9 1 65 65 68
	q3map_surfacelight 150
	skyparms - 512 -
	{
		map textures/e7/e7sky_01.tga
		rgbGen identity
		tcMod scroll 0.05 0.03
		tcMod scale 2 2
	}
	{
		map textures/e7/e7sky_02.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.01 0.02
		tcMod scale 3 2
	}
}

//jump pad 2

textures/e7/e7sbrickfloor_jump
{
	qer_editorimage textures/e7/e7sbrickfloor_jump.tga
	q3map_lightimage textures/e7/e7sbrickfloor_jump_glow.tga
	surfaceparm nomarks
	q3map_surfacelight 400
	
	{
		map textures/e7/e7sbrickfloor_jump
		animmap 10 textures/e7/e7sbrickfloor_jump textures/e7/e7sbrickfloor_jump-1 textures/e7/e7sbrickfloor_jump-2 textures/e7/e7sbrickfloor_jump-3 textures/e7/e7sbrickfloor_jump-4 textures/e7/e7sbrickfloor_jump-5 textures/e7/e7sbrickfloor_jump-6 textures/e7/e7sbrickfloor_jump-7
	}
	{
		map $lightmap
		blendfunc filter
		rgbGen identity
		tcGen lightmap
	}

}

//small grate

textures/e7/e7smgrate
{
	qer_editorimage textures/e7/e7smgrate.tga
	surfaceparm alphashadow
	surfaceparm metalsteps
	//surfaceparm trans
	cull disable
	nopicmip
	{
		map textures/e7/e7smgrate.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap
		blendfunc filter
		rgbGen identity
		tcGen lightmap
		depthFunc equal
	}
}