]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/liquids_water.shader
refactor erroring/warning
[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/water0c_reflect.tga
33         {
34                 map textures/liquids_water/water0c.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         dp_water 0.1 0.9  3 3  1 1 1  1 1 1  0.4
45 }
46
47 textures/liquids_water/water1
48 {
49         qer_editorimage textures/liquids_water/water1.tga
50         qer_trans 20
51         surfaceparm nomarks
52         surfaceparm trans
53         surfaceparm water
54         surfaceparm nolightmap
55         cull none
56         q3map_globaltexture
57         {
58                 map textures/liquids_water/water1.tga
59                 tcMod scroll 0.07 0.07
60                 tcmod scale 1.2 0.7
61                 blendfunc blend
62         }
63         dp_water 0.1 0.25  3 3  1 1 1  1 1 1  0.125
64 }
65
66 textures/liquids_water/water2
67 {
68         qer_editorimage textures/liquids_water/water2.tga
69         qer_trans 20
70         surfaceparm nomarks
71         surfaceparm trans
72         surfaceparm water
73         surfaceparm nolightmap
74         cull none
75         q3map_globaltexture
76         {
77                 map textures/liquids_water/water2.tga
78                 tcMod scroll 0.07 0.07
79                 tcmod scale 1.2 0.7
80                 blendfunc blend
81         }
82         dp_water 0.1 0.25  3 3  1 1 1  1 1 1  0.125
83 }
84
85 textures/liquids_water/ruiner_water
86 {
87         qer_editorimage textures/liquids_water/ruiner_water.jpg
88         qer_trans 0.5
89         surfaceparm noimpact
90         surfaceparm trans
91         surfaceparm nonsolid
92         surfaceparm water
93         deformVertexes wave 150.0 sin 2 5 0.25 0.1
94         Q3map_TessSize 128
95         cull none
96         {
97                 map textures/liquids_water/ruiner_water.jpg
98                 blendFunc add
99                 rgbGen identity
100         }
101 }