Playerclips, proper hints, lightnings, more detail, cubemapped water.
[xonotic/xonotic-maps.pk3dir.git] / scripts / liquids_water.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.25  3 3  1 1 1  1 1 1  0.125
20 }
21
22 textures/liquids_water/water0_cubemap
23 {
24         qer_trans 20
25         surfaceparm nomarks
26         surfaceparm trans
27         surfaceparm water
28         surfaceparm nolightmap
29         cull none
30         q3map_globaltexture
31         qer_editorimage textures/liquids_water/water0_reflect.tga
32         {
33                 map textures/liquids_water/water0.tga
34                 tcMod turb 0 0.4 0 0.08
35                 blendfunc add
36         }
37         dpreflectcube cubemaps/default/sky
38         {
39                 map $lightmap
40                 blendfunc add
41                 tcGen lightmap
42         }
43 }
44
45 textures/liquids_water/water1
46 {
47         qer_editorimage textures/liquids_water/water1.tga
48         qer_trans 20
49         surfaceparm nomarks
50         surfaceparm trans
51         surfaceparm water
52         surfaceparm nolightmap
53         cull none
54         q3map_globaltexture
55         {
56                 map textures/liquids_water/water1.tga
57                 tcMod scroll 0.07 0.07
58                 tcmod scale 1.2 0.7
59                 blendfunc blend
60         }
61         dp_water 0.1 0.25  3 3  1 1 1  1 1 1  0.125
62 }
63
64 textures/liquids_water/water2
65 {
66         qer_editorimage textures/liquids_water/water2.tga
67         qer_trans 20
68         surfaceparm nomarks
69         surfaceparm trans
70         surfaceparm water
71         surfaceparm nolightmap
72         cull none
73         q3map_globaltexture
74         {
75                 map textures/liquids_water/water2.tga
76                 tcMod scroll 0.07 0.07
77                 tcmod scale 1.2 0.7
78                 blendfunc blend
79         }
80         dp_water 0.1 0.25  3 3  1 1 1  1 1 1  0.125
81 }
82
83 textures/liquids_water/ruiner_water
84 {
85         qer_editorimage textures/liquids_water/ruiner_water.jpg
86         qer_trans 0.5
87         surfaceparm noimpact
88         surfaceparm trans
89         surfaceparm nonsolid
90         surfaceparm water
91         deformVertexes wave 150.0 sin 2 5 0.25 0.1
92         Q3map_TessSize 128
93         cull none
94         {
95                 map textures/liquids_water/ruiner_water.jpg
96                 blendFunc add
97                 rgbGen identity
98         }
99 }