set "cull none" in water.shaders. Mappers who want to use the water* shaders are...
[divverent/nexuiz.git] / data / scripts / water.shader
1 // reflective water by Urre and Zombie\r
2 \r
3 textures/water/water0\r
4 {\r
5         qer_editorimage textures/water/water0.tga\r
6         qer_trans 20\r
7         surfaceparm nomarks\r
8         surfaceparm trans\r
9         surfaceparm water\r
10         surfaceparm nolightmap\r
11         cull none\r
12         q3map_globaltexture\r
13         {\r
14                 map textures/water/water0.tga\r
15                 tcMod scroll 0.07 0.07\r
16                 tcmod scale 1.2 0.7\r
17                 blendfunc blend\r
18         }\r
19         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125\r
20 }\r
21 \r
22 textures/water/water1\r
23 {\r
24         qer_editorimage textures/water/water1.tga\r
25         qer_trans 20\r
26         surfaceparm nomarks\r
27         surfaceparm trans\r
28         surfaceparm water\r
29         surfaceparm nolightmap\r
30         cull none\r
31         q3map_globaltexture\r
32         {\r
33                 map textures/water/water1.tga\r
34                 tcMod scroll 0.07 0.07\r
35                 tcmod scale 1.2 0.7\r
36                 blendfunc blend\r
37         }\r
38         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125\r
39 }\r
40 \r
41 textures/water/water2\r
42 {\r
43         qer_editorimage textures/water/water2.tga\r
44         qer_trans 20\r
45         surfaceparm nomarks\r
46         surfaceparm trans\r
47         surfaceparm water\r
48         surfaceparm nolightmap\r
49         cull none\r
50         q3map_globaltexture\r
51         {\r
52                 map textures/water/water2.tga\r
53                 tcMod scroll 0.07 0.07\r
54                 tcmod scale 1.2 0.7\r
55                 blendfunc blend\r
56         }\r
57         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125\r
58 }\r
59 \r
60 textures/water/slime1\r
61 {\r
62         qer_editorimage textures/water/slime1.tga\r
63         qer_trans 20\r
64         surfaceparm nomarks\r
65         surfaceparm trans\r
66         surfaceparm slime\r
67         surfaceparm nolightmap\r
68         cull none\r
69         q3map_globaltexture\r
70         {\r
71                 map textures/water/slime1.tga\r
72                 tcMod scroll 0.07 0.07\r
73                 tcmod scale 1.2 0.7\r
74                 blendfunc blend\r
75         }\r
76         dp_water 0.1 0.8  3 3  0.5 1 0.5  0.5 1 0.5  0.75\r
77 }\r
78 \r
79 textures/water/slime2\r
80 {\r
81         qer_editorimage textures/water/slime1.tga\r
82         qer_trans 20\r
83         surfaceparm nomarks\r
84         surfaceparm trans\r
85         surfaceparm slime\r
86         surfaceparm nolightmap\r
87         cull none\r
88         q3map_globaltexture\r
89         {\r
90                 map textures/water/slime1.tga\r
91                 tcMod scroll 0.07 0.07\r
92                 tcmod scale 1.2 0.7\r
93                 blendfunc blend\r
94         }\r
95         dp_water 0.1 0.8  3 3  1 1 0.5  1 1 0.5  0.75\r
96 }\r