]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/map_warfare.shader
Merge branch 'master' into maddin/map-warfare
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_warfare.shader
1 textures/map_warfare/rocktosoil
2 {
3         qer_editorimage textures/map_warfare/rocktosoil
4         
5         dpoffsetmapping - 2 match8 168
6         dpglossintensitymod 2
7         dpglossexponentmod 4
8         
9         q3map_bouncescale 0.75
10         q3map_lightmapsampleoffset 8
11         q3map_nonplanar
12         q3map_shadeangle 90
13         q3map_alphamod dotproduct2 ( 0 0 1 )
14         {
15                 map textures/phillipk2x/natural/pk02_rock01
16         }
17         {
18                 map textures/phillipk2x/natural/pk02_sand01
19                 blendfunc blend
20                 alphagen vertex
21         }
22         {
23                 map $lightmap
24                 blendfunc GL_DST_COLOR GL_ZERO
25         }
26 }
27
28 textures/map_warfare/env
29 {
30         qer_editorimage textures/map_warfare/env.tga
31         qer_trans 0.5
32         
33         surfaceparm trans
34         
35         cull none
36         {
37                 map textures/map_warfare/env.tga
38                 blendfunc add
39                 tcgen environment
40         }
41 }
42
43 textures/map_warfare/floor_panel
44 {
45         qer_editorimage textures/map_warfare/floor_panel
46         qer_alphafunc qequal 0.5
47     
48     dpoffsetmapping - 2 match8 172
49         dpglossintensitymod 3
50         dpglossexponentmod 4
51         
52         surfaceparm metalsteps
53         surfaceparm trans
54         surfaceparm nonsolid
55         
56         q3map_bouncescale 0.75
57
58     polygonoffset
59         {
60                 map textures/map_warfare/floor_panel
61                 alphaFunc GT0
62         }
63         {
64                 map $lightmap
65                 blendfunc filter
66         }
67 }
68
69 textures/map_warfare/sky
70 {
71         qer_editorimage textures/skies/exosystem
72         
73         surfaceparm noimpact
74         surfaceparm nolightmap
75         surfaceparm nodlight
76         surfaceparm nomarks
77         surfaceparm sky
78
79         q3map_sunext 1 1 1 350 60 42 3 16
80         q3map_lightmapfilterradius 0 8
81         q3map_skylight 400 4
82
83         skyparms env/exosystem/exosystem - -
84 }
85
86 textures/map_warfare/cactus
87 {
88         qer_editorimage textures/map_warfare/cactus
89         qer_alphafunc qequal 0.5
90     
91     dpoffsetmapping - 2 match8 68
92         dpglossintensitymod 2
93         dpglossexponentmod 4
94         
95         surfaceparm trans
96         surfaceparm nonsolid
97         
98         cull none
99         {
100                 map textures/map_warfare/cactus
101                 alphaFunc GT0
102         }
103         {
104                 map $lightmap
105                 blendfunc filter
106         }
107 }
108