]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - scripts/e7.shader
rebrand nexuiz -> xonotic, will fix possible mess later
[xonotic/xonotic-data.pk3dir.git] / scripts / e7.shader
1 // e7 shaders by Yves Allaire aka evil lair//
2 //   http://www.planetquake.com/hfx       //
3 //       hfx@planetquake.com             //
4
5 //evil jump pad
6
7 textures/e7/e7brickfloor01jump
8 {
9         qer_editorimage textures/e7/e7brickfloor01jump.tga
10         q3map_lightimage textures/e7/e7brickfloor01jump_glow.tga
11         surfaceparm nomarks
12         q3map_surfacelight 400
13         
14         {
15                 map textures/e7/e7brickfloor01jump
16                 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
17         }
18         {
19                 map $lightmap
20                 blendfunc filter
21                 rgbGen identity
22                 tcGen lightmap
23         }
24
25 }
26
27 textures/e7/e7mlight
28 {
29         qer_editorimage textures/e7/e7mlight.tga
30         surfaceparm nomarks
31         q3map_surfacelight 1500
32         {
33                 map $lightmap
34                 rgbGen identity
35                 tcGen lightmap
36         }
37         {
38                 map textures/e7/e7mlight.tga
39                 blendfunc filter
40                 rgbGen identity
41         }
42 }
43
44 //small light
45
46 textures/e7/e7slight
47 {
48         qer_editorimage textures/e7/e7slight.tga
49         surfaceparm nomarks
50         q3map_surfacelight 2500
51         {
52                 map $lightmap
53                 rgbGen identity
54                 tcGen lightmap
55         }
56         {
57                 map textures/e7/e7slight.tga
58                 blendfunc filter
59                 rgbGen identity
60         }
61 }
62
63 textures/e7/e7trimlight
64 {
65         qer_editorimage textures/e7/e7trimlight.tga
66         surfaceparm nomarks
67         q3map_surfacelight 700
68         {
69                 map $lightmap
70                 rgbGen identity
71                 tcGen lightmap
72         }
73         {
74                 map textures/e7/e7trimlight.tga
75                 blendfunc filter
76                 rgbGen identity
77         }
78 }
79
80 //evilgrate
81
82 textures/e7/e7wgrate
83 {
84         qer_editorimage textures/e7/e7wgrate.tga
85         surfaceparm alphashadow
86         surfaceparm nomarks
87         surfaceparm metalsteps
88         surfaceparm trans
89         cull disable
90         nopicmip
91         {
92                 map textures/e7/e7wgrate.tga
93                 rgbGen identity
94                 depthWrite
95                 alphaFunc GE128
96         }
97         {
98                 map $lightmap
99                 blendfunc filter
100                 rgbGen identity
101                 tcGen lightmap
102                 depthFunc equal
103         }
104 }
105
106 // evil lava - sorta looks bad ingame - imho
107
108 textures/e7/e7sfx_lava
109 {
110         qer_editorimage textures/e7/e7sfx_lava.tga
111         surfaceparm lava
112         surfaceparm noimpact
113         surfaceparm nolightmap
114         surfaceparm trans
115         cull disable
116         deformVertexes wave 100 sin 3 2 0.1 0.1
117         tessSize 128
118         q3map_surfacelight 1500
119         q3map_globaltexture
120         {
121                 map textures/e7/e7sfx_lava.tga
122                 rgbGen identity
123                 tcMod turb 0 0.2 0 0.08
124         }
125 }
126
127 //evil sky of impending doom :P
128
129 textures/e7/e7evilsky_1
130 {
131         qer_editorimage textures/e7/e7evilsky_1.tga
132         surfaceparm noimpact
133         surfaceparm nolightmap
134         surfaceparm nomarks
135         q3map_surfacelight 200
136         q3map_sun 0.9 0.9 1 60 65 68
137         skyParms - 512 -
138         {
139                 map textures/e7/e7evilsky_1.tga
140                 rgbGen identity
141                 tcMod scroll 0.05 0.1
142                 tcMod scale 2 2
143         }
144         {
145                 map textures/e7/e7evilsky_2.tga
146                 blendfunc add
147                 rgbGen identity
148                 tcMod scroll 0.08 -0.06
149                 tcMod scale 3 2
150         }
151 }
152
153 textures/e7/e7rain
154 {
155         qer_editorimage textures/e7/e7rain.tga
156         surfaceparm nolightmap
157         surfaceparm nomarks
158         surfaceparm nonsolid
159         surfaceparm trans
160         cull disable
161         deformVertexes move 3 1 0 sin 0 5 0 0.2
162         deformVertexes move 0.6 3.3 0 sin 0 5 0 0.4
163         deformVertexes wave 30 sin 0 10 0 0.2
164         qer_trans 0.5
165         {
166                 map textures/e7/e7rain.tga
167                 blendfunc add
168                 rgbGen identity
169                 tcMod scroll 0.5 -8
170                 tcMod turb 0.1 0.25 0 -0.1
171         }
172         {
173                 map textures/e7/e7rain.tga
174                 blendfunc add
175                 rgbGen identity
176                 tcMod scroll 0.01 -6.3
177         }
178 }
179
180 //dark redish sky
181
182 textures/e7/e7sky_01
183 {
184         qer_editorimage textures/e7/e7sky_01.tga
185         surfaceparm noimpact
186         surfaceparm nolightmap
187         q3map_sun .9 .9 1 65 65 68
188         q3map_surfacelight 150
189         skyparms - 512 -
190         {
191                 map textures/e7/e7sky_01.tga
192                 rgbGen identity
193                 tcMod scroll 0.05 0.03
194                 tcMod scale 2 2
195         }
196         {
197                 map textures/e7/e7sky_02.tga
198                 blendfunc add
199                 rgbGen identity
200                 tcMod scroll 0.01 0.02
201                 tcMod scale 3 2
202         }
203 }
204
205 //jump pad 2
206
207 textures/e7/e7sbrickfloor_jump
208 {
209         qer_editorimage textures/e7/e7sbrickfloor_jump.tga
210         q3map_lightimage textures/e7/e7sbrickfloor_jump_glow.tga
211         surfaceparm nomarks
212         q3map_surfacelight 400
213         
214         {
215                 map textures/e7/e7sbrickfloor_jump
216                 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
217         }
218         {
219                 map $lightmap
220                 blendfunc filter
221                 rgbGen identity
222                 tcGen lightmap
223         }
224
225 }
226
227 //small grate
228
229 textures/e7/e7smgrate
230 {
231         qer_editorimage textures/e7/e7smgrate.tga
232         surfaceparm alphashadow
233         surfaceparm metalsteps
234         //surfaceparm trans
235         cull disable
236         nopicmip
237         {
238                 map textures/e7/e7smgrate.tga
239                 rgbGen identity
240                 depthWrite
241                 alphaFunc GE128
242         }
243         {
244                 map $lightmap
245                 blendfunc filter
246                 rgbGen identity
247                 tcGen lightmap
248                 depthFunc equal
249         }
250 }