]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/map_solarium.shader
Squashed commit of the following:
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_solarium.shader
1 textures/map_solarium/waterfall
2 {
3         qer_editorimage textures/map_solarium/waterfall/water2.tga
4         qer_trans 20
5         cull disable
6         surfaceparm trans
7
8         {
9                 map textures/map_solarium/waterfall/water2.tga  
10                 tcMod scroll 0 -1.9
11                 blendfunc blend
12         
13         }
14                 dpreflectcube cubemaps/default/sky
15         {
16                 map $lightmap
17                 blendfunc add
18                 tcGen lightmap
19         }
20 }
21
22 textures/map_solarium/water4
23 {
24         qer_editorimage textures/map_solarium/water4/water4.tga
25         qer_trans 20
26         surfaceparm nomarks
27         surfaceparm trans 
28         surfaceparm water
29         surfaceparm nolightmap
30         cull none
31         q3map_globaltexture
32         tessSize 256
33
34         {
35                 map textures/map_solarium/water4/water4.tga
36                 tcmod scale 0.3 0.4
37                 tcMod scroll 0.05 0.05
38                 blendfunc add
39                 alphaGen vertex
40         }
41                 dpreflectcube cubemaps/default/sky
42         {
43                 map $lightmap
44                 blendfunc add
45                 tcGen lightmap
46         }
47         dp_water 0.1 1.2  1.4 0.7  1 1 1  1 1 1  0.1
48 }
49
50 textures/map_solarium/cubemap_glass
51 {
52         qer_editorimage textures/map_solarium/cubemap_glass/env2.tga
53         surfaceparm trans
54         cull disable
55         qer_trans 0.5
56
57         {
58                 map textures/map_solarium/cubemap_glass/env2.tga
59                 blendfunc add
60                 tcgen environment
61
62         }
63
64 }