fixed grate texture used in warfare to not be mipmapped (since that
[divverent/nexuiz.git] / data / scripts / kaznexctf2.shader
1 textures/kaznexctf2/small_blue\r
2 {\r
3         qer_editorimage textures/kaznexctf2/small_blue.tga\r
4         q3map_lightimage textures/kaznexctf2/small_blue_glow.tga\r
5         q3map_surfacelight 500\r
6         q3map_lightsubdivide 128\r
7         surfaceparm nomarks\r
8         {\r
9                 map textures/kaznexctf2/small_blue.tga\r
10         }\r
11         {\r
12                 map $lightmap\r
13                 blendfunc filter\r
14         }\r
15         {\r
16                 map textures/kaznexctf2/small_blue_glow.tga\r
17                 blendfunc add\r
18         }\r
19 }\r
20 \r
21 textures/kaznexctf2/small_red\r
22 {\r
23         qer_editorimage textures/kaznexctf2/small_red.tga\r
24         q3map_lightimage textures/kaznexctf2/small_red_glow.tga\r
25         q3map_surfacelight 500\r
26         q3map_lightsubdivide 128\r
27         surfaceparm nomarks\r
28         {\r
29                 map textures/kaznexctf2/small_red.tga\r
30         }\r
31         {\r
32                 map $lightmap\r
33                 blendfunc filter\r
34         }\r
35         {\r
36                 map textures/kaznexctf2/small_red_glow.tga\r
37                 blendfunc add\r
38         }\r
39 }\r
40 \r
41 textures/kaznexctf2/large_blue\r
42 {\r
43         qer_editorimage textures/kaznexctf2/large_blue.tga\r
44         q3map_lightimage textures/kaznexctf2/large_blue_glow.tga\r
45         q3map_surfacelight 500\r
46         q3map_lightsubdivide 128\r
47         surfaceparm nomarks\r
48         {\r
49                 map textures/kaznexctf2/large_blue.tga\r
50         }\r
51         {\r
52                 map $lightmap\r
53                 blendfunc filter\r
54         }\r
55         {\r
56                 map textures/kaznexctf2/large_blue_glow.tga\r
57                 blendfunc add\r
58         }\r
59 }\r
60 \r
61 textures/kaznexctf2/large_red\r
62 {\r
63         qer_editorimage textures/kaznexctf2/large_red.tga\r
64         q3map_lightimage textures/kaznexctf2/large_red_glow.tga\r
65         q3map_surfacelight 500\r
66         q3map_lightsubdivide 128\r
67         surfaceparm nomarks\r
68         {\r
69                 map textures/kaznexctf2/large_red.tga\r
70         }\r
71         {\r
72                 map $lightmap\r
73                 blendfunc filter\r
74         }\r
75         {\r
76                 map textures/kaznexctf2/large_red_glow.tga\r
77                 blendfunc add\r
78         }\r
79 }\r
80 \r
81 textures/kaznexctf2/long_light\r
82 {\r
83         qer_editorimage textures/kaznexctf2/long_light.tga\r
84         q3map_lightimage textures/kaznexctf2/long_light_glow.tga\r
85         q3map_surfacelight 1500\r
86         surfaceparm nomarks\r
87         {\r
88                 map textures/kaznexctf2/long_light.tga\r
89         }\r
90         {\r
91                 map $lightmap\r
92                 blendfunc filter\r
93         }\r
94         {\r
95                 map textures/kaznexctf2/long_light_glow.tga\r
96                 blendfunc add\r
97         }\r
98 }\r
99 \r
100 textures/kaznexctf2/small_light\r
101 {\r
102         qer_editorimage textures/kaznexctf2/small_light.tga\r
103         q3map_lightimage textures/kaznexctf2/small_light_glow.tga\r
104         q3map_surfacelight 1500\r
105         surfaceparm nomarks\r
106         {\r
107                 map textures/kaznexctf2/small_light.tga\r
108         }\r
109         {\r
110                 map $lightmap\r
111                 blendfunc filter\r
112         }\r
113         {\r
114                 map textures/kaznexctf2/small_light_glow.tga\r
115                 blendfunc add\r
116         }\r
117 }\r
118 \r
119 textures/kaznexctf2/grate\r
120 {\r
121         qer_editorimage textures/kaznexctf2/grate.tga\r
122         surfaceparm nomarks\r
123         surfaceparm trans\r
124         surfaceparm alphashadow\r
125         cull none\r
126         nopicmip\r
127         {\r
128                 map textures/kaznexctf2/grate.tga\r
129                 rgbGen identity\r
130                 depthWrite\r
131                 alphaFunc GE128\r
132         }\r
133         {\r
134                 map $lightmap\r
135                 blendfunc filter\r
136                 rgbGen identity\r
137                 tcGen lightmap\r
138                 depthFunc equal\r
139         }\r
140 }\r
141 \r
142 textures/kaznexctf2/grate2\r
143 {\r
144         qer_editorimage textures/kaznexctf2/grate2.tga\r
145         surfaceparm nomarks\r
146         surfaceparm trans\r
147         surfaceparm alphashadow\r
148         cull none\r
149         nopicmip\r
150         {\r
151                 map textures/kaznexctf2/grate2.tga\r
152                 rgbGen identity\r
153                 depthWrite\r
154                 alphaFunc GE128\r
155         }\r
156         {\r
157                 map $lightmap\r
158                 blendfunc filter\r
159                 rgbGen identity\r
160                 tcGen lightmap\r
161                 depthFunc equal\r
162         }\r
163 }
164
165 textures/kaznexctf2/grate3\r
166 {\r
167         qer_editorimage textures/kaznexctf2/grate3.tga\r
168         surfaceparm nomarks\r
169         surfaceparm trans\r
170         surfaceparm alphashadow\r
171         cull none\r
172         nopicmip\r
173         nomipmaps
174         {\r
175                 map textures/kaznexctf2/grate3.tga\r
176                 //depthWrite\r
177                 alphaFunc GT0
178                 rgbgen vertex\r
179         }\r
180 }