]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/map_warfare.shader
small visual improvements, shader clean-up
[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_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         blendfunc filter
24     }
25 }
26
27 textures/map_warfare/env
28 {
29     qer_editorimage textures/map_warfare/env
30     qer_trans 0.5
31  
32     surfaceparm trans
33
34     cull none
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         blendfunc filter
65     }
66 }
67
68 textures/map_warfare/sky
69 {
70     qer_editorimage textures/skies/exosystem
71     
72     surfaceparm noimpact
73     surfaceparm nolightmap
74     surfaceparm nodlight
75     surfaceparm nomarks
76     surfaceparm sky
77
78     q3map_sunext 1 1 1 350 60 42 3 16
79     q3map_lightmapfilterradius 0 8
80     q3map_skylight 400 4
81
82     skyparms env/exosystem/exosystem - -
83 }
84
85 textures/map_warfare/cactus
86 {
87     qer_editorimage textures/map_warfare/cactus
88     qer_alphafunc qequal 0.5
89     
90     dpoffsetmapping - 2 match8 68
91     dpglossintensitymod 2
92     dpglossexponentmod 4
93     
94     surfaceparm trans
95     surfaceparm alphashadow
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