for some reason, ruiner had twice the water as it should have... un-ruined
[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         q3map_globaltexture\r
12         {\r
13                 map textures/water/water0.tga\r
14                 tcMod scroll 0.1 0.2\r
15                 tcMod turb .1 .1 0 .01\r
16                 tcmod scale .1 .1\r
17                 tcMod stretch sin 1 0.05 0.2 .0015\r
18                 tcmod rotate 0.5\r
19                 blendfunc blend\r
20         }\r
21         dp_water 0.4 0.9  3 3  1 1 1  1 1 1\r
22 }\r
23 \r
24 textures/water/water1\r
25 {\r
26         qer_editorimage textures/water/water1.tga\r
27         qer_trans 20\r
28         surfaceparm nomarks\r
29         surfaceparm trans\r
30         surfaceparm water\r
31         surfaceparm nolightmap\r
32         q3map_globaltexture\r
33         {\r
34                 map textures/water/water1.tga\r
35                 tcMod scroll 0.1 0.2\r
36                 tcMod turb .1 .1 0 .01\r
37                 tcmod scale .1 .1\r
38                 tcMod stretch sin 1 0.05 0.2 .0015\r
39                 tcmod rotate 0.5\r
40                 blendfunc blend\r
41         }\r
42         dp_water 0.4 0.9  3 3  1 1 1  1 1 1\r
43 }\r
44 \r
45 textures/water/water2\r
46 {\r
47         qer_editorimage textures/water/water2.tga\r
48         qer_trans 20\r
49         surfaceparm nomarks\r
50         surfaceparm trans\r
51         surfaceparm water\r
52         surfaceparm nolightmap\r
53         q3map_globaltexture\r
54         {\r
55                 map textures/water/water2.tga\r
56                 tcMod scroll 0.1 0.2\r
57                 tcMod turb .1 .1 0 .01\r
58                 tcmod scale .1 .1\r
59                 tcMod stretch sin 1 0.05 0.2 .0015\r
60                 tcmod rotate 0.5\r
61                 blendfunc blend\r
62         }\r
63         dp_water 0.4 0.9  3 3  1 1 1  1 1 1\r
64 }\r
65 \r
66 textures/water/slime1\r
67 {\r
68         qer_editorimage textures/water/slime1.tga\r
69         qer_trans 20\r
70         surfaceparm lightfilter\r
71         surfaceparm nomarks\r
72         surfaceparm trans\r
73         surfaceparm water\r
74         surfaceparm nolightmap\r
75         q3map_globaltexture\r
76         {\r
77                 map textures/water/slime1.tga\r
78                 tcMod scroll 0.1 0.2\r
79                 tcMod turb .1 .1 0 .01\r
80                 tcmod scale .1 .1\r
81                 tcMod stretch sin 1 0.05 0.2 .0015\r
82                 tcmod rotate 0.5\r
83         }\r
84         dp_reflect 3  1 1 1 0.5\r
85 }\r
86 \r
87 textures/water/slime2\r
88 {\r
89         qer_editorimage textures/water/slime2.tga\r
90         qer_trans 20\r
91         surfaceparm lightfilter\r
92         surfaceparm nomarks\r
93         surfaceparm trans\r
94         surfaceparm water\r
95         surfaceparm nolightmap\r
96         q3map_globaltexture\r
97         {\r
98                 map textures/water/slime2.tga\r
99                 tcMod scroll 0.1 0.2\r
100                 tcMod turb .1 .1 0 .01\r
101                 tcmod scale .1 .1\r
102                 tcMod stretch sin 1 0.05 0.2 .0015\r
103                 tcmod rotate 0.5\r
104                 blendfunc blend\r
105         }\r
106         dp_reflect 3  1 1 1 0.5\r
107 }\r