added autoscreenshot entity, removed lightmapsamplesize parm in worldspawn, removed...
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_warfare.shader
1 textures/map_warfare/blends_earth_rock01_sand01
2 {
3         qer_editorimage textures/map_warfare/blends_earth_rock01_sand01.tga
4         
5         q3map_bounceScale  0.5
6         dpoffsetmapping - 9 match8 168
7
8         q3map_lightmapSampleOffset 8
9         q3map_nonplanar
10         q3map_shadeangle 95
11
12         q3map_alphaMod dotproduct2 ( 0 0 1 )
13
14         {
15                 map textures/phillipk2x/natural/pk02_rock01.tga // Primary
16         }
17
18         {
19                 map textures/phillipk2x/natural/pk02_sand01.tga // Secondary
20                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
21                 alphaGen vertex
22         }
23
24         {
25                 map $lightmap
26                 blendFunc GL_DST_COLOR GL_ZERO
27         }
28 }
29
30 textures/map_warfare/env
31 {
32         qer_editorimage textures/map_warfare/env.tga
33         surfaceparm trans
34         cull disable
35         qer_trans 0.5
36         {
37                 map textures/map_warfare/env.tga
38                 blendfunc GL_ONE GL_ONE
39                 tcgen environment
40                 tcmod scale 0.5 0.5
41         }
42 }
43
44 textures/map_warfare/floor_panel
45 {
46         qer_editorimage textures/map_warfare/floor_panel
47         qer_alphaFunc qequal 0.5
48
49         q3map_bounceScale  0.75
50         dpoffsetmapping - 2 match8 172
51         dpglossintensitymod  3
52         dpglossexponentmod  4
53
54         surfaceparm metalsteps
55         surfaceparm trans
56
57         polygonOffset
58         sort 6
59
60         {
61                 map textures/map_warfare/floor_panel
62                 alphaFunc GT0
63         }
64         {
65                 map $lightmap
66                 rgbGen identity
67                 tcGen lightmap
68                 blendfunc filter
69         }
70 }
71
72 textures/map_warfare/cactus
73 {
74         qer_editorimage textures/map_warfare/cactus
75         surfaceparm trans
76         surfaceparm alphashadow
77         surfaceparm nomarks
78         Cull None
79         dpglossintensitymod  3
80         dpglossexponentmod  4
81         deformVertexes wave .1 triangle 0 .25 0 .5
82         {
83                 map textures/map_warfare/cactus
84                 alphaFunc GT0
85         }
86         {
87                 map $lightmap
88                 rgbGen identity
89                 tcGen lightmap
90                 blendfunc filter
91         }
92 }
93
94 textures/map_warfare/sky
95 {
96         qer_editorimage textures/skies/exosystem
97         
98         surfaceparm noimpact
99         surfaceparm nolightmap
100         surfaceparm nodlight
101         surfaceparm nomarks
102         surfaceparm sky
103
104         q3map_sunext 1 1 1 350 60 42 3 16
105         q3map_lightmapfilterradius 0 8
106         q3map_skylight 400 4
107         skyparms env/exosystem/exosystem - -
108 }
109