]> 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         
7         q3map_bouncescale  0.75
8         q3map_lightmapsampleoffset 8
9         q3map_nonplanar
10         q3map_shadeangle 90
11     q3map_alphamod dotproduct2 ( 0 0 1 )
12         {
13                 map textures/phillipk2x/natural/pk02_rock01
14         }
15         {
16                 map textures/phillipk2x/natural/pk02_sand01
17                 blendfunc blend
18                 alphagen vertex
19         }
20         {
21                 map $lightmap
22                 blendfunc GL_DST_COLOR GL_ZERO
23         }
24 }
25
26 textures/map_warfare/env
27 {
28         qer_editorimage textures/map_warfare/env.tga
29         qer_trans 0.5
30         
31         surfaceparm trans
32         
33         cull none
34         {
35                 map textures/map_warfare/env.tga
36                 blendfunc add
37                 tcgen environment
38         }
39 }
40
41 textures/map_warfare/floor_panel
42 {
43         qer_editorimage textures/map_warfare/floor_panel
44         qer_alphafunc qequal 0.5
45     
46     dpoffsetmapping - 2 match8 172
47         dpglossintensitymod  3
48         dpglossexponentmod  4
49         
50         surfaceparm metalsteps
51         surfaceparm trans
52         
53         q3map_bouncescale  0.75
54
55     polygonoffset
56         {
57                 map textures/map_warfare/floor_panel
58                 alphaFunc GT0
59         }
60         {
61                 map $lightmap
62                 blendfunc filter
63         }
64 }
65
66 textures/map_warfare/sky
67 {
68         qer_editorimage textures/skies/exosystem
69         
70         surfaceparm noimpact
71         surfaceparm nolightmap
72         surfaceparm nodlight
73         surfaceparm nomarks
74         surfaceparm sky
75
76         q3map_sunext 1 1 1 350 60 42 3 16
77         q3map_lightmapfilterradius 0 8
78         q3map_skylight 400 4
79
80         skyparms env/exosystem/exosystem - -
81 }
82