]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/toxic.shader
spiderbot & wakazachi media
[divverent/nexuiz.git] / data / scripts / toxic.shader
1 textures/toxic/toxic_sky\r
2 {\r
3         qer_editorimage env/green_dark/green_dark_lf.tga\r
4         q3map_lightimage env/green_dark/green_dark_lf.tga
5         skyParms env/green_dark/green_dark 128 -
6 \r
7         surfaceparm noimpact\r
8         surfaceparm nolightmap\r
9         surfaceparm nomarks\r
10         surfaceparm sky
11 \r
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\r
15 }\r
16 \r
17 textures/toxic/toxic_grate\r
18 {\r
19         qer_editorimage textures/kaznexctf2/grate.tga\r
20         surfaceparm nomarks\r
21         surfaceparm trans\r
22         cull none\r
23         nopicmip\r
24         {\r
25                 map textures/kaznexctf2/grate.tga\r
26                 rgbGen identity\r
27                 depthWrite\r
28                 //alphaFunc GE128\r
29                 blendfunc blend\r
30         }\r
31         {\r
32                 map $lightmap \r
33                 blendfunc filter\r
34                 rgbGen identity\r
35                 tcGen lightmap \r
36                 depthFunc equal\r
37         }\r
38 }\r
39 \r
40 textures/toxic/toxic_slime\r
41 {\r
42         qer_editorimage textures/liquids/slime2.tga\r
43         surfaceparm noimpact\r
44         surfaceparm nonsolid\r
45         surfaceparm slime\r
46         surfaceparm trans\r
47         cull disable\r
48         deformVertexes wave 150 sin 2 5 0.25 0.1\r
49         tessSize 128\r
50         qer_trans 0.5\r
51         q3map_surfacelight 1200\r
52         {\r
53                 map textures/liquids/slime2.tga\r
54                 blendfunc add\r
55                 rgbGen identity\r
56                 tcMod turb 0 0.2 0 0.04\r
57         }\r
58 }\r
59 \r
60 textures/toxic/toxic_slime_tube\r
61 {\r
62         qer_editorimage textures/liquids/slime2.tga\r
63         surfaceparm noimpact\r
64         surfaceparm nonsolid\r
65         surfaceparm slime\r
66         surfaceparm trans\r
67         cull disable\r
68         //deformVertexes wave 150 sin 2 5 0.25 0.1\r
69         tessSize 128\r
70         qer_trans 0.5\r
71         q3map_surfacelight 1200\r
72         {\r
73                 map textures/liquids/slime2.tga\r
74                 blendfunc add\r
75                 rgbGen identity\r
76                 tcMod scroll 0 -0.2\r
77         }\r
78 }\r