reflective water by Zombie and Urre; ruiner now uses it; reflections are enabled...
[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_reflect 0.5\r
22         dp_refract\r
23 }\r
24 \r
25 textures/water/water1\r
26 {\r
27         qer_editorimage textures/water/water1.tga\r
28         qer_trans 20\r
29         surfaceparm nomarks\r
30         surfaceparm trans\r
31         surfaceparm water\r
32         surfaceparm nolightmap\r
33         q3map_globaltexture\r
34         {\r
35                 map textures/water/water1.tga\r
36                 tcMod scroll 0.1 0.2\r
37                 tcMod turb .1 .1 0 .01\r
38                 tcmod scale .1 .1\r
39                 tcMod stretch sin 1 0.05 0.2 .0015\r
40                 tcmod rotate 0.5\r
41                 blendfunc blend\r
42         }\r
43         dp_reflect 0.5\r
44         dp_refract\r
45 }\r
46 \r
47 textures/water/water2\r
48 {\r
49         qer_editorimage textures/water/water2.tga\r
50         qer_trans 20\r
51         surfaceparm nomarks\r
52         surfaceparm trans\r
53         surfaceparm water\r
54         surfaceparm nolightmap\r
55         q3map_globaltexture\r
56         {\r
57                 map textures/water/water2.tga\r
58                 tcMod scroll 0.1 0.2\r
59                 tcMod turb .1 .1 0 .01\r
60                 tcmod scale .1 .1\r
61                 tcMod stretch sin 1 0.05 0.2 .0015\r
62                 tcmod rotate 0.5\r
63                 blendfunc blend\r
64         }\r
65         dp_reflect 0.5\r
66         dp_refract\r
67 }\r
68 \r
69 textures/water/slime1\r
70 {\r
71         qer_editorimage textures/water/slime1.tga\r
72         qer_trans 20\r
73         surfaceparm lightfilter\r
74         surfaceparm nomarks\r
75         surfaceparm trans\r
76         surfaceparm water\r
77         surfaceparm nolightmap\r
78         q3map_globaltexture\r
79         {\r
80                 map textures/water/slime1.tga\r
81                 tcMod scroll 0.1 0.2\r
82                 tcMod turb .1 .1 0 .01\r
83                 tcmod scale .1 .1\r
84                 tcMod stretch sin 1 0.05 0.2 .0015\r
85                 tcmod rotate 0.5\r
86         }\r
87         dp_reflect 0.2\r
88         dp_refract\r
89 }\r
90 \r
91 textures/water/slime2\r
92 {\r
93         qer_editorimage textures/water/slime2.tga\r
94         qer_trans 20\r
95         surfaceparm lightfilter\r
96         surfaceparm nomarks\r
97         surfaceparm trans\r
98         surfaceparm water\r
99         surfaceparm nolightmap\r
100         q3map_globaltexture\r
101         {\r
102                 map textures/water/slime2.tga\r
103                 tcMod scroll 0.1 0.2\r
104                 tcMod turb .1 .1 0 .01\r
105                 tcmod scale .1 .1\r
106                 tcMod stretch sin 1 0.05 0.2 .0015\r
107                 tcmod rotate 0.5\r
108                 blendfunc blend\r
109         }\r
110         dp_reflect 0.2\r
111         dp_refract\r
112 }\r