blob: ff306cd35b187f7af75b377e6ce8ba50b3263c9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
//deep ocean
textures/misc/dark_water
{
{
map textures/misc/dark_water.tga
tcMod rotate 1
}
{
map textures/misc/caustic.tga
blendfunc add
rgbGen wave sin 0 1 0 0.05
tcMod scale 0.5 0.5
tcMod rotate 1
}
{
map textures/misc/caustic.tga
blendfunc add
rgbGen wave sin 0 1 0 -0.05
tcMod scale -0.5 -0.5
tcMod rotate 1
}
}
//tank bubbles
textures/misc/bubbles
{
cull disable
{
map textures/misc/bubbles.tga
blendfunc add
rgbGen wave noise 0 1 0 0.02
tcMod scroll -0.01 0.05
tcMod scale 2 2
}
{
map textures/misc/bubbles.tga
blendfunc add
rgbGen wave noise 0 1 0 0.02
tcMod scroll 0.01 0.02
tcMod scale -2 2
}
}
//foamy water top
textures/misc/foam
{
surfaceparm nonsolid
surfaceparm trans
surfaceparm water
deformVertexes wave 128 sin 0 5 6 0.5
tessSize 32
cull disable
{
map textures/misc/foam.tga
blendfunc add
}
}
|