56d1376556edbc01f775dfc5b2634bcc145583c4
[xonotic/xonotic-maps.pk3dir.git] / scripts / liquids.shader
1 // reflective water by Urre and Zombie
2
3 textures/liquids_water/water0
4 {
5         qer_editorimage textures/liquids_water/water0.tga
6         qer_trans 20
7         surfaceparm nomarks
8         surfaceparm trans
9         surfaceparm water
10         surfaceparm nolightmap
11         cull none
12         q3map_globaltexture
13         {
14                 map textures/liquids_water/water0.tga
15                 tcMod scroll 0.07 0.07
16                 tcmod scale 1.2 0.7
17                 blendfunc blend
18         }
19         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
20 }
21
22 textures/liquids_water/water1
23 {
24         qer_editorimage textures/liquids_water/water1.tga
25         qer_trans 20
26         surfaceparm nomarks
27         surfaceparm trans
28         surfaceparm water
29         surfaceparm nolightmap
30         cull none
31         q3map_globaltexture
32         {
33                 map textures/liquids_water/water1.tga
34                 tcMod scroll 0.07 0.07
35                 tcmod scale 1.2 0.7
36                 blendfunc blend
37         }
38         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
39 }
40
41 textures/liquids_water/water2
42 {
43         qer_editorimage textures/liquids_water/water2.tga
44         qer_trans 20
45         surfaceparm nomarks
46         surfaceparm trans
47         surfaceparm water
48         surfaceparm nolightmap
49         cull none
50         q3map_globaltexture
51         {
52                 map textures/liquids_water/water2.tga
53                 tcMod scroll 0.07 0.07
54                 tcmod scale 1.2 0.7
55                 blendfunc blend
56         }
57         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
58 }
59
60 textures/liquids_water/ruiner_water
61 {
62         qer_editorimage textures/liquids_water/ruiner_water.jpg
63         qer_trans 0.5
64         surfaceparm noimpact
65         surfaceparm trans
66         surfaceparm nonsolid
67         surfaceparm water
68         deformVertexes wave 150.0 sin 2 5 0.25 0.1
69         Q3map_TessSize 128
70         cull none
71         {
72                 map textures/liquids_water/ruiner_water.jpg
73                 blendFunc add
74                 rgbGen identity
75         }
76 }
77
78
79 textures/liquids_slime/slime0
80 {
81         qer_editorimage textures/liquids_slime/slime0.tga
82         qer_trans 20
83         surfaceparm nomarks
84         surfaceparm trans
85         surfaceparm slime
86         surfaceparm nolightmap
87         cull none
88         q3map_globaltexture
89         {
90                 map textures/liquids_slime/slime0.tga
91                 tcMod scroll 0.07 0.07
92                 tcmod scale 1.2 0.7
93                 blendfunc blend
94         }
95         dp_water 0.1 0.8  3 3  0.5 1 0.5  0.5 1 0.5  0.75
96 }
97
98 textures/liquids_slime/slime1
99 {
100         qer_editorimage textures/liquids_slime/slime1.tga
101         qer_trans 20
102         surfaceparm nomarks
103         surfaceparm trans
104         surfaceparm slime
105         surfaceparm nolightmap
106         cull none
107         q3map_globaltexture
108         {
109                 map textures/liquids_slime/slime1.tga
110                 tcMod scroll 0.07 0.07
111                 tcmod scale 1.2 0.7
112                 blendfunc blend
113         }
114         dp_water 0.1 0.8  3 3  1 1 0.5  1 1 0.5  0.75
115 }
116
117 textures/liquids_lava/protolava
118 {
119         qer_editorimage textures/liquids_lava/protolava.jpg
120         qer_trans 0.5
121         surfaceparm trans
122         surfaceparm nonsolid
123         surfaceparm lava
124         deformVertexes wave 150.0 sin 2 5 0.25 0.1
125         Q3map_TessSize 128
126         cull none
127         {
128                 map textures/liquids_lava/protolava.jpg
129                 blendFunc add
130                 rgbGen identity
131         }
132 }