]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/terrain_dotproduct2.shader
Actually, it seems ok to bump the prey position on scale to 8... no view poking out
[voretournament/voretournament.git] / data / scripts / terrain_dotproduct2.shader
1 // ======================================================================\r
2 // DotProduct2 Terrain blending\r
3 // ======================================================================\r
4 \r
5 textures/terrain_dotproduct2/leafs01-rock02\r
6 {\r
7         qer_editorimage textures/terrain_dotproduct2/leafs01-rock02\r
8         \r
9         q3map_lightmapSampleOffset 8\r
10         q3map_globalTexture\r
11         q3map_nonplanar\r
12         q3map_shadeangle 95\r
13 \r
14         surfaceparm dust\r
15 \r
16         q3map_alphaMod dotproduct2 ( 0 0 0.95 )\r
17 \r
18         {\r
19                 map textures/terrain_data/rock02.tga    // Primary\r
20         }\r
21 \r
22         {\r
23                 map textures/terrain_data/leafs01.tga   // Secondary\r
24                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
25                 alphaGen vertex\r
26         }\r
27 \r
28         {\r
29                 map $lightmap\r
30                 blendFunc GL_DST_COLOR GL_ZERO\r
31         }\r
32 }\r
33 \r
34 textures/terrain_dotproduct2/mudground01_rock01 \r
35 {\r
36         qer_editorimage textures/terrain_dotproduct2/mudground01_rock01\r
37         \r
38         q3map_lightmapSampleOffset 8\r
39         q3map_globalTexture\r
40         q3map_nonplanar\r
41         q3map_shadeangle 60\r
42 \r
43         surfaceparm dust\r
44 \r
45         q3map_alphaMod dotproduct2 ( 0 0 0.95 )\r
46 \r
47         {\r
48                 map textures/terrain_data/rock01.tga    // Primary\r
49         }\r
50 \r
51         {\r
52                 map textures/terrain_data/mudground01.tga       // Secondary\r
53                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
54                 alphaGen vertex\r
55         }\r
56 \r
57         {\r
58                 map $lightmap\r
59                 blendFunc GL_DST_COLOR GL_ZERO\r
60         }\r
61 }\r
62 \r
63 textures/terrain_dotproduct2/mudground02-rock06\r
64 {\r
65         qer_editorimage textures/terrain_dotproduct2/mudground02-rock06\r
66         \r
67         q3map_lightmapSampleOffset 8\r
68         q3map_globalTexture\r
69         q3map_nonplanar\r
70         q3map_shadeangle 66\r
71 \r
72         surfaceparm dust\r
73 \r
74         q3map_alphaMod dotproduct2 ( 0 0 0.95 )\r
75 \r
76         {\r
77                 map textures/terrain_data/rock06.tga    // Primary\r
78         }\r
79 \r
80         {\r
81                 map textures/terrain_data/mudground02.tga       // Secondary\r
82                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
83                 alphaGen vertex\r
84         }\r
85 \r
86         {\r
87                 map $lightmap\r
88                 blendFunc GL_DST_COLOR GL_ZERO\r
89         }\r
90 }\r
91 \r
92 textures/terrain_dotproduct2/sand-rock07\r
93 {\r
94         qer_editorimage textures/terrain_dotproduct2/sand-rock07\r
95         \r
96         q3map_lightmapSampleOffset 8\r
97         q3map_globalTexture\r
98         q3map_nonplanar\r
99         q3map_shadeangle 90\r
100 \r
101         surfaceparm dust\r
102 \r
103         q3map_alphaMod dotproduct2 ( 0 0 0.8 )\r
104 \r
105         {\r
106                 map textures/terrain_data/rock07.tga    // Primary\r
107         }\r
108 \r
109         {\r
110                 map textures/terrain_data/sand.tga      // Secondary\r
111                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
112                 alphaGen vertex\r
113         }\r
114 \r
115         {\r
116                 map $lightmap\r
117                 blendFunc GL_DST_COLOR GL_ZERO\r
118         }\r
119 }\r
120 \r
121 textures/terrain_dotproduct2/snow-rock05\r
122 {\r
123         qer_editorimage textures/terrain_dotproduct2/snow-rock05\r
124         \r
125         q3map_lightmapSampleOffset 8\r
126         q3map_globalTexture\r
127         q3map_nonplanar\r
128         q3map_shadeangle 75\r
129 \r
130         surfaceparm dust\r
131 \r
132         q3map_alphaMod dotproduct2 ( 0 0 0.8 )\r
133 \r
134         {\r
135                 map textures/terrain_data/rock05.tga    // Primary\r
136         }\r
137 \r
138         {\r
139                 map textures/terrain_data/snow01.tga    // Secondary\r
140                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
141                 alphaGen vertex\r
142         }\r
143 \r
144         {\r
145                 map $lightmap\r
146                 blendFunc GL_DST_COLOR GL_ZERO\r
147         }\r
148 }\r
149 \r
150 textures/terrain_dotproduct2/mossrock02-mudground04\r
151 {\r
152         qer_editorimage textures/terrain_dotproduct2/mossrock02-mudground04\r
153         \r
154         q3map_lightmapSampleOffset 8\r
155         q3map_globalTexture\r
156         q3map_nonplanar\r
157         q3map_shadeangle 90\r
158 \r
159         surfaceparm dust\r
160 \r
161         q3map_alphaMod dotproduct2 ( 0.2 0.5 0.9 )\r
162 \r
163         {\r
164                 map textures/terrain_data/mudground04.tga       // Primary\r
165         }\r
166 \r
167         {\r
168                 map textures/terrain_data/mossrock02.tga        // Secondary\r
169                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
170                 alphaGen vertex\r
171         }\r
172 \r
173         {\r
174                 map $lightmap\r
175                 blendFunc GL_DST_COLOR GL_ZERO\r
176         }\r
177 }\r
178 \r
179 textures/terrain_dotproduct2/grass01-rock05\r
180 {\r
181         qer_editorimage textures/terrain_dotproduct2/grass01-rock05\r
182         \r
183         q3map_lightmapSampleOffset 8\r
184         q3map_globalTexture\r
185         q3map_nonplanar\r
186         q3map_shadeangle 90\r
187 \r
188         surfaceparm dust\r
189 \r
190         q3map_alphaMod dotproduct2 ( 0.0 0.0 0.9 )\r
191 \r
192         {\r
193                 map textures/terrain_data/rock05.tga    // Primary\r
194         }\r
195 \r
196         {\r
197                 map textures/terrain_data/grass01.tga   // Secondary\r
198                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
199                 alphaGen vertex\r
200         }\r
201 \r
202         {\r
203                 map $lightmap\r
204                 blendFunc GL_DST_COLOR GL_ZERO\r
205         }\r
206 }\r
207 \r