hlac fix: proper size for textures, smaller scope, reposition of 1st person view
[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\r
5         surfaceparm noimpact\r
6         surfaceparm nolightmap\r
7         surfaceparm nomarks\r
8         surfaceparm sky\r
9         q3map_surfacelight 200\r
10         q3map_sun 0.55 0.55 0.55 100 215 40\r
11         skyParms env/green_dark/green_dark 128 -\r
12 }\r
13 \r
14 textures/toxic/toxic_grate\r
15 {\r
16         qer_editorimage textures/kaznexctf2/grate.tga\r
17         surfaceparm nomarks\r
18         surfaceparm trans\r
19         cull none\r
20         nopicmip\r
21         {\r
22                 map textures/kaznexctf2/grate.tga\r
23                 rgbGen identity\r
24                 depthWrite\r
25                 //alphaFunc GE128\r
26                 blendfunc blend\r
27         }\r
28         {\r
29                 map $lightmap \r
30                 blendfunc filter\r
31                 rgbGen identity\r
32                 tcGen lightmap \r
33                 depthFunc equal\r
34         }\r
35 }\r
36 \r
37 textures/toxic/toxic_slime\r
38 {\r
39         qer_editorimage textures/liquids/slime2.tga\r
40         surfaceparm noimpact\r
41         surfaceparm nonsolid\r
42         surfaceparm slime\r
43         surfaceparm trans\r
44         cull disable\r
45         deformVertexes wave 150 sin 2 5 0.25 0.1\r
46         tessSize 128\r
47         qer_trans 0.5\r
48         q3map_surfacelight 1200\r
49         {\r
50                 map textures/liquids/slime2.tga\r
51                 blendfunc add\r
52                 rgbGen identity\r
53                 tcMod turb 0 0.2 0 0.04\r
54         }\r
55 }\r
56 \r
57 textures/toxic/toxic_slime_tube\r
58 {\r
59         qer_editorimage textures/liquids/slime2.tga\r
60         surfaceparm noimpact\r
61         surfaceparm nonsolid\r
62         surfaceparm slime\r
63         surfaceparm trans\r
64         cull disable\r
65         //deformVertexes wave 150 sin 2 5 0.25 0.1\r
66         tessSize 128\r
67         qer_trans 0.5\r
68         q3map_surfacelight 1200\r
69         {\r
70                 map textures/liquids/slime2.tga\r
71                 blendfunc add\r
72                 rgbGen identity\r
73                 tcMod scroll 0 -0.2\r
74         }\r
75 }\r