Scaled the weapon models down about 30% to match 2.5.2 sizes. Except the tuba, I...
[divverent/nexuiz.git] / data / scripts / toxic.shader
1 textures/toxic/toxic_sky
2 {
3         qer_editorimage env/green_dark/green_dark_lf.tga
4         q3map_lightimage env/green_dark/green_dark_lf.tga
5         skyParms env/green_dark/green_dark 128 -
6
7         surfaceparm noimpact
8         surfaceparm nolightmap
9         surfaceparm nomarks
10         surfaceparm sky
11
12         q3map_surfacelight 200
13 //      q3map_sunExt red green blue intensity degrees elevation deviance samples
14         q3map_sunExt 0.55 0.55 0.55 100 215 40 4 4
15 }
16
17 textures/toxic/toxic_grate
18 {
19         qer_editorimage textures/kaznexctf2/grate.tga
20         surfaceparm nomarks
21         surfaceparm trans
22         cull none
23         nopicmip
24         {
25                 map textures/kaznexctf2/grate.tga
26                 rgbGen identity
27                 depthWrite
28                 //alphaFunc GE128
29                 blendfunc blend
30         }
31         {
32                 map $lightmap 
33                 blendfunc filter
34                 rgbGen identity
35                 tcGen lightmap 
36                 depthFunc equal
37         }
38 }
39
40 textures/toxic/toxic_slime
41 {
42         qer_editorimage textures/liquids/slime2.tga
43         surfaceparm noimpact
44         surfaceparm nonsolid
45         surfaceparm slime
46         surfaceparm trans
47         cull disable
48         deformVertexes wave 150 sin 2 5 0.25 0.1
49         tessSize 128
50         qer_trans 0.5
51         q3map_surfacelight 1200
52         {
53                 map textures/liquids/slime2.tga
54                 blendfunc add
55                 rgbGen identity
56                 tcMod turb 0 0.2 0 0.04
57         }
58 }
59
60 textures/toxic/toxic_slime_tube
61 {
62         qer_editorimage textures/liquids/slime2.tga
63         surfaceparm noimpact
64         surfaceparm nonsolid
65         surfaceparm slime
66         surfaceparm trans
67         cull disable
68         //deformVertexes wave 150 sin 2 5 0.25 0.1
69         tessSize 128
70         qer_trans 0.5
71         q3map_surfacelight 1200
72         {
73                 map textures/liquids/slime2.tga
74                 blendfunc add
75                 rgbGen identity
76                 tcMod scroll 0 -0.2
77         }
78 }