Urre's modifications to the water shaders
[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.07 0.07\r
15                 tcmod scale 1.2 0.7\r
16                 blendfunc blend\r
17         }\r
18         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125\r
19 }\r
20 \r
21 textures/water/water1\r
22 {\r
23         qer_editorimage textures/water/water1.tga\r
24         qer_trans 20\r
25         surfaceparm nomarks\r
26         surfaceparm trans\r
27         surfaceparm water\r
28         surfaceparm nolightmap\r
29         q3map_globaltexture\r
30         {\r
31                 map textures/water/water1.tga\r
32                 tcMod scroll 0.07 0.07\r
33                 tcmod scale 1.2 0.7\r
34                 blendfunc blend\r
35         }\r
36         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125\r
37 }\r
38 \r
39 textures/water/water2\r
40 {\r
41         qer_editorimage textures/water/water2.tga\r
42         qer_trans 20\r
43         surfaceparm nomarks\r
44         surfaceparm trans\r
45         surfaceparm water\r
46         surfaceparm nolightmap\r
47         q3map_globaltexture\r
48         {\r
49                 map textures/water/water2.tga\r
50                 tcMod scroll 0.07 0.07\r
51                 tcmod scale 1.2 0.7\r
52                 blendfunc blend\r
53         }\r
54         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125\r
55 }\r
56 \r
57 textures/water/slime1\r
58 {\r
59         qer_editorimage textures/water/slime1.tga\r
60         qer_trans 20\r
61         surfaceparm lightfilter\r
62         surfaceparm nomarks\r
63         surfaceparm trans\r
64         surfaceparm water\r
65         surfaceparm nolightmap\r
66         q3map_globaltexture\r
67         {\r
68                 map textures/water/slime1.tga\r
69                 tcMod scroll 0.1 0.2\r
70                 tcMod turb .1 .1 0 .01\r
71                 tcmod scale .1 .1\r
72                 tcMod stretch sin 1 0.05 0.2 .0015\r
73                 tcmod rotate 0.5\r
74         }\r
75         dp_reflect 3  1 1 1 0.5\r
76 }\r
77 \r
78 textures/water/slime2\r
79 {\r
80         qer_editorimage textures/water/slime2.tga\r
81         qer_trans 20\r
82         surfaceparm lightfilter\r
83         surfaceparm nomarks\r
84         surfaceparm trans\r
85         surfaceparm water\r
86         surfaceparm nolightmap\r
87         q3map_globaltexture\r
88         {\r
89                 map textures/water/slime2.tga\r
90                 tcMod scroll 0.1 0.2\r
91                 tcMod turb .1 .1 0 .01\r
92                 tcmod scale .1 .1\r
93                 tcMod stretch sin 1 0.05 0.2 .0015\r
94                 tcmod rotate 0.5\r
95                 blendfunc blend\r
96         }\r
97         dp_reflect 3  1 1 1 0.5\r
98 }\r