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