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